public final class UnresolvedPrincipal
extends java.lang.Object
implements java.security.Principal, java.io.Serializable
UnresolvedPermission.| Constructor and Description |
|---|
UnresolvedPrincipal(java.lang.String name)
Constructs a new UnresolvedPrincipal instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
An unresolved principal is equal to another
unresolved principal if their names match.
|
java.lang.String |
getName()
Returns the name of the principal.
|
int |
hashCode()
The hashCode of this object is equal to the hash code of its name.
|
java.lang.String |
toString()
Returns a String representation of the UnresolvedPrincipal.
|
public UnresolvedPrincipal(java.lang.String name)
name - the name of the Principalpublic java.lang.String getName()
getName in interface java.security.PrincipalPrincipal.getName()@CheckReturnValue @Nonnull public java.lang.String toString()
toString in interface java.security.PrincipaltoString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in interface java.security.Principalequals in class java.lang.Objectobj - the object to compare to this oneObject.equals(java.lang.Object)@CheckReturnValue public int hashCode()
hashCode in interface java.security.PrincipalhashCode in class java.lang.ObjectstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.