org.glassfish.web.ha.session.management
Interface HASession

All Superinterfaces:
Session
All Known Implementing Classes:
BaseHASession, FullHASession, ModifiedAttributeHASession, ModifiedHASession

public interface HASession
extends Session

Author:
lwhite, Rajiv Mordani

Field Summary
 
Fields inherited from interface org.apache.catalina.Session
SESSION_CREATED_EVENT, SESSION_DESTROYED_EVENT
 
Method Summary
 java.lang.String getSsoId()
          this returns the ssoId
 java.lang.String getUserName()
          this returns the user name
 long incrementVersion()
           
 boolean isDirty()
          this returns the dirty flag
 boolean isPersistent()
           
 void setDirty(boolean value)
          this sets the dirty flag
 void setPersistent(boolean value)
           
 void setSsoId(java.lang.String ssoId)
          this sets the ssoId
 void setUserName(java.lang.String userName)
          this sets the user name
 void setVersion(long value)
           
 void sync()
           
 
Methods inherited from interface org.apache.catalina.Session
access, addSessionListener, endAccess, expire, getAttributes, getAuthType, getCreationTime, getId, getIdInternal, getInfo, getIsValid, getLastAccessedTime, getManager, getMaxInactiveInterval, getNote, getNoteNames, getPrincipal, getSession, getVersion, hasExpired, isValid, lockForeground, recycle, removeNote, removeSessionListener, setAuthType, setCreationTime, setId, setManager, setMaxInactiveInterval, setNew, setNote, setPrincipal, setValid, unlockForeground
 

Method Detail

isDirty

boolean isDirty()
this returns the dirty flag


setDirty

void setDirty(boolean value)
this sets the dirty flag

Parameters:
value -

setSsoId

void setSsoId(java.lang.String ssoId)
this sets the ssoId

Specified by:
setSsoId in interface Session
Parameters:
ssoId -

getSsoId

java.lang.String getSsoId()
this returns the ssoId

Specified by:
getSsoId in interface Session

getUserName

java.lang.String getUserName()
this returns the user name


setUserName

void setUserName(java.lang.String userName)
this sets the user name

Parameters:
userName -

sync

void sync()

incrementVersion

long incrementVersion()

setVersion

void setVersion(long value)

isPersistent

boolean isPersistent()

setPersistent

void setPersistent(boolean value)


Copyright © 2012 GlassFish Community. All Rights Reserved.