Skip navigation links

Oracle Fusion Middleware Extensibility Java API Reference for Oracle Access Management Access Manager
11g Release 2 (11.1.2.1.0)

E27137-02


oracle.security.am.common.utilities.principal
Class OAMUserPrincipal

java.lang.Object
  extended by oracle.security.am.common.utilities.principal.OAMUserPrincipal

All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, java.security.Principal

public class OAMUserPrincipal
extends java.lang.Object
implements java.security.Principal, java.io.Externalizable

OAMUserPrincipal can be used to define name for a user when a subject is created in custom authentication plug-in.

Since:
OAM 11.1.1.5.0
Version:
OAM 11.1.2.0.0
See Also:
Serialized Form

Constructor Summary
OAMUserPrincipal()
          Default constructor.
OAMUserPrincipal(java.lang.String name)
          Creates a principal with name.

 

Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getName()
           
 int hashCode()
           
 void readExternal(java.io.ObjectInput in)
           
 java.lang.String toString()
           
 void writeExternal(java.io.ObjectOutput oo)
           

 

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

 

Constructor Detail

OAMUserPrincipal

public OAMUserPrincipal()
Default constructor.

OAMUserPrincipal

public OAMUserPrincipal(java.lang.String name)
Creates a principal with name.
Parameters:
name - Principal name

Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface java.security.Principal

equals

public boolean equals(java.lang.Object obj)
Specified by:
equals in interface java.security.Principal
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Specified by:
hashCode in interface java.security.Principal
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Specified by:
toString in interface java.security.Principal
Overrides:
toString in class java.lang.Object

writeExternal

public void writeExternal(java.io.ObjectOutput oo)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException

Skip navigation links

Oracle Fusion Middleware Extensibility Java API Reference for Oracle Access Management Access Manager
11g Release 2 (11.1.2.1.0)

E27137-02


Copyright © 2013, Oracle Corp. All Rights Reserved.