Class FlowableJwtGrantedAuthoritiesMapper

java.lang.Object
com.flowable.core.spring.security.oauth2.FlowableOAuth2CommonGrantedAuthoritiesMapper
com.flowable.core.spring.security.oauth2.FlowableJwtGrantedAuthoritiesMapper
All Implemented Interfaces:
Converter<Jwt,Collection<GrantedAuthority>>

public class FlowableJwtGrantedAuthoritiesMapper extends FlowableOAuth2CommonGrantedAuthoritiesMapper implements Converter<Jwt,Collection<GrantedAuthority>>
The Spring Security default implementation prefixes the authorities with SCOPE_ and uses the scopes from OAuth2 in the authorities. However, in order to support authorities from custom attributes with need custom attributes mapper.
Author:
Filip Hrisafov
See Also: