Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 2 (11.1.2.1.0)

E17486-02

oracle.adf.share.security.authentication
Class ADFRolePrincipal

java.lang.Object
  extended by oracle.adf.share.security.authentication.ADFUserPrincipal
      extended by oracle.adf.share.security.authentication.ADFRolePrincipal
All Implemented Interfaces:
java.security.Principal

public class ADFRolePrincipal
extends ADFUserPrincipal


Field Summary
 
Fields inherited from class oracle.adf.share.security.authentication.ADFUserPrincipal
_name
 
Constructor Summary
ADFRolePrincipal(java.lang.String name)
           
 
Method Summary
 boolean addUserGrantee(java.security.Principal user)
           
 boolean equals(java.lang.Object another)
          Compares this principal to the specified object.
 java.util.List getUserGrantees()
           
 boolean removeUserGrantee(java.security.Principal user)
           
 
Methods inherited from class oracle.adf.share.security.authentication.ADFUserPrincipal
getName, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ADFRolePrincipal

public ADFRolePrincipal(java.lang.String name)
Method Detail

addUserGrantee

public boolean addUserGrantee(java.security.Principal user)

removeUserGrantee

public boolean removeUserGrantee(java.security.Principal user)

getUserGrantees

public java.util.List getUserGrantees()

equals

public boolean equals(java.lang.Object another)
Description copied from class: ADFUserPrincipal
Compares this principal to the specified object.

Specified by:
equals in interface java.security.Principal
Overrides:
equals in class ADFUserPrincipal
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.

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 2 (11.1.2.1.0)

E17486-02

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