|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.auth.Authentication
public class Authentication
Authentication service.
This class forwards calls to a server-side authentication server class.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
static boolean |
getAllowUserInteraction()
Get whether the current WTContext should allow user interaction
to carry out authentication. |
static boolean |
getDefaultAllowUserInteraction()
Get default setting of whether user interation should be allowed to carry out authentication. |
static String |
getUserName()
Get authenticated user name for the current thread. |
static MethodAuthenticator |
init(MethodAuthenticator authenticator)
Initialization method called from bootstrapping authenticator's init method. |
static void |
main(String[] args)
Simple tester. |
static void |
reauthenticateUser()
Re-authenticate the user name for the current thread. |
static void |
setAllowUserInteraction(boolean allow_user_interaction)
Set whether the current WTContext should allow user interaction
to carry out authentication. |
static void |
setDefaultAllowUserInteraction(boolean allow_user_interaction)
Set default value for whether user interation should be allowed to carry out authentication. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String getUserName()
throws RemoteException
RemoteException
public static MethodAuthenticator init(MethodAuthenticator authenticator)
throws RemoteException
authenticator - the MethodAuthenticator being initialized
MethodAuthenticator
RemoteException
public static void reauthenticateUser()
throws RemoteException
RemoteExceptionpublic static boolean getAllowUserInteraction()
WTContext should allow user interaction
to carry out authentication. This setting can be used by bootstrapping method
authenticators to determine if interaction is allowed. The default is true.
public static void setAllowUserInteraction(boolean allow_user_interaction)
WTContext should allow user interaction
to carry out authentication. This setting can be used by bootstrapping method
authenticators to determine if interaction is allowed. The default is true.
allow_user_interaction - true if user interaction is allowed, false if not.public static boolean getDefaultAllowUserInteraction()
public static void setDefaultAllowUserInteraction(boolean allow_user_interaction)
allow_user_interaction - true if user interaction is allowed, false if not.
public static void main(String[] args)
throws RemoteException,
InterruptedException
RemoteException
InterruptedException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||