Oracle BPEL Process Manager
Workflow Services API Reference
10g Release 2 (10.1.2)
B25708-01


oracle.tip.pc.services.identity
Interface BPMIdentity

All Superinterfaces:
BPMPrincipal, java.security.Principal
All Known Subinterfaces:
BPMAppRole, BPMGroup, BPMRole, BPMUser

public interface BPMIdentity
extends BPMPrincipal

BPMIdentity interface defines BPEL Process Manager Indentity


Method Summary
 java.util.Set getActions()
          Gets list of Actions which this BPMIndentity has.
 java.util.List getAppRoles(boolean direct)
          Gets list of application roles,BPMAppRoles, which this BPMIndentity has
 java.lang.String getEmail()
          Gets e-mail address for this BPMIdentity
 java.util.List getGroups(boolean direct)
          Gets list of all BPMGroup objects which this BPMIndentity has
 java.util.List getRoles(RoleClassifier roleType, boolean direct)
          Gets list of all BPMRoles which this BPMIndentity has
 boolean isInRole(BPMRole role)
          Defines whether the BPMIdentity belongs to given BPMRole
 boolean isInRole(java.lang.String roleName)
          Defines whether the BPMIdentity belongs to given BPMRole name

 

Methods inherited from interface oracle.tip.pc.services.identity.BPMPrincipal
getAttribute, getAttributes, getDescription, getDisplayName, getFullName, getGuid

 

Methods inherited from interface java.security.Principal
equals, getName, hashCode, toString

 

Method Detail

getEmail

public java.lang.String getEmail()
Gets e-mail address for this BPMIdentity
Returns:
e-mail adderess or null

isInRole

public boolean isInRole(BPMRole role)
Defines whether the BPMIdentity belongs to given BPMRole
Parameters:
role -
Returns:
trrue if this identity belongs to given BPMRole

isInRole

public boolean isInRole(java.lang.String roleName)
                 throws BPMIdentityNotFoundException
Defines whether the BPMIdentity belongs to given BPMRole name
Parameters:
roleName - is a BPMRole name
Returns:
boolean
Throws:
BPMIdentityException - if name is not resolve in the realms
BPMIdentityNotFoundException

getAppRoles

public java.util.List getAppRoles(boolean direct)
Gets list of application roles,BPMAppRoles, which this BPMIndentity has
Parameters:
direct - a boolean if true only direct roles, else all roles
Returns:
List of granted BPMRoles objects which this BPMIndentity has

getRoles

public java.util.List getRoles(RoleClassifier roleType,
                               boolean direct)
Gets list of all BPMRoles which this BPMIndentity has
Parameters:
roleType - a role classifier
direct - a boolean if true only direct roles, else all roles
Returns:
List of granted BPMRoles objects which this BPMIndentity has

getGroups

public java.util.List getGroups(boolean direct)
Gets list of all BPMGroup objects which this BPMIndentity has
Parameters:
direct - is a boolean flag. If is true only direct group, elase all group
Returns:
List of BPMGroups objects which this BPMIndentity belongs

getActions

public java.util.Set getActions()
Gets list of Actions which this BPMIndentity has.
Returns:
List of Actions

Oracle BPEL Process Manager
Workflow Services API Reference
10g Release 2 (10.1.2)
B25708-01


Copyright © 2005, Oracle. All rights reserved.