|
Oracle Fusion Middleware Workflow Services Java API Reference for Oracle SOA Suite 11g Release 1 (11.1.1.7) E10660-11 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BPMAuthenticationService
BPMAuthenticationService
defines BPEL Process Manager Authentication Service
An instance can be obtained from the ServiceFactory. For example:
BPMAuthenticationService service = ServiceFactory.getAuthenticationServiceInstance();
BPMAuthenticationService service = ServiceFactory.getAuthenticationServiceInstance("myRealm");
This method will fetch the service instance as configured in the identity service configuration.
Method Summary | |
---|---|
void |
authenticateUser(java.lang.String userName,
char[] password)
Authenticates the given user and password against the system. |
void |
authenticateUser(java.lang.String userName,
java.lang.String password)
Deprecated. since release 11. Use authenticateUser(String, char[]) instead |
Configuration |
getConfiguration()
Gets the configuration associated with this service |
BPMProvider |
getProvider()
Gets the provider associated with this service |
java.lang.String |
getRealmName()
Gets the name of the realm associated with this service. |
Methods inherited from interface oracle.tip.pc.services.common.Service |
---|
getStatus |
Method Detail |
---|
void authenticateUser(java.lang.String userName, java.lang.String password) throws BPMAuthenticationException, BPMIdentityException
authenticateUser(String, char[])
instead
userName
- user namepassword
- user password
BPMAuthenticationException
- if user not authenticated
BPMIdentityException
- if error occursvoid authenticateUser(java.lang.String userName, char[] password) throws BPMAuthenticationException, BPMIdentityException
userName
- The name of the user who is to be authenticatedpassword
- The password as a character array
BPMAuthenticationException
- If authentication fails or causes an exception condition.
BPMIdentityException
- If any other exception condition occurs.java.lang.String getRealmName() throws BPMIdentityException
BPMIdentityException
- If any exception condition occurs.Configuration getConfiguration() throws BPMIdentityException
BPMIdentityException
- If any exception condition occurs.BPMProvider getProvider()
BPMIdentityException
- If any exception condition occurs.
|
Oracle Fusion Middleware Workflow Services Java API Reference for Oracle SOA Suite 11g Release 1 (11.1.1.7) E10660-11 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |