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()
Session
This method must actually return a copy of the session properties or an unmodifiable instance.
getProperties
in interface Session
public 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 Session
public void removeSessionListener(Session.SessionListener listener)
removeSessionListener
in interface Session
protected void firePrivilegeChange()
public Set<String> getPrivileges()
getPrivileges
in interface Session
public CallbackHandler wrapCallbackHandler(CallbackHandler callbackHandler)
callbackHandler
-