Skip navigation links

Oracle Fusion Middleware Identity Governance Framework Identity Directory Java API Reference
11 g Release 2 (11.1.2)

E27140-01


oracle.igf.ids
Class IDSPrincipal

java.lang.Object
  extended by oracle.igf.ids.IDSPrincipal

All Implemented Interfaces:
java.security.Principal

public class IDSPrincipal
extends java.lang.Object
implements java.security.Principal

Implementation of java.security.Principal


Constructor Summary
IDSPrincipal(java.lang.String name)
          Constructs IDSPrincipal object

 

Method Summary
 boolean equals(java.lang.Object obj)
          Checks if the input object is same as this object
 java.lang.String getName()
          Gets principal name
 java.lang.String toString()
          Converts principal to string

 

Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Methods inherited from interface java.security.Principal
hashCode

 

Constructor Detail

IDSPrincipal

public IDSPrincipal(java.lang.String name)
Constructs IDSPrincipal object
Parameters:
name - Pricnipal name

Method Detail

getName

public java.lang.String getName()
Gets principal name
Specified by:
getName in interface java.security.Principal
Returns:
principal name

toString

public java.lang.String toString()
Converts principal to string
Specified by:
toString in interface java.security.Principal
Overrides:
toString in class java.lang.Object
Returns:
string value of IDSPrincipal

equals

public boolean equals(java.lang.Object obj)
Checks if the input object is same as this object
Specified by:
equals in interface java.security.Principal
Overrides:
equals in class java.lang.Object
Parameters:
obj - input object to be compared
Returns:
true if the input object is same as this object ; false otherwise

Skip navigation links

Oracle Fusion Middleware Identity Governance Framework Identity Directory Java API Reference
11 g Release 2 (11.1.2)

E27140-01


Copyright © 2012 Oracle. All Rights Reserved.