public class AADJwtGrantedAuthoritiesConverter extends Object implements org.springframework.core.convert.converter.Converter<org.springframework.security.oauth2.jwt.Jwt,Collection<org.springframework.security.core.GrantedAuthority>>
GrantedAuthoritys from scope attributes typically found in a Jwt.| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_AUTHORITY_CLAIM_NAME |
static String |
DEFAULT_AUTHORITY_PREFIX |
static Map<String,String> |
DEFAULT_CLAIM_TO_AUTHORITY_PREFIX_MAP |
| Constructor and Description |
|---|
AADJwtGrantedAuthoritiesConverter() |
AADJwtGrantedAuthoritiesConverter(Map<String,String> claimToAuthorityPrefixMap) |
| Modifier and Type | Method and Description |
|---|---|
Collection<org.springframework.security.core.GrantedAuthority> |
convert(org.springframework.security.oauth2.jwt.Jwt jwt) |
public static final Map<String,String> DEFAULT_CLAIM_TO_AUTHORITY_PREFIX_MAP
public static final String DEFAULT_AUTHORITY_CLAIM_NAME
public static final String DEFAULT_AUTHORITY_PREFIX
public Collection<org.springframework.security.core.GrantedAuthority> convert(org.springframework.security.oauth2.jwt.Jwt jwt)
convert in interface org.springframework.core.convert.converter.Converter<org.springframework.security.oauth2.jwt.Jwt,Collection<org.springframework.security.core.GrantedAuthority>>Copyright © 2021 Microsoft Corporation. All rights reserved.