|
Oracle BPEL Process Manager Workflow Services API Reference 10g Release 2 (10.1.2) B25708-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.tip.pc.services.identity.LocalIdentityService
oracle.tip.pc.services.identity.RemoteIdentityService
RemoteIdentityService
is an Identity Service. It provides set of APIs to lookup and search users and groups in repository(OID or XML file), service to check whether the user or group has defined role, gets all derects reportees for given user and members of group.
Constructor Summary | |
RemoteIdentityService() Default Constructor |
Method Summary | |
boolean |
authenticateUser(java.lang.String userName, java.lang.String passwd) Authenticates User |
Group[] |
getAllGroups() Gets all groups in default realm |
User[] |
getAllUsers() Gets all users in default realm |
User[] |
getDirectReportees(java.lang.String managerName) Get direct reportees |
java.lang.String[] |
getManagement(java.lang.String userName, java.lang.String uptoUserName, java.lang.String uptoTitle, int level) Gets array of management name for given user |
User[] |
getParticipants(java.lang.String groupName, boolean direct) Get participants for given group/role |
boolean |
isUserInRole(java.lang.String userName, java.lang.String roleName) Defines whether user has the specifed role |
Group |
lookupGroup(java.lang.String groupName) Look up BPMGroup in scpecified realm by group name |
User |
lookupUser(java.lang.String userName) Looks up User in scpecified realm by role name |
Group[] |
searchGroups(java.lang.String attributeName, java.lang.String searchString) Searches groups having the searchString in the specified attributeName |
User[] |
searchUsers(java.lang.String attributeName, java.lang.String searchString) Searches users having the searchString in the specified attributeName |
Methods inherited from class oracle.tip.pc.services.identity.LocalIdentityService |
getManagementChain, getManagementChain, getManager, getStatus |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RemoteIdentityService()
Method Detail |
public User lookupUser(java.lang.String userName) throws BPMIdentityException, BPMIdentityNotFoundException
userName
- an user nameBPMIdentityException
BPMIdentityNotFoundException
public Group lookupGroup(java.lang.String groupName) throws BPMIdentityException, BPMIdentityNotFoundException
groupName
- a group nameBPMIdentityException
BPMIdentityNotFoundException
public User[] getAllUsers() throws BPMIdentityException, BPMIdentityNotFoundException
BPMIdentityException
BPMIdentityNotFoundException
public Group[] getAllGroups() throws BPMIdentityException, BPMIdentityNotFoundException
BPMIdentityException
BPMIdentityNotFoundException
public User[] searchUsers(java.lang.String attributeName, java.lang.String searchString) throws BPMIdentityException, BPMUnsupportedAttributeException
attributeName
- an attribute to the searchsearchString
- a string to the searchBPMIdentityException
BPMUnsupportedAttributeException
public Group[] searchGroups(java.lang.String attributeName, java.lang.String searchString) throws BPMIdentityException, BPMUnsupportedAttributeException
attributeName
- an attribute to the searchsearchString
- a string to the searchBPMIdentityException
BPMUnsupportedAttributeException
public User[] getDirectReportees(java.lang.String managerName) throws BPMIdentityException, BPMIdentityNotFoundException
managerName
- a manager nameBPMIdentityException
BPMIdentityNotFoundException
public User[] getParticipants(java.lang.String groupName, boolean direct) throws BPMIdentityNotFoundException, BPMIdentityException
groupName
- a group/role namedirect
- a boolean flag. If true method returns direct user participants, else all user participarts for given group/role nameBPMIdentityNotFoundException
BPMIdentityException
public boolean authenticateUser(java.lang.String userName, java.lang.String passwd) throws BPMAuthenticationException, BPMIdentityException
BPMAuthenticationException
BPMIdentityException
public boolean isUserInRole(java.lang.String userName, java.lang.String roleName) throws BPMIdentityException, BPMIdentityNotFoundException
userName
- is a user nameroleName
- is a role nameBPMIdentityException
BPMIdentityNotFoundException
public java.lang.String[] getManagement(java.lang.String userName, java.lang.String uptoUserName, java.lang.String uptoTitle, int level) throws BPMIdentityNotFoundException, BPMIdentityException
userName
- a user nameuptoUserName
- a search constraint to chain managers up to user nameuptoTitle
- a search constraint to chain managers up to titlelevel
- a management levelBPMIdentityNotFoundException
- if user not foundBPMIdentityException
- if error occurs
|
Oracle BPEL Process Manager Workflow Services API Reference 10g Release 2 (10.1.2) B25708-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |