|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides an interface for all objects returned by the SessionManager that can be authenticated. All such objects are of type Authenticatable.
Field Summary | |
static java.lang.String |
IS_AUTHENTICATED_ATTR_ID
Attribute id describing the state of a Session. |
static java.lang.String |
USER_NAME_ATTR_ID
Attribute id describing the user name of an Authenticatable Session. |
Method Summary | |
void |
authenticate()
Deprecated. Use com.novell.java.security and related packages. Authenticate the object by using it's parent's credentials, if any. |
void |
authenticate(java.lang.String name)
Deprecated. Use com.novell.java.security and related packages. Authenticate the object by name. |
Identity |
createIdentity(java.lang.String userName)
Creates and returns an Identity based on this Session. |
java.lang.String |
getName()
Deprecated. Use com.novell.java.security and related packages. Returns the name used to authenticate this object, or null if not authenticated. |
boolean |
isAuthenticated()
Returns TRUE if the object is authenticated. |
void |
unauthenticate()
Deprecated. Use com.novell.java.security and related packages. Unauthenticate the object. |
Field Detail |
public static final java.lang.String IS_AUTHENTICATED_ATTR_ID
(IS_AUTHENTICATED_ATTR_ID = "IS_AUTHENTICATED_STATE")
SessionAttr
,
Session.getAttributes()
public static final java.lang.String USER_NAME_ATTR_ID
(USER_NAME_ATTR_ID = "USER_NAME")
SessionAttr
,
Session.getAttributes()
Method Detail |
public java.lang.String getName() throws SessionException, java.rmi.RemoteException
Authenticator.getIdentities()
public void authenticate(java.lang.String name) throws SessionException, java.rmi.RemoteException
Authenticator.login(com.novell.java.security.Identity)
public void authenticate() throws SessionException, java.rmi.RemoteException
Authenticator.login(com.novell.java.security.Identity)
public void unauthenticate() throws SessionException, java.rmi.RemoteException
Authenticator.logout(com.novell.java.security.Identity)
public boolean isAuthenticated() throws SessionException, java.rmi.RemoteException
public Identity createIdentity(java.lang.String userName) throws SessionException, java.rmi.RemoteException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |