Class FlowableOAuth2GrantedAuthoritiesMapper

java.lang.Object
com.flowable.core.spring.security.oauth2.FlowableOAuth2CommonGrantedAuthoritiesMapper
com.flowable.core.spring.security.oauth2.FlowableOAuth2GrantedAuthoritiesMapper
All Implemented Interfaces:
GrantedAuthoritiesMapper

public class FlowableOAuth2GrantedAuthoritiesMapper extends FlowableOAuth2CommonGrantedAuthoritiesMapper implements GrantedAuthoritiesMapper
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: