public class PrincipalImpl extends Object implements org.apache.jackrabbit.api.security.principal.JackrabbitPrincipal, Serializable
JackrabbitPrincipal.| Constructor and Description |
|---|
PrincipalImpl(String name)
Creates a new principal with the given name.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Two principals are equal, if their names are.
|
String |
getName() |
int |
hashCode() |
String |
toString() |
public PrincipalImpl(String name)
name - the name of this principalpublic boolean equals(Object obj)
equals in interface Principalequals in class ObjectObject.equals(Object)public int hashCode()
hashCode in interface PrincipalhashCode in class ObjectObject.hashCode()Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.