public class UserContext extends Object
Constructor and Description |
---|
UserContext(IncomingRequest httpRequest,
String key) |
Modifier and Type | Method and Description |
---|---|
Object |
getAttribute(String name) |
String |
getUser() |
static String |
getUserSessionKey(String providerName)
Returns the key under which the user name is to be stored in the session for a given provider.
|
void |
setAttribute(String name,
Serializable value) |
void |
setUser(String user) |
String |
toString() |
public UserContext(IncomingRequest httpRequest, String key)
public void setAttribute(String name, Serializable value)
public String getUser()
public void setUser(String user)
Copyright © 2008–2018. All rights reserved.