Skip navigation links

Oracle Fusion Middleware
Workflow Services Java API Reference for Oracle SOA Suite
11g Release 1 (11.1.1.4.0)
E10660-04


oracle.tip.pc.services.identity
Interface BPMAppRole

All Superinterfaces:
BPMIdentity, BPMPrincipal, BPMRole, java.security.Principal

public interface BPMAppRole
extends BPMRole

BPMRole interface defines BPEL Process Manager Application Role


Method Summary
 java.lang.String getAppID()
          Gets application id
 java.security.PermissionCollection getPermissions(java.lang.String appId)
          Gets the permissions associated with the AppRole for a given application
 boolean hasPermission(java.security.Permission perm, java.lang.String appId)
          Checks whether the AppRole has specify permission

 

Methods inherited from interface oracle.tip.pc.services.identity.BPMRole
getGrantees, getManagers, getOwners, getParticipants, isOwneredBy

 

Methods inherited from interface oracle.tip.pc.services.identity.BPMIdentity
getActions, getAppRoles, getAppRoles, getEmail, getGrantedRoles, getGrantedRoles, getGroups, getIdentityType, getManagedRoles, getOwnedRoles, getRoles, isInRole, isInRole, isOwner

 

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

 

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

 

Method Detail

getAppID

java.lang.String getAppID()
Gets application id
Returns:
application id

hasPermission

boolean hasPermission(java.security.Permission perm,
                      java.lang.String appId)
                      throws BPMIdentityException
Checks whether the AppRole has specify permission
Parameters:
perm - a Permission object
appId - a application Id
Returns:
true if user has specified permission, else false
Throws:
BPMIdentityException - if error occurs

getPermissions

java.security.PermissionCollection getPermissions(java.lang.String appId)
                                                  throws BPMIdentityException
Gets the permissions associated with the AppRole for a given application
Parameters:
appId - a application Id
Returns:
PermissionCollection
Throws:
BPMIdentityException - if error occurs

Skip navigation links

Oracle Fusion Middleware
Workflow Services Java API Reference for Oracle SOA Suite
11g Release 1 (11.1.1.4.0)
E10660-04


Copyright © 2009, 2011, Oracle and/or its affiliates. All rights reserved.