public class StormpathAuthenticationHandler extends UsernamePasswordWrapperAuthenticationHandler
StormpathAuthenticationHandler
that verifies accounts
against Stormpath Cloud.authenticator
profileCreator
principalFactory, servicesManager
SUCCESSFUL_AUTHENTICATION_HANDLERS
Constructor and Description |
---|
StormpathAuthenticationHandler(java.lang.String name,
ServicesManager servicesManager,
PrincipalFactory principalFactory,
java.lang.Integer order,
java.lang.String apiKey,
java.lang.String applicationId,
java.lang.String secretkey) |
Modifier and Type | Method and Description |
---|---|
protected org.pac4j.core.credentials.authenticator.Authenticator<org.pac4j.core.credentials.UsernamePasswordCredentials> |
getAuthenticator(Credential credential)
Gets authenticator.
|
convertToPac4jCredentials, getCasCredentialsType, getPasswordEncoder, getPrincipalNameTransformer, setAuthenticator, setPasswordEncoder, setPrincipalNameTransformer
doAuthentication, getProfileCreator, getWebContext, setProfileCreator, supports
createResult, setTypedIdUsed
authenticate, createHandlerResult
getName, getOrder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
postAuthenticate, preAuthenticate
getName
public StormpathAuthenticationHandler(java.lang.String name, ServicesManager servicesManager, PrincipalFactory principalFactory, java.lang.Integer order, java.lang.String apiKey, java.lang.String applicationId, java.lang.String secretkey)
protected org.pac4j.core.credentials.authenticator.Authenticator<org.pac4j.core.credentials.UsernamePasswordCredentials> getAuthenticator(Credential credential)
AbstractWrapperAuthenticationHandler
getAuthenticator
in class UsernamePasswordWrapperAuthenticationHandler
credential
- the credential