at.knowcenter.wag.egov.egiz.sig.connectors.bku
Class EnvelopedBase64BKUConnector.Environment

java.lang.Object
  extended byat.knowcenter.wag.egov.egiz.sig.connectors.ConnectorEnvironment
      extended byat.knowcenter.wag.egov.egiz.sig.connectors.bku.EnvelopedBase64BKUConnector.Environment
Direct Known Subclasses:
OldEnvelopingBase64BKUConnector.OverriddenEnvironment
Enclosing class:
EnvelopedBase64BKUConnector

public static class EnvelopedBase64BKUConnector.Environment
extends ConnectorEnvironment

Holds environment configuration information like templates.

Author:
wprinz

Field Summary
protected  String cert_alg_ecdsa
           
protected  String cert_alg_rsa
           
protected static String ECDSA_CERT_ALG_KEY
          The configuration key for the ECDSA cert alg property.
protected  String profile
           
protected static String RSA_CERT_ALG_KEY
          The configuration key for the RSA cert alg property.
protected  String sign_keybox_identifier
           
protected static String SIGN_KEYBOX_IDENTIFIER_KEY
          The configuration key of the sign keybox identifier.
protected  String sign_request_template
           
protected static String SIGN_REQUEST_TEMPLATE_KEY
          The configuration key of the sign request template.
protected  String sign_url
           
protected static String SIGN_URL_KEY
          The configuration key of the sign URL.
protected  String verify_request_template
           
protected static String VERIFY_REQUEST_TEMPLATE_KEY
          The configuration key of the verify request template.
protected  String verify_template
           
protected static String VERIFY_TEMPLATE_KEY
          The configuration key of the verify template.
protected  String verify_url
           
protected static String VERIFY_URL_KEY
          The configuration key of the verify URL.
 
Constructor Summary
EnvelopedBase64BKUConnector.Environment(String profile)
          Initializes the environment with a given profile.
 
Method Summary
 String getCertAlgEcdsa()
          Returns the ecdsa cert alg property.
 String getCertAlgRsa()
          Returns the rsa cert alg property.
static String getConnectorValueFromProfile(SettingsReader settings, String profile, String key)
          Reads the configuration entry given by the key, first from the given profile, if not found from the defaults.
 String getProfile()
           
 String getSignKeyboxIdentifier()
          Returns the sign keybox identifier.
 String getSignRequestTemplate()
          Returns the sign request template.
 String getSignURL()
          Returns the sign URL.
 String getVerifyRequestTemplate()
          Returns the verify request template.
 String getVerifyTemplate()
          Returns the verify template.
 String getVerifyURL()
          Returns the verify URL.
 
Methods inherited from class at.knowcenter.wag.egov.egiz.sig.connectors.ConnectorEnvironment
getDefaultAlgForCert
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIGN_KEYBOX_IDENTIFIER_KEY

protected static final String SIGN_KEYBOX_IDENTIFIER_KEY
The configuration key of the sign keybox identifier.

See Also:
Constant Field Values

SIGN_REQUEST_TEMPLATE_KEY

protected static final String SIGN_REQUEST_TEMPLATE_KEY
The configuration key of the sign request template.

See Also:
Constant Field Values

SIGN_URL_KEY

protected static final String SIGN_URL_KEY
The configuration key of the sign URL.

See Also:
Constant Field Values

VERIFY_REQUEST_TEMPLATE_KEY

protected static final String VERIFY_REQUEST_TEMPLATE_KEY
The configuration key of the verify request template.

See Also:
Constant Field Values

VERIFY_TEMPLATE_KEY

protected static final String VERIFY_TEMPLATE_KEY
The configuration key of the verify template.

See Also:
Constant Field Values

VERIFY_URL_KEY

protected static final String VERIFY_URL_KEY
The configuration key of the verify URL.

See Also:
Constant Field Values

ECDSA_CERT_ALG_KEY

protected static final String ECDSA_CERT_ALG_KEY
The configuration key for the ECDSA cert alg property.

See Also:
Constant Field Values

RSA_CERT_ALG_KEY

protected static final String RSA_CERT_ALG_KEY
The configuration key for the RSA cert alg property.

See Also:
Constant Field Values

profile

protected String profile

sign_keybox_identifier

protected String sign_keybox_identifier

sign_request_template

protected String sign_request_template

sign_url

protected String sign_url

verify_request_template

protected String verify_request_template

verify_template

protected String verify_template

verify_url

protected String verify_url

cert_alg_ecdsa

protected String cert_alg_ecdsa

cert_alg_rsa

protected String cert_alg_rsa
Constructor Detail

EnvelopedBase64BKUConnector.Environment

public EnvelopedBase64BKUConnector.Environment(String profile)
                                        throws ConnectorException
Initializes the environment with a given profile.

Parameters:
profile - The configuration profile.
Throws:
ConnectorException - f.e.
Method Detail

getProfile

public String getProfile()

getSignKeyboxIdentifier

public String getSignKeyboxIdentifier()
Returns the sign keybox identifier.

Returns:
Returns the sign keybox identifier.

getSignRequestTemplate

public String getSignRequestTemplate()
Returns the sign request template.

Returns:
Returns the sign request template.

getSignURL

public String getSignURL()
Returns the sign URL.

Returns:
Returns the sign URL.

getVerifyRequestTemplate

public String getVerifyRequestTemplate()
Returns the verify request template.

Returns:
Returns the verify request template.

getVerifyTemplate

public String getVerifyTemplate()
Returns the verify template.

Specified by:
getVerifyTemplate in class ConnectorEnvironment
Returns:
Returns the verify template.

getVerifyURL

public String getVerifyURL()
Returns the verify URL.

Returns:
Returns the verify URL.

getCertAlgEcdsa

public String getCertAlgEcdsa()
Returns the ecdsa cert alg property.

Specified by:
getCertAlgEcdsa in class ConnectorEnvironment
Returns:
Returns the ecdsa cert alg property.

getCertAlgRsa

public String getCertAlgRsa()
Returns the rsa cert alg property.

Specified by:
getCertAlgRsa in class ConnectorEnvironment
Returns:
Returns the rsa cert alg property.

getConnectorValueFromProfile

public static String getConnectorValueFromProfile(SettingsReader settings,
                                                  String profile,
                                                  String key)
Reads the configuration entry given by the key, first from the given profile, if not found from the defaults.

Parameters:
settings - The settings.
profile - The profile.
key - The configuration key.
Returns:
Returns the configuration entry.


Copyright © 2006-2010. All Rights Reserved.