Class Auth0SecurityAutoConfiguration


  • @Configuration
    @EnableConfigurationProperties(Auth0Properties.class)
    @AutoConfigureBefore(org.entur.jwt.spring.JwtAutoConfiguration.class)
    public class Auth0SecurityAutoConfiguration
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.entur.jwt.spring.filter.resolver.JwtArgumentResolver jwtArgumentResolver()  
      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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Auth0SecurityAutoConfiguration

        public Auth0SecurityAutoConfiguration()
    • 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()