Skip navigation links

Oracle BPEL Process Manager Client Java API Reference
10g Release 3 (10.1.3.1.0)

B28986-01


com.oracle.bpel.client.auth
Class ServerAuth

java.lang.Object
  extended by com.oracle.bpel.client.auth.ServerAuth

All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DomainAuth

public class ServerAuth
extends java.lang.Object
implements java.io.Serializable

This class contains the administrative authentication credentials for a BPEL server. This class should not be instantiated directly unless the authentication token for the BPEL server has been obtained beforehand. Users should use the ServerAuthFactory class to generate the token after authenticating with the administrative password.

Since:
2.0
See Also:
Serialized Form

Field Summary
protected  java.util.Hashtable mContextProps
           
protected  java.lang.String mIpAddress
           
protected  java.lang.String mToken
           

 

Constructor Summary
ServerAuth()
           
ServerAuth(java.util.Hashtable initContextProps)
           
ServerAuth(java.lang.String token, java.lang.String ipAddress)
          Constructs a BPEL server authenticator.

 

Method Summary
 java.util.Hashtable getContextProperties()
          Returns the initial context properties that will be used to gain access to the remote J2EE application server that the BPEL server has been deployed on.
 java.lang.String getIpAddress()
          Returns the client IP address passed in from the constructor.
 java.lang.String getToken()
          Returns the authentication token for this authenticator.
 void setContextProperties(java.util.Hashtable pContextProps)
          Sets the initial context properties that will be used to gain access to the remote J2EE application server that the BPEL server has been deployed on.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

mToken

protected java.lang.String mToken

mIpAddress

protected java.lang.String mIpAddress

mContextProps

protected java.util.Hashtable mContextProps

Constructor Detail

ServerAuth

public ServerAuth()

ServerAuth

public ServerAuth(java.util.Hashtable initContextProps)

ServerAuth

public ServerAuth(java.lang.String token,
                  java.lang.String ipAddress)
Constructs a BPEL server authenticator. An optional client IP address may be passed in; this information will be used to log failed attempts to authenticate with the BPEL server.
Parameters:
token - the authentication token for the BPEL server
ipAddress - IP address of the calling client (optional)

Method Detail

getToken

public java.lang.String getToken()
Returns the authentication token for this authenticator.

getIpAddress

public java.lang.String getIpAddress()
Returns the client IP address passed in from the constructor.

getContextProperties

public java.util.Hashtable getContextProperties()
Returns the initial context properties that will be used to gain access to the remote J2EE application server that the BPEL server has been deployed on. If the context properties is null the BPEL server is assumed to reside locally.

setContextProperties

public void setContextProperties(java.util.Hashtable pContextProps)
Sets the initial context properties that will be used to gain access to the remote J2EE application server that the BPEL server has been deployed on.

Skip navigation links

Oracle BPEL Process Manager Client Java API Reference
10g Release 3 (10.1.3.1.0)

B28986-01


Copyright © 2006, Oracle. All rights reserved.