public class PrincipalImpl extends Object implements JackrabbitPrincipal, Serializable
JackrabbitPrincipal
.Constructor and Description |
---|
PrincipalImpl(String name)
Creates a new principal with the given name.
|
public PrincipalImpl(String name)
name
- the name of this principalpublic boolean equals(Object obj)
equals
in interface Principal
equals
in class Object
Object.equals(Object)
public int hashCode()
hashCode
in interface Principal
hashCode
in class Object
Object.hashCode()
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.