public final class UnresolvedPrincipal extends Object implements Principal, Serializable
UnresolvedPermission.| Constructor and Description |
|---|
UnresolvedPrincipal(String name)
Constructs a new UnresolvedPrincipal instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
An unresolved principal is equal to another
unresolved principal if their names match.
|
String |
getName()
Returns the name of the principal.
|
int |
hashCode()
The hashCode of this object is equal to the hash code of its name.
|
String |
toString()
Returns a String representation of the UnresolvedPrincipal.
|
public UnresolvedPrincipal(String name)
name - the name of the Principalpublic String getName()
getName in interface PrincipalPrincipal.getName()public boolean equals(Object obj)
equals in interface Principalequals in class Objectobj - the object to compare to this oneObject.equals(java.lang.Object)Copyright © 2001-2019 The Apache Software Foundation. All rights reserved.