Class AccessTokenClaimKeys.UserRestrictionClaims
- java.lang.Object
-
- com.broadleafcommerce.auth.resource.domain.AccessTokenClaimKeys.UserRestrictionClaims
-
- Enclosing class:
- AccessTokenClaimKeys
public static final class AccessTokenClaimKeys.UserRestrictionClaims extends Object
- See Also:
UserRestrictionTokenEnhancer
-
-
Field Summary
Fields Modifier and Type Field 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.
-
-
-
Field Detail
-
RESTRICTIONS
public static final String RESTRICTIONS
Used for adding a user's restrictions as a claim.
-
RESTRICTED_AUTHORITIES
public static final String RESTRICTED_AUTHORITIES
Used for adding a user's consolidated restricted authorities as a claim. This includes the calculated restricted authorities from all flat permissions fromUser.getPermissions()
and those inherited fromUser.getRoles()
,AuthorizationServer.getDefaultUserPermissions()
, andAuthorizationServer.getDefaultUserRoles()
combined withUser.getRestrictions()
. This also include the actual restricted authorities fromUser.getRestrictedRoles()
andUser.getRestrictedPermissions()
.
-
-