Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1)

E10686-03


oracle.adf.share.security.authentication
Class ADFUserPrincipal

java.lang.Object
  extended by 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
           

 

Constructor Summary
ADFUserPrincipal()
           
ADFUserPrincipal(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

 

Field Detail

_name

protected java.lang.String _name

Constructor Detail

ADFUserPrincipal

public ADFUserPrincipal()

ADFUserPrincipal

public ADFUserPrincipal(java.lang.String name)

Method Detail

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

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1)

E10686-03


Copyright © 1997, 2009, Oracle. All rights reserved.