Class SecurityConfigProperties.AuthProviderSettings
java.lang.Object
de.ikor.sip.foundation.security.config.SecurityConfigProperties.AuthProviderSettings
- Enclosing class:
- SecurityConfigProperties
Auth provider settings, containing the exact auth-provider to be used, and the respective
validation configs
- Author:
- thomas.stieglmaier
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbindFromPropertySource
(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 Details
-
AUTH_PROVIDERS_PROPERTY_NAME
- See Also:
-
-
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
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
-