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 3708b46..8121049 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 @@ -28,20 +28,19 @@ import org.w3c.dom.NodeList; //import org.gridforum.jgss.ExtendedGSSCredential; /** + * ASLSession is deprecated. Do all handling through HttpSession instead + * * @author Valia Tsagkalidou (NKUA) - * */ +@Deprecated public class ASLSession{ - /** - * - */ private static final long serialVersionUID = 1L; + private HashMap innerSession; private long lastUsedTime; private String externalSessionID; private String username; -// private ExtendedGSSCredential credential; private String parentScope; private String scope; private String securityToken; @@ -206,9 +205,12 @@ public class ASLSession{ } /** + * ASLSession is deprecated. Should not store attributes here. + * * @param name the name of the attribute * @return the value of the named attribute */ + @Deprecated public Object getAttribute(String name) { lastUsedTime = System.currentTimeMillis(); @@ -216,9 +218,12 @@ public class ASLSession{ } /** + * ASLSession is deprecated. Should not store attributes here. + * * @param name the name of the attribute * @param value the value of the attribute */ + @Deprecated public void setAttribute(String name, Object value) { lastUsedTime = System.currentTimeMillis(); @@ -230,10 +235,14 @@ public class ASLSession{ } /** - * Removes the named attribute from the session + * + * ASLSession is deprecated. Should not store attributes here. + * + * * @param name the name of the attribute * @return the removed object */ + @Deprecated public Object removeAttribute(String name) { lastUsedTime = System.currentTimeMillis();