|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Authenticator interface.
Implementation objects are responsible for securly associating method calls to
client identity through the use of MethodAuthenticator
objects that
endorse client calls.
Supported API: true
Field Summary | |
static String |
versionID
|
Method Summary | |
String |
getUserName(Object auth)
Get authenticated user name. |
MethodAuthenticator |
newMethodAuthenticator(String user)
Create a new MethodAuthenticator object that will
associate the given user name to endorsed method calls. |
MethodAuthenticator |
newMethodAuthenticator(String user,
String session_id)
Create a new MethodAuthenticator object that will
associate the given user name to endorsed method calls for an existing
session. |
void |
reauthenticateUser(Object auth)
Initiate re-authentication for the current session. |
Object |
setUserName(String user)
Set authenticated user name. |
Field Detail |
public static final String versionID
Method Detail |
public MethodAuthenticator newMethodAuthenticator(String user)
MethodAuthenticator
object that will
associate the given user name to endorsed method calls.
user
- the authenticated user name
MethodAuthenticator
objectpublic MethodAuthenticator newMethodAuthenticator(String user, String session_id)
MethodAuthenticator
object that will
associate the given user name to endorsed method calls for an existing
session.
user
- the authenticated user namesession_id
- string identifying the target session
MethodAuthenticator
objectpublic String getUserName(Object auth)
MethodAuthenticator
endorsement to determine the authenticated
user name.
auth
- authentication object for the current call
public Object setUserName(String user)
getUserName
to return the given name.
user
- authenticated user name
public void reauthenticateUser(Object auth)
auth
- authentication object for the current call
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |