Class AadResourceServerProperties
java.lang.Object
com.azure.spring.cloud.autoconfigure.aad.properties.AadResourceServerProperties
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
public class AadResourceServerProperties
extends Object
implements org.springframework.beans.factory.InitializingBean
Configuration properties for Azure Active Directory B2C.
- See Also:
-
InitializingBean
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Set after properties.Gets the claim to authority prefix map.Gets the principal claim name.void
setClaimToAuthorityPrefixMap
(Map<String, String> claimToAuthorityPrefixMap) Sets the claim to authority prefix map.void
setPrincipalClaimName
(String principalClaimName) Sets the principal claim name.
-
Field Details
-
PREFIX
Properties prefix.- See Also:
-
DEFAULT_CLAIM_TO_AUTHORITY_PREFIX_MAP
Default claim to authority prefix map
-
-
Constructor Details
-
AadResourceServerProperties
public AadResourceServerProperties()
-
-
Method Details
-
getPrincipalClaimName
Gets the principal claim name.- Returns:
- the principal claim name
-
setPrincipalClaimName
Sets the principal claim name.- Parameters:
principalClaimName
- the principal claim name
-
getClaimToAuthorityPrefixMap
Gets the claim to authority prefix map.- Returns:
- the claim to authority prefix map
-
setClaimToAuthorityPrefixMap
Sets the claim to authority prefix map.- Parameters:
claimToAuthorityPrefixMap
- the claim to authority prefix map
-
afterPropertiesSet
public void afterPropertiesSet()Set after properties.- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-