|
Oracle BPEL Process Manager Client API Reference 10g Release 2 (10.1.2) B25709-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.oracle.bpel.client.auth.DomainAuthFactory
Factory class for domain authenticators.
Constructor Summary | |
DomainAuthFactory() |
Method Summary | |
static DomainAuth |
authenticate(java.lang.String domainId, java.lang.String password, java.lang.String ipAddress) Authenticates with the specified BPEL process domain using the domain password specified by password . |
static DomainAuth |
authenticate(java.lang.String domainId, java.lang.String password, java.lang.String ipAddress, java.util.Hashtable contextProps) Authenticates with the specified BPEL process domain using the domain password specified by password . |
static void |
validate(boolean logError, DomainAuth auth) Validates a set of domain authentication credentials. |
static void |
validate(boolean logError, DomainAuth auth, java.util.Hashtable contextProps) Performs the same action as validate( boolean, DomainAuth ) but allows the user to pass in context properties that will be used to connect to a remote J2EE application in cases where the BPEL process domain is not located locally. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DomainAuthFactory()
Method Detail |
public static DomainAuth authenticate(java.lang.String domainId, java.lang.String password, java.lang.String ipAddress) throws ServerException
password
. An optional client IP address may be passed in; this information will be used to log failed attempts to authenticate with the BPEL process domain.domainId
- the BPEL process domain identifierpassword
- the password for the BPEL process domainipAddress
- IP address of the calling client (optional)ServerException
- if cannot authenticate to the domain using the specified password, or if no such domain exists with the specified domain identifier.public static DomainAuth authenticate(java.lang.String domainId, java.lang.String password, java.lang.String ipAddress, java.util.Hashtable contextProps) throws ServerException
password
. An optional client IP address may be passed in; this information will be used to log failed attempts to authenticate with the BPEL process domain.
This constructor allows users to pass in context properties that will be used to connect to a remote J2EE application in cases where the BPEL process domain is not located locally.
domainId
- the BPEL process domain identifierpassword
- the password for the BPEL process domainipAddress
- IP address of the calling client (optional)contextProps
- the initial context properties to use to connect to a remote J2EE application server where the BPEL process domain is hostedServerException
- either one of the following errors:
public static void validate(boolean logError, DomainAuth auth) throws ServerException
logError
- set to true
if an authentication failure should be logged; false
if logging should be suppressed.auth
- authentication credentials for particular domainServerException
- if cannot authenticate to the domain using the authenticator.public static void validate(boolean logError, DomainAuth auth, java.util.Hashtable contextProps) throws ServerException
validate( boolean, DomainAuth )
but allows the user to pass in context properties that will be used to connect to a remote J2EE application in cases where the BPEL process domain is not located locally.logError
- set to true
if an authentication failure should be logged; false
if logging should be suppressed.auth
- authentication credentials for particular domain.contextProps
- the initial context properties to use to connect to a remote J2EE application server where the BPEL process domain is hostedServerException
- if cannot authenticate to the domain using the authenticator or if unable to connect to the remote J2EE application server with the specified context properties.
|
Oracle BPEL Process Manager Client API Reference 10g Release 2 (10.1.2) B25709-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |