|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.core.security.AuthContext
org.apache.jackrabbit.core.security.AuthContext.Local
LocalAuthContext instead.
public static class AuthContext.Local
An AuthContext implemented using a particular LoginModule.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.jackrabbit.core.security.AuthContext |
|---|
AuthContext.JAAS, AuthContext.Local |
| Constructor Summary | |
|---|---|
AuthContext.Local(javax.security.auth.spi.LoginModule module,
java.util.Map options,
javax.jcr.Credentials creds)
Deprecated. Creates an authentication context given a login module and some credentials. |
|
| Method Summary | |
|---|---|
javax.security.auth.Subject |
getSubject()
Deprecated. Return the authenticated Subject. |
void |
login()
Deprecated. Perform the authentication and, if successful, associate Principals and Credentials with the authenticated Subject. |
void |
logout()
Deprecated. Logout the Subject. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AuthContext.Local(javax.security.auth.spi.LoginModule module,
java.util.Map options,
javax.jcr.Credentials creds)
module - the login moduleoptions - login module optionscreds - the credentials| Method Detail |
|---|
public void login()
throws javax.security.auth.login.LoginException
Subject.
javax.security.auth.login.LoginException - if the authentication fails.LoginContext.login()public javax.security.auth.Subject getSubject()
null if authentication failed.LoginContext.getSubject()
public void logout()
throws javax.security.auth.login.LoginException
Subject.
javax.security.auth.login.LoginException - if the logout fails.LoginContext.logout()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||