diff --git a/src/main/java/org/gcube/application/framework/core/session/ASLSession.java b/src/main/java/org/gcube/application/framework/core/session/ASLSession.java index 0bf89e5..bf2bbaa 100644 --- a/src/main/java/org/gcube/application/framework/core/session/ASLSession.java +++ b/src/main/java/org/gcube/application/framework/core/session/ASLSession.java @@ -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.security.PortalSecurityManager; 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.UserCredential; import org.gcube.common.core.scope.GCUBEScope; @@ -36,6 +37,11 @@ public class ASLSession{ private ASLGroupModel groupModel; private boolean loggedIn = false; + private String userEmailAddress; + private String fullName; + private String avatarId; + private GenderType gender; + // ACCESS LOGGER AccessLogger accessLogger = AccessLogger.getAccessLogger(); @@ -300,4 +306,36 @@ public class ASLSession{ public String 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; + } }