public class PluggableDefaultLoginModule
extends org.apache.jackrabbit.core.security.authentication.DefaultLoginModule
DefaultLoginModule
to provide implementations registered with the OSGI framework implementing
LoginModulePlugin. Like the DefaultLoginModule, this LoginModule
inherits the core of its functionality from
AbstractLoginModule| Constructor and Description |
|---|
PluggableDefaultLoginModule() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doInit(CallbackHandler callbackHandler,
javax.jcr.Session session,
Map options) |
protected org.apache.jackrabbit.core.security.authentication.Authentication |
getAuthentication(Principal principal,
javax.jcr.Credentials creds) |
protected javax.jcr.Credentials |
getCredentials()
Since the AbstractLoginModule getCredentials does not know anything about TrustedCredentials we have to re-try here.
|
protected Principal |
getPrincipal(javax.jcr.Credentials creds) |
protected Set |
getPrincipals() |
protected boolean |
impersonate(Principal principal,
javax.jcr.Credentials creds) |
void |
initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> sharedState,
Map<String,?> options) |
protected boolean |
supportsCredentials(javax.jcr.Credentials creds) |
commit, getTokenExpiration, getUserID, isDisableTokenAuth, setDisableTokenAuth, setTokenExpirationabort, authenticate, getAdminId, getAnonymousId, getImpersonatorSubject, getPreAuthAttributeName, getPrincipalProvider, isAnonymous, isImpersonation, isInitialized, isPreAuthenticated, login, logout, setAdminId, setAnonymousId, setPrincipalProviderprotected void doInit(CallbackHandler callbackHandler, javax.jcr.Session session, Map options) throws LoginException
doInit in class org.apache.jackrabbit.core.security.authentication.DefaultLoginModuleLoginExceptionDefaultLoginModule.doInit(javax.security.auth.callback.CallbackHandler, javax.jcr.Session, java.util.Map)public void initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
initialize in interface LoginModuleinitialize in class org.apache.jackrabbit.core.security.authentication.AbstractLoginModuleAbstractLoginModule.initialize(javax.security.auth.Subject, javax.security.auth.callback.CallbackHandler, java.util.Map, java.util.Map)protected Principal getPrincipal(javax.jcr.Credentials creds)
getPrincipal in class org.apache.jackrabbit.core.security.authentication.DefaultLoginModuleDefaultLoginModule.getPrincipal(javax.jcr.Credentials)protected Set getPrincipals()
getPrincipals in class org.apache.jackrabbit.core.security.authentication.AbstractLoginModuleAbstractLoginModule.getPrincipals()protected org.apache.jackrabbit.core.security.authentication.Authentication getAuthentication(Principal principal, javax.jcr.Credentials creds) throws javax.jcr.RepositoryException
getAuthentication in class org.apache.jackrabbit.core.security.authentication.DefaultLoginModulejavax.jcr.RepositoryExceptionDefaultLoginModule.getAuthentication(java.security.Principal, javax.jcr.Credentials)protected boolean impersonate(Principal principal, javax.jcr.Credentials creds) throws javax.jcr.RepositoryException, FailedLoginException
impersonate in class org.apache.jackrabbit.core.security.authentication.DefaultLoginModulejavax.jcr.RepositoryExceptionFailedLoginExceptionDefaultLoginModule.impersonate(java.security.Principal, javax.jcr.Credentials)protected javax.jcr.Credentials getCredentials()
getCredentials in class org.apache.jackrabbit.core.security.authentication.AbstractLoginModuleprotected boolean supportsCredentials(javax.jcr.Credentials creds)
supportsCredentials in class org.apache.jackrabbit.core.security.authentication.DefaultLoginModuleCopyright © 2007–2015 The Apache Software Foundation. All rights reserved.