Class AdminContextHelper
java.lang.Object
com.broadleafcommerce.data.tracking.core.web.AdminContextHelper
Utility proxy contract for the same in AuthenticationUtils. Allows non-compile time access to the
security contract - avoiding the need to include it as a direct or transitive dependency.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Whether the current user is in an admin context.
-
Constructor Details
-
AdminContextHelper
-
-
Method Details
-
userIsInAdminContext
public boolean userIsInAdminContext()Whether the current user is in an admin context.- Returns:
- true if the user is in an admin context
-