Class AuthenticationStrategyDelegateProperties
java.lang.Object
com.broadleafcommerce.auth.user.web.autoconfigure.AuthenticationStrategyDelegateProperties
@ConfigurationProperties("broadleaf.auth.user.web.authorization.strategy-delegates")
public class AuthenticationStrategyDelegateProperties
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Properties configured for specific AuthenticationStrategyDelegate classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Standard property key for utilizing the default authentication strategy delegate.static final String
Property key for utilizing the Github authentication strategy delegate.static final String
Property key for utilizing the Google authentication strategy delegate. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMap of the AuthenticationStrategyDelegates that can be configured through propertiesRetrieve delegate properties for a specified AuthenticationStrategyDelegateRetrieve delegate properties forGITHUB_DELEGATE
.Retrieve delegate properties forGOOGLE_DELEGATE
.Retrieve delegate properties forDEFAULT_OIDC
.void
setAuthenticationStrategyDelegate
(Map<String, AuthenticationStrategyDelegateProperties.DelegateProperties> authenticationStrategyDelegate) Map of the AuthenticationStrategyDelegates that can be configured through properties
-
Field Details
-
DEFAULT_OIDC
Standard property key for utilizing the default authentication strategy delegate. This key is for retrieving the correct properties path around configuringDefaultOIDCAuthenticationStrategyDelegate
.- See Also:
-
GOOGLE_DELEGATE
Property key for utilizing the Google authentication strategy delegate. This key is for retrieving the correct properties path around configuringGoogleOAuthClientAuthenticationStrategyDelegate
.- See Also:
-
GITHUB_DELEGATE
Property key for utilizing the Github authentication strategy delegate. This key is for retrieving the correct properties path around configuringGithubOAuthClientAuthenticationStrategyDelegate
.- See Also:
-
-
Constructor Details
-
AuthenticationStrategyDelegateProperties
public AuthenticationStrategyDelegateProperties()
-
-
Method Details
-
getDelegateProperties
public Optional<AuthenticationStrategyDelegateProperties.DelegateProperties> getDelegateProperties(String key) Retrieve delegate properties for a specified AuthenticationStrategyDelegate- Parameters:
key
- the key of the AuthenticationStrategyDelegate e.g. github
-
getOIDCDelegateProperties
@Nullable public AuthenticationStrategyDelegateProperties.DelegateProperties getOIDCDelegateProperties()Retrieve delegate properties forDEFAULT_OIDC
. Contains properties for configuringDefaultOIDCAuthenticationStrategyDelegate
. -
getGoogleDelegateProperties
@Nullable public AuthenticationStrategyDelegateProperties.DelegateProperties getGoogleDelegateProperties()Retrieve delegate properties forGOOGLE_DELEGATE
. Contains properties for configuringGoogleOAuthClientAuthenticationStrategyDelegate
. -
getGithubDelegateProperties
@Nullable public AuthenticationStrategyDelegateProperties.DelegateProperties getGithubDelegateProperties()Retrieve delegate properties forGITHUB_DELEGATE
. Contains properties for configuringGithubOAuthClientAuthenticationStrategyDelegate
. -
getAuthenticationStrategyDelegate
public Map<String,AuthenticationStrategyDelegateProperties.DelegateProperties> getAuthenticationStrategyDelegate()Map of the AuthenticationStrategyDelegates that can be configured through properties -
setAuthenticationStrategyDelegate
public void setAuthenticationStrategyDelegate(Map<String, AuthenticationStrategyDelegateProperties.DelegateProperties> authenticationStrategyDelegate) Map of the AuthenticationStrategyDelegates that can be configured through properties
-