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
-
-
Constructor Summary
Constructors Constructor Description AadResourceServerProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()Set after properties.Map<String,String>getClaimToAuthorityPrefixMap()Gets the claim to authority prefix map.StringgetPrincipalClaimName()Gets the principal claim name.voidsetClaimToAuthorityPrefixMap(Map<String,String> claimToAuthorityPrefixMap)Sets the claim to authority prefix map.voidsetPrincipalClaimName(String principalClaimName)Sets the principal claim name.
-
-
-
Field Detail
-
PREFIX
public static final String PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPrincipalClaimName
public String getPrincipalClaimName()
Gets the principal claim name.- Returns:
- the principal claim name
-
setPrincipalClaimName
public void setPrincipalClaimName(String principalClaimName)
Sets the principal claim name.- Parameters:
principalClaimName- the principal claim name
-
getClaimToAuthorityPrefixMap
public Map<String,String> getClaimToAuthorityPrefixMap()
Gets the claim to authority prefix map.- Returns:
- the claim to authority prefix map
-
setClaimToAuthorityPrefixMap
public void setClaimToAuthorityPrefixMap(Map<String,String> claimToAuthorityPrefixMap)
Sets the claim to authority prefix map.- Parameters:
claimToAuthorityPrefixMap- the claim to authority prefix map
-
afterPropertiesSet
public void afterPropertiesSet()
Set after properties.- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
-