Class SecurityConfigProperties.AuthProviderSettings

java.lang.Object
de.ikor.sip.foundation.security.config.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
  • Field Details

  • Constructor Details

    • AuthProviderSettings

      public AuthProviderSettings()
  • Method Details

    • 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