public static final class AccessTokenClaimKeys.UserRestrictionClaims extends Object
UserRestrictionTokenEnhancer
Modifier and Type | Field and Description |
---|---|
static String |
RESTRICTED_AUTHORITIES
Used for adding a user's consolidated restricted authorities as a claim.
|
static String |
RESTRICTIONS
Used for adding a user's restrictions as a claim.
|
public static final String RESTRICTIONS
public static final String RESTRICTED_AUTHORITIES
User.getPermissions()
and those inherited from User.getRoles()
,
AuthorizationServer.getDefaultUserPermissions()
, and
AuthorizationServer.getDefaultUserRoles()
combined with
User.getRestrictions()
. This also include the actual restricted authorities from
User.getRestrictedRoles()
and User.getRestrictedPermissions()
.Copyright © 2021. All rights reserved.