Class ImpersonationRequestToken
- java.lang.Object
-
- com.broadleafcommerce.auth.user.endpoint.ImpersonationRequestToken
-
public final class ImpersonationRequestToken extends Object
The values resolved from anImpersonationRequestafter redirect and token validation.- See Also:
ImpersonationEndpoint.consumeToken(HttpServletResponse, String),com.broadleafcommerce.auth.user.web.endpoint.ImpersonationEndpoint#impersonate(HttpServletResponse, ImpersonationRequest, Authentication)
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetClient_id()The client ID of the user requesting impersonationStringgetCsr_user_id()The user ID of the CSR that is impersonating a user.StringgetImpersonated_client_id()The client ID of the user to be impersonated.StringgetImpersonated_sub()The subject to be impersonated.StringgetRedirect_uri()Upon consuming the token, the URL to redirect the user to.inthashCode()StringtoString()
-
-
-
Method Detail
-
getClient_id
public String getClient_id()
The client ID of the user requesting impersonation- See Also:
AuthorizedClient.getClientId()
-
getImpersonated_sub
public String getImpersonated_sub()
The subject to be impersonated. Usually the same asUser.getUsername().
-
getImpersonated_client_id
public String getImpersonated_client_id()
The client ID of the user to be impersonated.- See Also:
AuthorizedClient.getClientId()
-
getRedirect_uri
public String getRedirect_uri()
Upon consuming the token, the URL to redirect the user to.
-
getCsr_user_id
public String getCsr_user_id()
The user ID of the CSR that is impersonating a user.
-
-