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 javax.security.auth.login.LoginContext implements LoginContext
Bridge class that connects the JAASLoginContext
class with theLoginContext
interface used by Oak.
-
-
Constructor Summary
Constructors Constructor Description JaasLoginContext(java.lang.String name)
JaasLoginContext(java.lang.String name, javax.security.auth.callback.CallbackHandler handler)
JaasLoginContext(java.lang.String name, javax.security.auth.Subject subject)
JaasLoginContext(java.lang.String name, javax.security.auth.Subject subject, javax.security.auth.callback.CallbackHandler handler)
JaasLoginContext(java.lang.String name, javax.security.auth.Subject subject, javax.security.auth.callback.CallbackHandler handler, javax.security.auth.login.Configuration configuration)
-
Method Summary
-
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(java.lang.String name) throws javax.security.auth.login.LoginException
- Throws:
javax.security.auth.login.LoginException
-
JaasLoginContext
public JaasLoginContext(java.lang.String name, javax.security.auth.Subject subject) throws javax.security.auth.login.LoginException
- Throws:
javax.security.auth.login.LoginException
-
JaasLoginContext
public JaasLoginContext(java.lang.String name, javax.security.auth.callback.CallbackHandler handler) throws javax.security.auth.login.LoginException
- Throws:
javax.security.auth.login.LoginException
-
JaasLoginContext
public JaasLoginContext(java.lang.String name, javax.security.auth.Subject subject, javax.security.auth.callback.CallbackHandler handler) throws javax.security.auth.login.LoginException
- Throws:
javax.security.auth.login.LoginException
-
JaasLoginContext
public JaasLoginContext(java.lang.String name, javax.security.auth.Subject subject, javax.security.auth.callback.CallbackHandler handler, javax.security.auth.login.Configuration configuration) throws javax.security.auth.login.LoginException
- Throws:
javax.security.auth.login.LoginException
-
-