Class JaasLoginContext
- java.lang.Object
-
- javax.security.auth.login.LoginContext
-
- org.apache.jackrabbit.oak.spi.security.authentication.JaasLoginContext
-
- All Implemented Interfaces:
LoginContext
public class JaasLoginContext extends LoginContext implements LoginContext
Bridge class that connects the JAASLoginContext
class with theLoginContext
interface used by Oak.
-
-
Constructor Summary
Constructors Constructor Description JaasLoginContext(String name)
JaasLoginContext(String name, CallbackHandler handler)
JaasLoginContext(String name, Subject subject)
JaasLoginContext(String name, Subject subject, CallbackHandler handler)
JaasLoginContext(String name, Subject subject, CallbackHandler handler, Configuration configuration)
-
Method Summary
-
Methods inherited from class javax.security.auth.login.LoginContext
getSubject, login, logout
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.jackrabbit.oak.spi.security.authentication.LoginContext
getSubject, login, logout
-
-
-
-
Constructor Detail
-
JaasLoginContext
public JaasLoginContext(String name) throws LoginException
- Throws:
LoginException
-
JaasLoginContext
public JaasLoginContext(String name, Subject subject) throws LoginException
- Throws:
LoginException
-
JaasLoginContext
public JaasLoginContext(String name, CallbackHandler handler) throws LoginException
- Throws:
LoginException
-
JaasLoginContext
public JaasLoginContext(String name, Subject subject, CallbackHandler handler) throws LoginException
- Throws:
LoginException
-
JaasLoginContext
public JaasLoginContext(String name, Subject subject, CallbackHandler handler, Configuration configuration) throws LoginException
- Throws:
LoginException
-
-