Class SessionTokenClaimKeys.ImpersonationClaims
- java.lang.Object
-
- com.broadleafcommerce.auth.resource.domain.SessionTokenClaimKeys.ImpersonationClaims
-
- Enclosing class:
- SessionTokenClaimKeys
public static final class SessionTokenClaimKeys.ImpersonationClaims extends Object
Though these are used inOAuth2SessionToken
, some of these claims are also used in access tokens.- See Also:
ImpersonationTokenEnhancer
-
-
Field Summary
Fields Modifier and Type Field Description static String
CSR_ANONYMOUS
The claim indicating that the CSR is impersonating an anonymous user.static String
CSR_ANONYMOUS_SUB_VALUE
The value of theSessionTokenClaimKeys.SUBJECT
when anonymously impersonated as a CSR.static String
CSR_CLIENT_ID
The claim storing the CSR's client ID.static String
CSR_INHERITED_AUTHORITIES
The claim storing the authorities inherited from the CSR.static String
CSR_SUBJECT
The claim storing the CSR's subject.static String
CSR_USER_ID
The claim storing the CSR's user ID.
-
-
-
Field Detail
-
CSR_CLIENT_ID
public static final String CSR_CLIENT_ID
The claim storing the CSR's client ID. Only populated if impersonated.- See Also:
- Constant Field Values
-
CSR_SUBJECT
public static final String CSR_SUBJECT
The claim storing the CSR's subject. Only populated if impersonated.- See Also:
- Constant Field Values
-
CSR_USER_ID
public static final String CSR_USER_ID
The claim storing the CSR's user ID. Only populated if impersonated.- See Also:
- Constant Field Values
-
CSR_ANONYMOUS
public static final String CSR_ANONYMOUS
The claim indicating that the CSR is impersonating an anonymous user. Only populated if impersonated as an anonymous user.- See Also:
- Constant Field Values
-
CSR_ANONYMOUS_SUB_VALUE
public static final String CSR_ANONYMOUS_SUB_VALUE
The value of theSessionTokenClaimKeys.SUBJECT
when anonymously impersonated as a CSR.- See Also:
- Constant Field Values
-
CSR_INHERITED_AUTHORITIES
public static final String CSR_INHERITED_AUTHORITIES
The claim storing the authorities inherited from the CSR. Only populated if impersonated.- See Also:
- Constant Field Values
-
-