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 OAMGroupPrincipal

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

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

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

OAMGroupPrincipal can be used to define group membership 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
OAMGroupPrincipal()
          Default constructor
OAMGroupPrincipal(java.lang.String name)
          Creates a principal with name.

 

Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getName()
          Gets the name of the principal
 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

OAMGroupPrincipal

public OAMGroupPrincipal()
Default constructor

OAMGroupPrincipal

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

Method Detail

getName

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

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.