|
|||||||||
| Home >> All >> org >> securityfilter >> [ realm overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.securityfilter.realm
Class SimplePrincipal

java.lang.Objectorg.securityfilter.realm.SimplePrincipal
- All Implemented Interfaces:
- java.security.Principal, java.io.Serializable
- public class SimplePrincipal
- extends java.lang.Object
- implements java.security.Principal, java.io.Serializable
- extends java.lang.Object
SimplePrincipal - a simple, serializable Principal.
- Version:
- $Revision: 1.4 $ $Date: 2003/01/06 00:17:25 $
| Field Summary | |
private java.lang.String |
name
|
| Constructor Summary | |
private |
SimplePrincipal()
Default constructor is private. |
|
SimplePrincipal(java.lang.String name)
Constructor |
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Compares this principal to the specified object. |
java.lang.String |
getName()
Returns the name of this principal. |
int |
hashCode()
Returns a hashcode for this principal. |
java.lang.String |
toString()
Returns a string representation of this principal. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
name
private java.lang.String name
| Constructor Detail |
SimplePrincipal
private SimplePrincipal()
- Default constructor is private. Use SimplePrincipal(String name) constructor.
SimplePrincipal
public SimplePrincipal(java.lang.String name)
- Constructor
| Method Detail |
getName
public java.lang.String getName()
- Returns the name of this principal.
- Specified by:
getNamein interfacejava.security.Principal
equals
public boolean equals(java.lang.Object obj)
- Compares this principal to the specified object.
- Specified by:
equalsin interfacejava.security.Principal
toString
public java.lang.String toString()
- Returns a string representation of this principal.
- Specified by:
toStringin interfacejava.security.Principal
hashCode
public int hashCode()
- Returns a hashcode for this principal.
- Specified by:
hashCodein interfacejava.security.Principal
|
|||||||||
| Home >> All >> org >> securityfilter >> [ realm overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.securityfilter.realm.SimplePrincipal