|
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.ServerAuthFactory
Factory class for server authenticators.
Constructor Summary | |
ServerAuthFactory() |
Method Summary | |
static ServerAuth |
authenticate(java.lang.String password, java.lang.String ipAddress) Authenticates with the BPEL server using the administrative password specified by password . |
static ServerAuth |
authenticate(java.lang.String password, java.lang.String ipAddress, java.util.Hashtable contextProps) Authenticates with the BPEL server using the administrative password specified by password . |
static void |
validate(boolean logError, ServerAuth auth) Validates a set of server authentication credentials. |
static void |
validate(boolean logError, ServerAuth auth, java.util.Hashtable contextProps) Performs the same action as validate( boolean, ServerAuth ) 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 server is not located locally. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ServerAuthFactory()
Method Detail |
public static ServerAuth authenticate(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 server.password
- the administrative password for the BPEL serveripAddress
- IP address of the calling client (optional)ServerException
- if cannot authenticate to the server using the specified password.public static ServerAuth authenticate(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 server is not located locally.
password
- the administrative password for the BPEL serveripAddress
- 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 server is hostedServerException
- if cannot authenticate to the server using the specified password or if unable to connect to the remote J2EE application server with the specified context properties.public static void validate(boolean logError, ServerAuth auth) throws ServerException
logError
- set to true
if an authentication failure should be logged; false
if logging should be suppressed.auth
- authentication credentials for the BPEL serverServerException
- if cannot authenticate to the server using the specified password.public static void validate(boolean logError, ServerAuth auth, java.util.Hashtable contextProps) throws ServerException
validate( boolean, ServerAuth )
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 server 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 the BPEL servercontextProps
- the initial context properties to use to connect to a remote J2EE application server where the BPEL server is hostedServerException
- if cannot authenticate to the server using the specified password 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 |