@Configuration @EnableConfigurationProperties(value=Auth0Properties.class) @AutoConfigureBefore(value=org.entur.jwt.spring.JwtAutoConfiguration.class) public class Auth0SecurityAutoConfiguration extends Object
| Constructor and Description |
|---|
Auth0SecurityAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
JwtArgumentResolver |
jwtArgumentResolver() |
JwtAuthorityMapper<com.auth0.jwt.interfaces.DecodedJWT> |
jwtAuthorityMapper(Auth0Properties properties) |
org.entur.jwt.verifier.JwtClaimExtractor<com.auth0.jwt.interfaces.DecodedJWT> |
jwtClaimExtractor(Auth0Properties properties) |
org.entur.jwt.verifier.JwtVerifierFactory<com.auth0.jwt.interfaces.DecodedJWT> |
jwtVerifierFactory(org.entur.jwt.verifier.JwtClaimExtractor<com.auth0.jwt.interfaces.DecodedJWT> extractor) |
@Bean
@ConditionalOnMissingBean(value=org.entur.jwt.verifier.JwtClaimExtractor.class)
@ConditionalOnProperty(name="entur.jwt.enabled",
havingValue="true",
matchIfMissing=false)
public org.entur.jwt.verifier.JwtClaimExtractor<com.auth0.jwt.interfaces.DecodedJWT> jwtClaimExtractor(Auth0Properties properties)
@Bean
@ConditionalOnMissingBean(value=org.entur.jwt.verifier.JwtVerifierFactory.class)
@ConditionalOnProperty(name="entur.jwt.enabled",
havingValue="true",
matchIfMissing=false)
public org.entur.jwt.verifier.JwtVerifierFactory<com.auth0.jwt.interfaces.DecodedJWT> jwtVerifierFactory(org.entur.jwt.verifier.JwtClaimExtractor<com.auth0.jwt.interfaces.DecodedJWT> extractor)
@Bean @ConditionalOnMissingBean(value=org.entur.jwt.spring.filter.JwtAuthorityMapper.class) @ConditionalOnProperty(name="entur.jwt.enabled", havingValue="true", matchIfMissing=false) public JwtAuthorityMapper<com.auth0.jwt.interfaces.DecodedJWT> jwtAuthorityMapper(Auth0Properties properties)
@Bean @ConditionalOnMissingBean(value=org.entur.jwt.spring.filter.resolver.JwtArgumentResolver.class) @ConditionalOnProperty(name="entur.jwt.enabled", havingValue="true", matchIfMissing=false) public JwtArgumentResolver jwtArgumentResolver()
Copyright © 2020 Entur AS. All rights reserved.