Package oracle.tip.pc.services.identity
Interface BPMAppRole
- All Superinterfaces:
BPMIdentity,BPMPrincipal,BPMRole,Principal
BPMRole interface defines BPEL Process Manager Application Role-
Method Summary
Modifier and TypeMethodDescriptiongetAppID()Gets application idgetPermissions(String appId) Gets the permissions associated with the AppRole for a given applicationbooleanhasPermission(Permission perm, String appId) Checks whether the AppRole has specify permissionMethods inherited from interface oracle.tip.pc.services.identity.BPMIdentity
getActions, getAppRoles, getAppRoles, getEmail, getGrantedRoles, getGrantedRoles, getGroups, getIdentityType, getManagedRoles, getOwnedRoles, getRoles, isInAppRole, isInGroup, isInRole, isInRole, isOwnerMethods inherited from interface oracle.tip.pc.services.identity.BPMPrincipal
getAttribute, getAttributes, getDescription, getDisplayName, getDisplayName, getFullName, getGuid, getRealmName, getUniqueName, toNodeMethods inherited from interface oracle.tip.pc.services.identity.BPMRole
getGrantees, getManagers, getOwners, getParticipants, isOwneredBy
-
Method Details
-
getAppID
String getAppID()Gets application id- Returns:
- application id
-
hasPermission
Checks whether the AppRole has specify permission- Parameters:
perm- a Permission objectappId- a application Id- Returns:
- true if user has specified permission, else false
- Throws:
BPMIdentityException- if error occurs
-
getPermissions
Gets the permissions associated with the AppRole for a given application- Parameters:
appId- a application Id- Returns:
- PermissionCollection
- Throws:
BPMIdentityException- if error occurs
-