Class UserContext
- java.lang.Object
-
- com.broadleafcommerce.auth.user.session.token.enhancer.UserContext
-
@Scope(scopeName="request", proxyMode=TARGET_CLASS) public class UserContext extends Object
Intended for use as a request scoped bean to be utilized byTokenEnhancers
that need to read the currently authenticated user.
-
-
Constructor Summary
Constructors Constructor Description UserContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
User
getCurrentUser()
int
hashCode()
void
setCurrentUser(User currentUser)
String
toString()
-