public final class SimpleSession extends AuthenticationSessionAbstract
| Constructor and Description |
|---|
SimpleSession(DataInputExtended input) |
SimpleSession(String name,
List<String> roles)
Defaults
AuthenticationSessionAbstract.getValidationCode() to empty string (""). |
SimpleSession(String name,
List<String> roles,
String code) |
SimpleSession(String name,
String[] roles)
as per
SimpleSession(String, List). |
SimpleSession(String name,
String[] roles,
String code) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
equals(SimpleSession other) |
int |
hashCode() |
encode, getAttribute, getMessageBroker, getRoles, getUserName, getValidationCode, hasUserNameOf, setAttribute, setMessageBroker, toStringpublic SimpleSession(String name, String[] roles)
SimpleSession(String, List).public SimpleSession(String name, List<String> roles)
AuthenticationSessionAbstract.getValidationCode() to empty string ("").public SimpleSession(String name, String[] roles, String code)
public SimpleSession(String name, List<String> roles, String code)
public SimpleSession(DataInputExtended input) throws IOException
IOExceptionCopyright © 2010–2014 The Apache Software Foundation. All rights reserved.