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 Summary
Fields Modifier and Type Field Description static String
AUTH_PROVIDERS_PROPERTY_NAME
-
Constructor Summary
Constructors Constructor Description AuthProviderSettings()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Collection<SecurityConfigProperties.AuthProviderSettings>
bindFromPropertySource(org.springframework.core.env.Environment environment)
Bind AuthProviderSettings from PropertySourceboolean
isResponsibleFor(String urlPath)
Method for checking if a configured auth provider is responsible for checking authentication of a specific url path
-
-
-
Field Detail
-
AUTH_PROVIDERS_PROPERTY_NAME
public static final String AUTH_PROVIDERS_PROPERTY_NAME
- See Also:
- Constant Field Values
-
-
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
-
-