Class TenantPropertiesTokenEnhancer

  • All Implemented Interfaces:
    org.springframework.security.oauth2.provider.token.TokenEnhancer

    public class TenantPropertiesTokenEnhancer
    extends AbstractUserTokenEnhancer
    Token enhancer to add the values "tenant_access", "application_access", "tenant_id" and "application_ids" to the token, if they exist.
    • Constructor Detail

      • TenantPropertiesTokenEnhancer

        public TenantPropertiesTokenEnhancer()
    • Method Detail

      • enhance

        public org.springframework.security.oauth2.common.OAuth2AccessToken enhance​(org.springframework.security.oauth2.common.OAuth2AccessToken accessToken,
                                                                                    org.springframework.security.oauth2.provider.OAuth2Authentication authentication)