|
Oracle BPEL Process Manager Workflow Services API Reference 10g Release 3 (10.1.3) B28985-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
BPMProvider
defines Identity Service Provider Interface
Method Summary | |
void |
authenticateUser(java.lang.String name, java.lang.String password) Authenticates the user in the system. |
java.lang.String |
getDefaultRealmName() Gets the default realm name |
java.util.Set |
getGrantedRoles(BPMPrincipal principal, boolean direct) Gets granted roles to principal |
java.util.Set |
getGrantees(java.lang.String roleName, boolean direct) Gets all grantee for given group/role name |
java.util.Map |
getObjectAttributes(BPMPrincipal pr) Get object Attributes return map - an attribute map containing the attributes of the object. |
java.util.Set |
getOwnedRoles(BPMPrincipal principal, boolean direct) Get roles owned by BPMPrincipal |
java.util.Set |
getOwners(BPMRole role, boolean direct) Gets users who own given role |
java.lang.String |
getProviderAttributeName(java.lang.Class classifier, java.lang.String attrName) Gets provider attribute name. |
ProviderCfg |
getProviderCfg() Gets provider config associated with this provider. |
java.util.List |
getRoles(RoleClassifier roleType) Gets Roles of the specified type. |
java.util.List |
getUsers() Gets all users |
BPMGroup |
lookupGroup(java.lang.String name) Looks up BPMGroup in specified realm by role name |
BPMRole |
lookupRole(java.lang.String name) Looks up BPMRole in specified realm by role name |
BPMUser |
lookupUser(java.lang.String name) Looks up BPMUser in the scpecified logical realm using the given user name |
BPMRole |
populateDetails(BPMRole role) Loads BPMRole Details. |
BPMUser |
populateDetails(BPMUser user) Loads BPMUser Details |
java.util.List |
searchRoles(RoleClassifier classifier, SearchFilter filter) Searches BPMRole based on the classifier and search filter. |
java.util.List |
searchRoles(RoleClassifier classifier, java.lang.String attrName, java.lang.String attrValue) Searches BPMRole based on teh classifier and attribute name-value pair. |
java.util.List |
searchUsers(SearchFilter filter) Searches BPMUsers based on the criteria specified in teh search filter. |
java.util.List |
searchUsers(java.lang.String attrName, java.lang.String attrValue) Searches BPMUsers with the given attribute name and value pair. |
Method Detail |
public ProviderCfg getProviderCfg()
public java.lang.String getDefaultRealmName() throws BPMIdentityException
BPMIdentityException
- If exception condition occurs.public BPMUser lookupUser(java.lang.String name) throws BPMIdentityException, BPMIdentityNotFoundException
name
- user nameBPMIdentityException
- If exception condition occurs.BPMIdentityNotFoundException
- If user is not foundpublic BPMGroup lookupGroup(java.lang.String name) throws BPMIdentityException, BPMIdentityNotFoundException
name
- group nameBPMIdentityNotFoundException
- If group is not foundBPMIdentityException
- If exception condition occurs.public BPMRole lookupRole(java.lang.String name) throws BPMIdentityException, BPMIdentityNotFoundException
name
- a role nameBPMIdentityNotFoundException
- If role is not foundBPMIdentityException
- If exception condition occurs.public java.util.List getUsers() throws BPMIdentityException
BPMIdentityException
- If exception condition occurs.public java.util.List getRoles(RoleClassifier roleType) throws BPMIdentityException
roleType
- a role classifierBPMIdentityException
- If exception condition occurs.public java.util.Set getGrantedRoles(BPMPrincipal principal, boolean direct) throws BPMIdentityException
principal
- a BPMPrincipal objectdirect
- a boolean flag. if true return direct granted role, else allBPMIdentityException
- If exception condition occurs.public java.util.Set getGrantees(java.lang.String roleName, boolean direct) throws BPMIdentityException, BPMIdentityNotFoundException
roleName
- a role namedirect
- a boolean flag. If true method returns only direct participans, else all.BPMIdentityException
- If exception condition occurs.BPMIdentityNotFoundException
public java.util.List searchUsers(java.lang.String attrName, java.lang.String attrValue) throws BPMIdentityException, BPMUnsupportedAttributeException
attrName
-attrValue
-BPMIdentityException
- If exception condition occurs.BPMUnsupportedAttributeException
public java.util.List searchUsers(SearchFilter filter) throws BPMIdentityException, BPMUnsupportedAttributeException
filter
- a SearchFilter instance.BPMIdentityException
- If exception condition occurs.BPMUnsupportedAttributeException
public java.util.List searchRoles(RoleClassifier classifier, java.lang.String attrName, java.lang.String attrValue) throws BPMIdentityException, BPMUnsupportedAttributeException
classifier
- RoleClassifierattrName
-attrValue
-BPMIdentityException
- If exception condition occurs.BPMUnsupportedAttributeException
public java.util.List searchRoles(RoleClassifier classifier, SearchFilter filter) throws BPMIdentityException, BPMUnsupportedAttributeException
classifier
- RoleClassifierfilter
- a SearchFilterBPMIdentityException
- If exception condition occurs.BPMUnsupportedAttributeException
public BPMRole populateDetails(BPMRole role) throws BPMIdentityException, BPMIdentityNotFoundException
BPMIdentityException
- If exception condition occurs.BPMIdentityNotFoundException
- If role is not foundpublic BPMUser populateDetails(BPMUser user) throws BPMIdentityException, BPMIdentityNotFoundException
user
- a BPMUser to populateBPMIdentityException
- If exception condition occurs.BPMIdentityNotFoundException
- if role is not foundpublic java.util.Set getOwnedRoles(BPMPrincipal principal, boolean direct) throws BPMIdentityException
principal
- The owner principal.direct
- a boolean flag. If true method returns only directly owned roles.BPMIdentityException
public java.util.Set getOwners(BPMRole role, boolean direct) throws BPMIdentityException
role
- The role whose owners are to be founddirect
- a boolean flag, if true only direct owners are returned, else allBPMIdentityException
- If exception condition occurs.public java.util.Map getObjectAttributes(BPMPrincipal pr) throws BPMIdentityException
BPMIdentityException
public void authenticateUser(java.lang.String name, java.lang.String password) throws BPMIdentityException, BPMAuthenticationException
name
- The name of the user to be authenticated.password
- The password of the user to be authenticated.BPMIdentityException
- If exception condition occurs.BPMAuthenticationException
- If the user could not be authenticated or if an exception condition occured during authentication.public java.lang.String getProviderAttributeName(java.lang.Class classifier, java.lang.String attrName)
classifier
-attrName
-
|
Oracle BPEL Process Manager Workflow Services API Reference 10g Release 3 (10.1.3) B28985-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2006, Oracle. All rights reserved.