Class SecurityConfigProperties.AuthProviderSettings

  • Enclosing class:
    SecurityConfigProperties

    public static class SecurityConfigProperties.AuthProviderSettings
    extends Object
    Auth provider settings, containing the exact auth-provider to be used, and the respective validation configs
    Author:
    thomas.stieglmaier
    • Constructor Detail

      • AuthProviderSettings

        public AuthProviderSettings()
    • Method Detail

      • bindFromPropertySource

        public static Collection<SecurityConfigProperties.AuthProviderSettings> bindFromPropertySource​(org.springframework.core.env.Environment environment)
        Bind AuthProviderSettings from PropertySource
        Parameters:
        environment - Environment
        Returns:
        collection of AuthProviderSettings or null if none exist
      • isResponsibleFor

        public boolean isResponsibleFor​(String urlPath)
        Method for checking if a configured auth provider is responsible for checking authentication of a specific url path
        Parameters:
        urlPath - the path to be checked
        Returns:
        indicates if the auth provider should be used or not for a given path