All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.rbmhtechnology.vind.monitoring.model.session.UserSession Maven / Gradle / Ivy

There is a newer version: 3.2.0
Show newest version
package com.rbmhtechnology.vind.monitoring.model.session;

import com.rbmhtechnology.vind.monitoring.model.user.User;

/**
 * @author Thomas Kurz ([email protected])
 * @since 18.07.16.
 */
public class UserSession extends SimpleSession {

    private User user;

    public UserSession(String sessionId, User user) {
        super(sessionId);
        this.user = user;
    }

    public User getUser() {
        return user;
    }

    @Override
    public String getSessionId(){
        return user.getName();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy