public interface iMgrAuthenticator
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getAttribute(java.lang.Object key)
Get an attribute that has been added to the authenticator's AuthContext (Hashtable) object.
|
AuthContext |
getAuthContext()
Returns the AuthContext object that was passed in to the Authenticator's init method.
|
java.lang.String |
getUserId(MContext context) |
boolean |
handleLogin(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Login using information available in the HttpServletRequest.
|
boolean |
isAuthenticated(javax.servlet.http.HttpServletRequest req)
Returns whether authentication has successfully occurred.
|
void |
logout()
Called by the framework when it determines that the authenticator must
logout.
|
void |
removeAttribute(java.lang.Object key)
Removes the attribute key and associated value if present.
|
void |
setAttribute(java.lang.Object key,
java.lang.Object value)
Sets an attribute in the authenticator's AuthContext (Hashtable) object.
|
boolean isAuthenticated(javax.servlet.http.HttpServletRequest req)
req - boolean handleLogin(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
req - The HttpServletRequest objectres - The HttpServletResponse objectvoid setAttribute(java.lang.Object key,
java.lang.Object value)
key - Object key to use to identify the objectvalue - Object to save in the HashtablegetAttribute(java.lang.Object)java.lang.Object getAttribute(java.lang.Object key)
key - Object key to retrieve the value. This is the key that was set
when the attribute was added.setAttribute(java.lang.Object, java.lang.Object)void removeAttribute(java.lang.Object key)
Key - Object containing the attribute key whose associated value is to be removed
This may not be null.AuthContext getAuthContext()
#initvoid logout()
#destroyjava.lang.String getUserId(MContext context)
context -
API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated ${TODAY} ${TSTAMP}.