|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.spotfire.server.security.JAASAuthenticator
public class JAASAuthenticator
An Authenticator implementation that uses the Java
Authentication and Authorization Services (JAAS) to authenticate
users.
| Constructor Summary | |
|---|---|
JAASAuthenticator()
|
|
| Method Summary | |
|---|---|
SecurityContext |
authenticate(String userId,
String password,
AuthenticationContext authContext)
Authenticates the user with the specified userId and
password credentials, using the JAAS configuration
specified by the configuration parameter to the
setConfiguration method. |
static boolean |
isInUserDirectory(String userId)
Deprecated. |
void |
setConfiguration(String configuration)
Set the name of the JAAS application configuration to be used when authenticating users. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JAASAuthenticator()
| Method Detail |
|---|
public void setConfiguration(String configuration)
setConfiguration in interface Authenticatorconfiguration - configuration name
public SecurityContext authenticate(String userId,
String password,
AuthenticationContext authContext)
userId and
password credentials, using the JAAS configuration
specified by the configuration parameter to the
setConfiguration method. If the authentication is
successful, the method returns a SecurityContext
object. If the authentication fails, the method returns
null.
The userId and password arguments
may not be null. The authContext
argument is ignored.
authenticate in interface AuthenticatoruserId - user idpassword - passwordauthContext - authentication context (ignored)
SecurityContext if the authentication is
successful, null if it fails@Deprecated public static boolean isInUserDirectory(String userId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||