Package org.entur.jwt.spring.auth0
Class Auth0SecurityAutoConfiguration
- java.lang.Object
-
- org.entur.jwt.spring.auth0.Auth0SecurityAutoConfiguration
-
@Configuration @EnableConfigurationProperties(Auth0Properties.class) @AutoConfigureBefore(org.entur.jwt.spring.JwtAutoConfiguration.class) public class Auth0SecurityAutoConfiguration extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Auth0SecurityAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.entur.jwt.spring.filter.resolver.JwtArgumentResolverjwtArgumentResolver()org.entur.jwt.spring.filter.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)
-
-
-
Method Detail
-
jwtClaimExtractor
@Bean @ConditionalOnMissingBean(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)
-
jwtVerifierFactory
@Bean @ConditionalOnMissingBean(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)
-
jwtAuthorityMapper
@Bean @ConditionalOnMissingBean(org.entur.jwt.spring.filter.JwtAuthorityMapper.class) @ConditionalOnProperty(name="entur.jwt.enabled", havingValue="true", matchIfMissing=false) public org.entur.jwt.spring.filter.JwtAuthorityMapper<com.auth0.jwt.interfaces.DecodedJWT> jwtAuthorityMapper(Auth0Properties properties)
-
jwtArgumentResolver
@Bean @ConditionalOnMissingBean(org.entur.jwt.spring.filter.resolver.JwtArgumentResolver.class) @ConditionalOnProperty(name="entur.jwt.enabled", havingValue="true", matchIfMissing=false) public org.entur.jwt.spring.filter.resolver.JwtArgumentResolver jwtArgumentResolver()
-
-