AslSession is now deprecated.
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/application-support-layer/applicationSupportLayerCore@129645 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
cb330a1490
commit
ded16e3bf3
|
@ -28,20 +28,19 @@ import org.w3c.dom.NodeList;
|
|||
//import org.gridforum.jgss.ExtendedGSSCredential;
|
||||
|
||||
/**
|
||||
* @author Valia Tsagkalidou (NKUA)
|
||||
* 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<String, Object> 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{
|
|||
}
|
||||
|
||||
/**
|
||||
* <b>ASLSession is deprecated. Should not store attributes here.</b>
|
||||
*
|
||||
* @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{
|
|||
}
|
||||
|
||||
/**
|
||||
* <b>ASLSession is deprecated. Should not store attributes here.</b>
|
||||
*
|
||||
* @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
|
||||
*
|
||||
* <b>ASLSession is deprecated. Should not store attributes here.</b>
|
||||
*
|
||||
*
|
||||
* @param name the name of the attribute
|
||||
* @return the removed object
|
||||
*/
|
||||
@Deprecated
|
||||
public Object removeAttribute(String name)
|
||||
{
|
||||
lastUsedTime = System.currentTimeMillis();
|
||||
|
|
Loading…
Reference in New Issue