Skip navigation links
oracle.adf.share.security.authentication
Class ADFUserPrincipal
java.lang.Object
oracle.adf.share.security.authentication.ADFUserPrincipal
- All Implemented Interfaces:
- java.security.Principal
- Direct Known Subclasses:
- ADFRolePrincipal
-
public class ADFUserPrincipal
- extends java.lang.Object
- implements java.security.Principal
Field Summary |
protected java.lang.String |
_name
|
Method Summary |
boolean |
equals(java.lang.Object another)
Compares this principal to the specified object. |
java.lang.String |
getName()
Returns the name of this principal. |
int |
hashCode()
|
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 |
_name
protected java.lang.String _name
ADFUserPrincipal
public ADFUserPrincipal()
ADFUserPrincipal
public ADFUserPrincipal(java.lang.String name)
toString
public java.lang.String toString()
- Returns a string representation of this principal.
-
- Specified by:
toString
in interface java.security.Principal
- Overrides:
toString
in class java.lang.Object
-
- Returns:
- a string representation of this principal.
getName
public java.lang.String getName()
- Returns the name of this principal.
-
- Specified by:
getName
in interface java.security.Principal
-
- Returns:
- the name of this principal.
equals
public boolean equals(java.lang.Object another)
- Compares this principal to the specified object.
-
- Specified by:
equals
in interface java.security.Principal
- Overrides:
equals
in class java.lang.Object
-
- Parameters:
another
- principal to compare with.
- Returns:
- true if the principal passed in is the same as that encapsulated by this principal, and false otherwise.
hashCode
public int hashCode()
-
- Specified by:
hashCode
in interface java.security.Principal
- Overrides:
hashCode
in class java.lang.Object
Skip navigation links
Copyright © 1997, 2012, Oracle. All rights reserved.