public abstract class AbstractPrincipal extends Object implements Serializable, Principal
Principal implementation.
© Copyright 2007 Sans Pareil Technologies, Inc.
| Modifier and Type | Field and Description |
|---|---|
protected String |
name
The name of this principal instance.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractPrincipal(String name)
Create a new instance with the specified name.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
Compares this principal to the specified object.
|
String |
getName()
Return the
name of this principal. |
int |
hashCode()
Returns a hash code for this instance.
|
String |
toString()
Returns a string representation of this instance.
|
protected final String name
public boolean equals(Object object)
public String toString()
public int hashCode()