Class JwtEnvironmentResourceServerConfiguration

  • All Implemented Interfaces:
    org.entur.jwt.junit5.configuration.resolve.ResourceServerConfiguration

    public class JwtEnvironmentResourceServerConfiguration
    extends java.lang.Object
    implements org.entur.jwt.junit5.configuration.resolve.ResourceServerConfiguration
    • Constructor Summary

      Constructors 
      Constructor Description
      JwtEnvironmentResourceServerConfiguration​(org.springframework.core.env.Environment environment, java.lang.String propertyPrefix, java.lang.String enabledPropertyName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.String> extractEnabledProperty​(org.springframework.core.env.MutablePropertySources sources, java.lang.String propertyName)  
      java.lang.String getProperty​(java.lang.String id, java.lang.String propertyName)  
      • Methods inherited from class java.lang.Object

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

      • JwtEnvironmentResourceServerConfiguration

        public JwtEnvironmentResourceServerConfiguration​(org.springframework.core.env.Environment environment,
                                                         java.lang.String propertyPrefix,
                                                         java.lang.String enabledPropertyName)
    • Method Detail

      • getProperty

        public java.lang.String getProperty​(java.lang.String id,
                                            java.lang.String propertyName)
        Specified by:
        getProperty in interface org.entur.jwt.junit5.configuration.resolve.ResourceServerConfiguration
      • extractEnabledProperty

        public java.util.Map<java.lang.String,​java.lang.String> extractEnabledProperty​(org.springframework.core.env.MutablePropertySources sources,
                                                                                             java.lang.String propertyName)