public class Auth0AuthenticationProvider extends Object implements org.springframework.security.authentication.AuthenticationProvider, org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
Auth0AuthenticationProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
org.springframework.security.core.Authentication |
authenticate(org.springframework.security.core.Authentication authentication) |
protected AuthorityStrategy |
getAuthorityStrategy() |
protected String |
getClientId() |
protected String |
getClientSecret() |
protected String |
getDomain() |
protected String |
getIssuer() |
protected String |
getPublicKeyPath() |
protected String |
getSecuredRoute() |
protected com.auth0.jwt.Algorithm |
getSigningAlgorithm() |
protected boolean |
isBase64EncodedSecret() |
protected void |
setAuthorityStrategy(AuthorityStrategy authorityStrategy) |
protected void |
setBase64EncodedSecret(boolean base64EncodedSecret) |
protected void |
setClientId(String clientId) |
protected void |
setClientSecret(String clientSecret) |
protected void |
setDomain(String domain) |
protected void |
setIssuer(String issuer) |
protected void |
setPublicKeyPath(String publicKeyPath) |
protected void |
setSecuredRoute(String securedRoute) |
protected void |
setSigningAlgorithm(com.auth0.jwt.Algorithm signingAlgorithm) |
boolean |
supports(Class<?> authentication) |
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication)
throws org.springframework.security.core.AuthenticationException
authenticate in interface org.springframework.security.authentication.AuthenticationProviderorg.springframework.security.core.AuthenticationExceptionpublic boolean supports(Class<?> authentication)
supports in interface org.springframework.security.authentication.AuthenticationProviderpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionprotected String getDomain()
protected void setDomain(String domain)
protected String getIssuer()
protected void setIssuer(String issuer)
protected String getClientId()
protected void setClientId(String clientId)
protected String getClientSecret()
protected void setClientSecret(String clientSecret)
protected String getSecuredRoute()
protected void setSecuredRoute(String securedRoute)
protected AuthorityStrategy getAuthorityStrategy()
protected void setAuthorityStrategy(AuthorityStrategy authorityStrategy)
protected boolean isBase64EncodedSecret()
protected void setBase64EncodedSecret(boolean base64EncodedSecret)
protected com.auth0.jwt.Algorithm getSigningAlgorithm()
protected void setSigningAlgorithm(com.auth0.jwt.Algorithm signingAlgorithm)
protected String getPublicKeyPath()
protected void setPublicKeyPath(String publicKeyPath)
Copyright © 2016. All Rights Reserved.