git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/application-support-layer/applicationSupportLayerCore@59784 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
e027d23558
commit
e42b1e0a6a
|
@ -10,6 +10,7 @@ import org.gcube.application.framework.accesslogger.model.LoginToVreAccessLogEnt
|
||||||
import org.gcube.application.framework.core.cache.CachesManager;
|
import org.gcube.application.framework.core.cache.CachesManager;
|
||||||
import org.gcube.application.framework.core.security.PortalSecurityManager;
|
import org.gcube.application.framework.core.security.PortalSecurityManager;
|
||||||
import org.gcube.application.framework.core.util.ASLGroupModel;
|
import org.gcube.application.framework.core.util.ASLGroupModel;
|
||||||
|
import org.gcube.application.framework.core.util.GenderType;
|
||||||
import org.gcube.application.framework.core.util.SessionConstants;
|
import org.gcube.application.framework.core.util.SessionConstants;
|
||||||
import org.gcube.application.framework.core.util.UserCredential;
|
import org.gcube.application.framework.core.util.UserCredential;
|
||||||
import org.gcube.common.core.scope.GCUBEScope;
|
import org.gcube.common.core.scope.GCUBEScope;
|
||||||
|
@ -36,6 +37,11 @@ public class ASLSession{
|
||||||
private ASLGroupModel groupModel;
|
private ASLGroupModel groupModel;
|
||||||
private boolean loggedIn = false;
|
private boolean loggedIn = false;
|
||||||
|
|
||||||
|
private String userEmailAddress;
|
||||||
|
private String fullName;
|
||||||
|
private String avatarId;
|
||||||
|
private GenderType gender;
|
||||||
|
|
||||||
|
|
||||||
// ACCESS LOGGER
|
// ACCESS LOGGER
|
||||||
AccessLogger accessLogger = AccessLogger.getAccessLogger();
|
AccessLogger accessLogger = AccessLogger.getAccessLogger();
|
||||||
|
@ -300,4 +306,36 @@ public class ASLSession{
|
||||||
public String getGroupName() {
|
public String getGroupName() {
|
||||||
return groupModel.getGroupName();
|
return groupModel.getGroupName();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setUserEmailAddress(String email) {
|
||||||
|
this.userEmailAddress = email;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUserEmailAddress() {
|
||||||
|
return this.userEmailAddress;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUserFullName(String fullName) {
|
||||||
|
this.fullName = fullName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUserFullName() {
|
||||||
|
return this.fullName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUserAvatarId(String avatarId) {
|
||||||
|
this.avatarId = avatarId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUserAvatarId() {
|
||||||
|
return this.avatarId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUserGender(GenderType gender) {
|
||||||
|
this.gender = gender;
|
||||||
|
}
|
||||||
|
|
||||||
|
public GenderType getUserGender() {
|
||||||
|
return this.gender;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue