at.gv.egovernment.moa.id.config.proxy
Class OAConfiguration

java.lang.Object
  extended byat.gv.egovernment.moa.id.config.proxy.OAConfiguration

public class OAConfiguration
extends Object

Holds configuration data concerning an online application for use by the MOA-ID Proxy component. These include the login type (stateful or stateless), the HTTP authentication type, and information needed to add authentication parameters or headers for a URL connection to the remote online application.

See Also:
MOAIDConfiguration-1.1.xsd, element Configuration

Field Summary
static String BASIC_AUTH
          Constant for an auth method
static String HEADER_AUTH
          Constant for an auth method
static String LOGINTYPE_STATEFUL
          Constant for an login method
static String LOGINTYPE_STATELESS
          Constant for an login method
static String PARAM_AUTH
          Constant for an auth method
 
Constructor Summary
OAConfiguration()
           
 
Method Summary
 String getAuthType()
          Returns the authType.
 String getBasicAuthPasswordMapping()
          Returns the basicAuthPasswordMapping.
 String getBasicAuthUserIDMapping()
          Returns the basicAuthUserIDMapping.
 Map getHeaderAuthMapping()
          Returns the headerAuthMapping.
 String getLoginType()
          Returns the loginType.
 Map getParamAuthMapping()
          Returns the paramAuthMapping.
 void setAuthType(String authLoginType)
          Sets the authType.
 void setBasicAuthPasswordMapping(String basicAuthPassword)
          Sets the basicAuthPasswordMapping.
 void setBasicAuthUserIDMapping(String basicAuthUserID)
          Sets the basicAuthUserIDMapping.
 void setHeaderAuthMapping(HashMap headerAuth)
          Sets the headerAuthMapping.
 void setLoginType(String loginType)
          Sets the loginType.
 void setParamAuthMapping(HashMap paramAuth)
          Sets the paramAuthMapping.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGINTYPE_STATEFUL

public static final String LOGINTYPE_STATEFUL
Constant for an login method

See Also:
Constant Field Values

LOGINTYPE_STATELESS

public static final String LOGINTYPE_STATELESS
Constant for an login method

See Also:
Constant Field Values

BASIC_AUTH

public static final String BASIC_AUTH
Constant for an auth method

See Also:
Constant Field Values

HEADER_AUTH

public static final String HEADER_AUTH
Constant for an auth method

See Also:
Constant Field Values

PARAM_AUTH

public static final String PARAM_AUTH
Constant for an auth method

See Also:
Constant Field Values
Constructor Detail

OAConfiguration

public OAConfiguration()
Method Detail

getBasicAuthPasswordMapping

public String getBasicAuthPasswordMapping()
Returns the basicAuthPasswordMapping.

Returns:
String

getBasicAuthUserIDMapping

public String getBasicAuthUserIDMapping()
Returns the basicAuthUserIDMapping.

Returns:
String

getHeaderAuthMapping

public Map getHeaderAuthMapping()
Returns the headerAuthMapping.

Returns:
HashMap

getLoginType

public String getLoginType()
Returns the loginType.

Returns:
String

getParamAuthMapping

public Map getParamAuthMapping()
Returns the paramAuthMapping.

Returns:
HashMap

setBasicAuthPasswordMapping

public void setBasicAuthPasswordMapping(String basicAuthPassword)
Sets the basicAuthPasswordMapping.


setBasicAuthUserIDMapping

public void setBasicAuthUserIDMapping(String basicAuthUserID)
Sets the basicAuthUserIDMapping.


setHeaderAuthMapping

public void setHeaderAuthMapping(HashMap headerAuth)
Sets the headerAuthMapping.


setLoginType

public void setLoginType(String loginType)
Sets the loginType.

Parameters:
loginType - The loginType to set

setParamAuthMapping

public void setParamAuthMapping(HashMap paramAuth)
Sets the paramAuthMapping.


getAuthType

public String getAuthType()
Returns the authType.

Returns:
String

setAuthType

public void setAuthType(String authLoginType)
Sets the authType.