public abstract class AbstractSessionImpl extends Object implements Session
| Modifier and Type | Class and Description |
|---|---|
static interface |
AbstractSessionImpl.DisposeListener |
Session.SessionListener| Constructor and Description |
|---|
AbstractSessionImpl(UserInformation userInformation,
Map<String,String> properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDisposeListener(AbstractSessionImpl.DisposeListener disposeListener) |
void |
addSessionListener(Session.SessionListener listener) |
void |
dispose() |
protected void |
firePrivilegeChange() |
Set<String> |
getPrivileges() |
Map<String,String> |
getProperties()
Get the session properties
|
UserInformation |
getUserInformation() |
void |
removeDisposeListener(AbstractSessionImpl.DisposeListener disposeListener) |
void |
removeSessionListener(Session.SessionListener listener) |
void |
setPrivileges(Set<String> privileges) |
CallbackHandler |
wrapCallbackHandler(CallbackHandler callbackHandler) |
public AbstractSessionImpl(UserInformation userInformation, Map<String,String> properties)
public Map<String,String> getProperties()
SessionThis method must actually return a copy of the session properties or an unmodifiable instance.
getProperties in interface Sessionpublic UserInformation getUserInformation()
public void dispose()
public void addDisposeListener(AbstractSessionImpl.DisposeListener disposeListener)
public void removeDisposeListener(AbstractSessionImpl.DisposeListener disposeListener)
public void addSessionListener(Session.SessionListener listener)
addSessionListener in interface Sessionpublic void removeSessionListener(Session.SessionListener listener)
removeSessionListener in interface Sessionprotected void firePrivilegeChange()
public Set<String> getPrivileges()
getPrivileges in interface Sessionpublic CallbackHandler wrapCallbackHandler(CallbackHandler callbackHandler)
callbackHandler -