| com.ivata.groupware.admin.security.server.SecuritySession
All known Subclasses: com.ivata.groupware.admin.security.server.AbstractSecuritySession, com.ivata.groupware.admin.security.server.TestSecuritySession,
SecuritySession | public interface SecuritySession extends Serializable(Code) | | Represents a user's session, and is used to authenticate her actions
throughout the system. You must define a class which implements
this interface and which will be returned by
SessionServer.login .
author: Colin MacLeod author: colin.macleod@ivata.com |
Method Summary | |
Serializable | getAttribute(String name)
The security session can also be used as a container for items which
should persist as long as the user is logged in.
Parameters: name - name of the attribute to retrieve. | PicoContainer | getContainer()
Get the pico container used to access objects for this session. | String | getPassword() | UserDO | getUser()
Get the user who logged in to this security session. | boolean | isGuest()
Find out whether or not this is the guest user. | void | setAttribute(String name, Serializable value)
The security session can also be used as a container for items which
should persist as long as the user is logged in. |
getAttribute | Serializable getAttribute(String name)(Code) | |
The security session can also be used as a container for items which
should persist as long as the user is logged in.
Parameters: name - name of the attribute to retrieve. value for this attribute. |
getContainer | PicoContainer getContainer()(Code) | |
Get the pico container used to access objects for this session.
valid pico container. |
getPassword | String getPassword()(Code) | | Get the password associated with this session.
(I'd rather not store
the password in the sesssion, but Cyrus IMAP needs
it.)
password. |
getUser | UserDO getUser()(Code) | |
Get the user who logged in to this security session.
user who logged in to this security session. |
isGuest | boolean isGuest()(Code) | |
Find out whether or not this is the guest user.
true if this is a guest, otherwisefalse . |
setAttribute | void setAttribute(String name, Serializable value)(Code) | |
The security session can also be used as a container for items which
should persist as long as the user is logged in.
Parameters: name - name of the attribute to set. Parameters: value - value for this attribute. |
|
|