Package org.hippoecm.hst.security
Class TransientUser
- java.lang.Object
-
- org.hippoecm.hst.security.TransientUser
-
- All Implemented Interfaces:
Serializable
,Principal
,User
public class TransientUser extends Object implements User
An User Principal which optionally may hold a serializablegetUserObject()
which later can be used to provide additional user info- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TransientUser()
TransientUser(String name)
TransientUser(String name, Serializable userObject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getName()
Serializable
getUserObject()
int
hashCode()
-
-
-
Constructor Detail
-
TransientUser
public TransientUser()
-
TransientUser
public TransientUser(String name)
-
TransientUser
public TransientUser(String name, Serializable userObject)
-
-
Method Detail
-
getUserObject
public Serializable getUserObject()
-
equals
public boolean equals(Object o)
-
-