Skip navigation links

Oracle BPEL Process Manager
Workflow Services API Reference
10g Release 3 (10.1.3)
B28985-02


oracle.tip.pc.services.identity
Interface BPMAuthenticationService

All Superinterfaces:
Service
All Known Subinterfaces:
BPMIdentityService

public interface BPMAuthenticationService
extends Service

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, java.lang.String passwd)
          Authenticates the given user and password against the system.
 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

authenticateUser

public void authenticateUser(java.lang.String userName,
                             java.lang.String passwd)
                      throws BPMAuthenticationException,
                             BPMIdentityException
Authenticates the given user and password against the system.
Parameters:
userName - user name
passwd - user password
Throws:
BPMAuthenticationException - if user not authenticated
BPMIdentityException - if error occurs

getRealmName

public java.lang.String getRealmName()
                              throws BPMIdentityException
Gets the name of the realm associated with this service.
Returns:
realm name
Throws:
BPMIdentityException - If any exception condition occurs.

getConfiguration

public Configuration getConfiguration()
                               throws BPMIdentityException
Gets the configuration associated with this service
Returns:
configuration
Throws:
BPMIdentityException - If any exception condition occurs.

getProvider

public BPMProvider getProvider()
Gets the provider associated with this service
Returns:
BPMProvider instance
Throws:
BPMIdentityException - If any exception condition occurs.

Skip navigation links

Oracle BPEL Process Manager
Workflow Services API Reference
10g Release 3 (10.1.3)
B28985-02


Copyright © 2006, Oracle. All rights reserved.