From e42b1e0a6a8548eafc78eeedab217e94d86702ed Mon Sep 17 00:00:00 2001 From: Rena Tsantouli Date: Tue, 16 Oct 2012 12:49:57 +0000 Subject: [PATCH] git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/application-support-layer/applicationSupportLayerCore@59784 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../framework/core/session/ASLSession.java | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) 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; + } }