Class ContextHelperUtil
java.lang.Object
com.broadleafcommerce.auth.client.service.ContextHelperUtil
Utility class to assist with storing and retrieving request parameters from request attributes.
Values are set in the
ClientIdFilter
.- Author:
- Cade Rea (cade-rea)
-
Method Summary
Modifier and TypeMethodDescriptionGet the account id request parameter or empty.static String
Get the client id request parameter.static void
setAccountId
(String accountId) Set the account id of the request.static void
setClientId
(String clientId) Set the client id of the request.
-
Method Details
-
getClientId
Get the client id request parameter.- Returns:
- The client_id request parameter.
- See Also:
-
setClientId
Set the client id of the request.- Parameters:
clientId
- The client_id request parameter.- See Also:
-
getAccountId
Get the account id request parameter or empty.- Returns:
- The accountId request parameter or empty.
- See Also:
-
setAccountId
Set the account id of the request.- Parameters:
accountId
- The accountId request parameter.- See Also:
-