|
Oracle Containers for J2EE Security Java API Reference 10g Release 3 (10.1.3.1.0) B32115-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.jazn.realm.GenericPrincipal
Field Summary | |
protected java.lang.String |
_canonicalName |
protected java.lang.String |
_desc |
protected java.lang.String |
_name |
Constructor Summary | |
GenericPrincipal(java.lang.String name) |
Method Summary | |
int |
compareTo(GenericPrincipal gp) |
int |
compareTo(java.lang.Object o) |
java.lang.String |
getDescription() Returns description string associated with this principal. |
java.lang.String |
getDisplayName() Returns display name associated with this principal. |
java.lang.String |
getFullName() Returns the Fullname of the principal |
java.lang.String |
getName() Return the name of the principal |
Realm |
getRealm() Returns the Realm that this Principal is associated with throws UnsupportedOperationException if not supported. |
int |
hashCode() |
void |
setDescription(java.lang.String desc) Sets the description for this principal. |
java.lang.String |
toString() |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.security.Principal |
equals |
Field Detail |
protected java.lang.String _name
protected java.lang.String _desc
protected java.lang.String _canonicalName
Constructor Detail |
public GenericPrincipal(java.lang.String name)
Method Detail |
public java.lang.String getName()
getName
in interface java.security.Principal
public Realm getRealm()
getRealm
in interface RealmPrincipal
public java.lang.String getFullName()
getFullName
in interface RealmPrincipal
public java.lang.String getDisplayName()
getDisplayName
in interface RealmPrincipal
public java.lang.String getDescription()
getDescription
in interface RealmPrincipal
public void setDescription(java.lang.String desc)
setDescription
in interface RealmPrincipal
desc
- the description of this principal. throws UnsupportedOperationException if not possible.public int hashCode()
hashCode
in interface java.security.Principal
public java.lang.String toString()
toString
in interface java.security.Principal
public int compareTo(GenericPrincipal gp)
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
|
Oracle Containers for J2EE Security Java API Reference 10g Release 3 (10.1.3.1.0) B32115-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |