org.nakedobjects.runtime.authentication.standard
Class SimpleSession
java.lang.Object
org.nakedobjects.metamodel.authentication.AuthenticationSessionAbstract
org.nakedobjects.runtime.authentication.standard.SimpleSession
- All Implemented Interfaces:
- java.io.Serializable, AuthenticationSession, Encodable
public final class SimpleSession
- extends AuthenticationSessionAbstract
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SimpleSession
public SimpleSession(java.lang.String name,
java.lang.String[] roles)
- as per
SimpleSession(String, List).
SimpleSession
public SimpleSession(java.lang.String name,
java.util.List<java.lang.String> roles)
- Defaults
AuthenticationSessionAbstract.getValidationCode() to empty string ("").
SimpleSession
public SimpleSession(java.lang.String name,
java.lang.String[] roles,
java.lang.String code)
SimpleSession
public SimpleSession(java.lang.String name,
java.util.List<java.lang.String> roles,
java.lang.String code)
SimpleSession
public SimpleSession(DataInputExtended input)
throws java.io.IOException
- Throws:
java.io.IOException
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
equals
public boolean equals(SimpleSession other)
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.