org.apache.jackrabbit.core.security
Class UserPrincipal
java.lang.Object
org.apache.jackrabbit.core.security.UserPrincipal
- All Implemented Interfaces:
- Principal, Serializable
- public class UserPrincipal
- extends Object
- implements Principal, Serializable
A UserPrincipal
...
- See Also:
- Serialized Form
UserPrincipal
public UserPrincipal(String name)
throws IllegalArgumentException
- Creates a
UserPrincipal
with the given name.
- Parameters:
name
- the name of this principal
- Throws:
IllegalArgumentException
- if name
is null
.
toString
public String toString()
- Specified by:
toString
in interface Principal
equals
public boolean equals(Object obj)
- Specified by:
equals
in interface Principal
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Principal
getName
public String getName()
-
- Specified by:
getName
in interface Principal
Copyright © 2004-2006 The Apache Software Foundation. All Rights Reserved.