Class AADB2CJwtBearerTokenAuthenticationConverter
- java.lang.Object
-
- com.azure.spring.aad.webapi.AADJwtBearerTokenAuthenticationConverter
-
- com.azure.spring.autoconfigure.b2c.AADB2CJwtBearerTokenAuthenticationConverter
-
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<org.springframework.security.oauth2.jwt.Jwt,org.springframework.security.authentication.AbstractAuthenticationToken>
@Deprecated public class AADB2CJwtBearerTokenAuthenticationConverter extends AADJwtBearerTokenAuthenticationConverter
Deprecated.UseAADJwtBearerTokenAuthenticationConverterinstead.AConverterthat takes aJwtand converts it into aBearerTokenAuthentication.
-
-
Constructor Summary
Constructors Constructor Description AADB2CJwtBearerTokenAuthenticationConverter()Deprecated.Creates a new instance ofAADB2CJwtBearerTokenAuthenticationConverter.AADB2CJwtBearerTokenAuthenticationConverter(String authoritiesClaimName)Deprecated.Creates a new instance ofAADB2CJwtBearerTokenAuthenticationConverter.AADB2CJwtBearerTokenAuthenticationConverter(String authoritiesClaimName, String authorityPrefix)Deprecated.Creates a new instance ofAADB2CJwtBearerTokenAuthenticationConverter.AADB2CJwtBearerTokenAuthenticationConverter(String principalClaimName, Map<String,String> claimToAuthorityPrefixMap)Deprecated.Creates a new instance ofAADB2CJwtBearerTokenAuthenticationConverter.
-
-
-
Constructor Detail
-
AADB2CJwtBearerTokenAuthenticationConverter
public AADB2CJwtBearerTokenAuthenticationConverter()
Deprecated.Creates a new instance ofAADB2CJwtBearerTokenAuthenticationConverter.
-
AADB2CJwtBearerTokenAuthenticationConverter
public AADB2CJwtBearerTokenAuthenticationConverter(String authoritiesClaimName)
Deprecated.Creates a new instance ofAADB2CJwtBearerTokenAuthenticationConverter.- Parameters:
authoritiesClaimName- the authorities claim name
-
AADB2CJwtBearerTokenAuthenticationConverter
public AADB2CJwtBearerTokenAuthenticationConverter(String authoritiesClaimName, String authorityPrefix)
Deprecated.Creates a new instance ofAADB2CJwtBearerTokenAuthenticationConverter.- Parameters:
authoritiesClaimName- the authorities claim nameauthorityPrefix- the authority prefix
-
AADB2CJwtBearerTokenAuthenticationConverter
public AADB2CJwtBearerTokenAuthenticationConverter(String principalClaimName, Map<String,String> claimToAuthorityPrefixMap)
Deprecated.Creates a new instance ofAADB2CJwtBearerTokenAuthenticationConverter.- Parameters:
principalClaimName- the principal claim nameclaimToAuthorityPrefixMap- the claim to authority prefix map
-
-