public class PrincipalImpl extends java.lang.Object implements JackrabbitPrincipal
JackrabbitPrincipal
interface.Constructor and Description |
---|
PrincipalImpl(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Two principals are equal, if their names are.
|
java.lang.String |
getName() |
int |
hashCode() |
java.lang.String |
toString() |
public java.lang.String getName()
getName
in interface java.security.Principal
public boolean equals(java.lang.Object obj)
equals
in interface java.security.Principal
equals
in class java.lang.Object
Object.equals(Object)
public int hashCode()
hashCode
in interface java.security.Principal
hashCode
in class java.lang.Object
Object.hashCode()
public java.lang.String toString()
toString
in interface java.security.Principal
toString
in class java.lang.Object
Object.toString()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"