Rena Tsantouli 2012-08-20 10:27:17 +00:00
parent b5bda0c2a9
commit b63e1ceef7
1 changed files with 38 additions and 0 deletions

View File

@ -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;
}
}