org.openorb.orb.csiv2
Class CSIConfig

java.lang.Object
  extended by org.openorb.orb.csiv2.CSIConfig

public final class CSIConfig
extends java.lang.Object

Configuration constants and helper methods for the csiv2 module.

Author:
Michael Rumpf

Field Summary
static java.lang.String CLT_ATTR_SUPPORTS_DEFAULT
          The default value for supported options for SAS: IdentityAssertion.
static java.lang.String CLT_ATTR_SUPPORTS_KEY
          The property key for the supported options for SAS: csiv2.css.attr.supports.
static java.lang.String CLT_AUTH_REQUIRES_DEFAULT
          The default value for required options for authentication: NONE.
static java.lang.String CLT_AUTH_REQUIRES_KEY
          The property key for required options for authentication: csiv2.css.auth.requires.
static java.lang.String CLT_AUTH_SUPPORTS_DEFAULT
          The default value for supported options for authentication: EstablishTrustInClient.
static java.lang.String CLT_AUTH_SUPPORTS_KEY
          The property key for supported options for authentication: csiv2.css.auth.supports.
static java.lang.String CLT_IDENTITY_KEY
          The xml file property name for the client identity: csiv2.css.identity.
static java.lang.String CLT_TRANS_TLS_REQUIRES_DEFAULT
          The default value for required options of the transport: NONE.
static java.lang.String CLT_TRANS_TLS_REQUIRES_KEY
          The property key for required options of the transport: csiv2.css.trans.tls.requires.
static java.lang.String CLT_TRANS_TLS_SUPPORTS_DEFAULT
          The default value for supported options of the transport: NONE.
static java.lang.String CLT_TRANS_TLS_SUPPORTS_KEY
          The property key for supported options of the transport: csiv2.css.trans.tls.supports.
static java.lang.String CLT_USER_KEY
          The xml file property name for the client user: csiv2.css.user.
static long CONTEXT_ID_STATELESS
          In stateless mode the context id is always 0.
static java.lang.String KERBEROS5_OID
          The Kerberos v5 oid: oid:1.2.840.113554.1.2.2.
static java.lang.String SRV_ATTR_SUPPORTS_DEFAULT
          The default value for supported options for SAS: IdentityAssertion.
static java.lang.String SRV_ATTR_SUPPORTS_KEY
          The property key for the supported options for SAS: csiv2.tss.attr.supports.
static java.lang.String SRV_AUTH_REQUIRES_DEFAULT
          The default value for required options for authentication: NONE.
static java.lang.String SRV_AUTH_REQUIRES_KEY
          The property key for required options for authentication: csiv2.tss.auth.requires.
static java.lang.String SRV_AUTH_SUPPORTS_DEFAULT
          The default value for supported options for authentication: EstablishTrustInClient.
static java.lang.String SRV_AUTH_SUPPORTS_KEY
          The property key for supported options for authentication: csiv2.tss.auth.supports.
static java.lang.String SRV_DNAMES_KEY
          The xml file property name for server side distinguished names: csiv2.tss.tls.
static java.lang.String SRV_DNAMES_PARAM
          The command line property prefix for server side distinguished names: TLSDName.
static java.lang.String SRV_IDENTITIES_KEY
          The xml file property name for server identities: csiv2.tss.identities.
static java.lang.String SRV_IDENTITIES_PARAM
          The command line property prefix for server identities: UserIdentity.
static java.lang.String SRV_REALM_DEFAULT
          The default realm: openorb.sf.net.
static java.lang.String SRV_REALM_KEY
          The xml file property name for the realm: csiv2.tss.realm.
static int SRV_TRANS_TLS_BACKLOG_DEFAULT
          The backlog value specifies how many connections are queued: 50.
static int SRV_TRANS_TLS_HANDSHAKE_TIMEOUT_DEFAULT
          Handshake default timeout: 2min = 1000ms * 60s * 2min.
static java.lang.String SRV_TRANS_TLS_HANDSHAKE_TIMEOUT_KEY
          Handshake property key: csiv2.tss.trans.tls.handshake.timeout.
static int SRV_TRANS_TLS_PORT_DEFAULT
          The default SSL/TLS port number: 0 (A port will be chose automatically).
static java.lang.String SRV_TRANS_TLS_PORT_KEY
          The SSL/TLS port property key: csiv2.tss.trans.tls.port.
static int SRV_TRANS_TLS_PORT_MAX
          Maximum port number: 0xFFFF.
static int SRV_TRANS_TLS_PORT_MIN
          Minimum port number: 0.
static java.lang.String SRV_TRANS_TLS_REQUIRES_DEFAULT
          The default value for required options of the transport: NONE.
static java.lang.String SRV_TRANS_TLS_REQUIRES_KEY
          The property key for required options of the transport: csiv2.tss.trans.tls.requires.
static java.lang.String SRV_TRANS_TLS_SUPPORTS_DEFAULT
          The default value for supported options of the transport: NONE.
static java.lang.String SRV_TRANS_TLS_SUPPORTS_KEY
          The property key for supported options of the transport: csiv2.tss.trans.tls.supports.
static int SRV_TRANS_TLS_TIMEOUT_MAX
          Maximum timeout value: 250ms.
static java.lang.String SRV_USERS_KEY
          The xml file property name for server side users: csiv2.tss.users.
static java.lang.String SRV_USERS_PARAM
          The command line property prefix for server users: GSSServerUser.
 
Method Summary
static CSIConfig createInstance(ORBLoader loader)
           
 short getClientTransportRequires()
           
 java.lang.String getClientTransportRequiresString()
           
 short getClientTransportSupports()
           
 java.lang.String getClientTransportSupportsString()
           
static CSIConfig getInstance()
          Return the singleton instance.
 int getServerHandshakeTimeout()
           
 int getServerTransportPort()
           
 short getServerTransportRequires()
           
 java.lang.String getServerTransportRequiresString()
           
 short getServerTransportSupports()
           
 java.lang.String getServerTransportSupportsString()
           
 boolean isSSLClientTransportEnabled()
           
 boolean isSSLServerTransportEnabled()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SRV_USERS_KEY

public static final java.lang.String SRV_USERS_KEY
The xml file property name for server side users: csiv2.tss.users.

See Also:
Constant Field Values

SRV_USERS_PARAM

public static final java.lang.String SRV_USERS_PARAM
The command line property prefix for server users: GSSServerUser.

See Also:
Constant Field Values

SRV_IDENTITIES_KEY

public static final java.lang.String SRV_IDENTITIES_KEY
The xml file property name for server identities: csiv2.tss.identities.

See Also:
Constant Field Values

SRV_IDENTITIES_PARAM

public static final java.lang.String SRV_IDENTITIES_PARAM
The command line property prefix for server identities: UserIdentity.

See Also:
Constant Field Values

SRV_REALM_KEY

public static final java.lang.String SRV_REALM_KEY
The xml file property name for the realm: csiv2.tss.realm.

See Also:
Constant Field Values

SRV_REALM_DEFAULT

public static final java.lang.String SRV_REALM_DEFAULT
The default realm: openorb.sf.net.

See Also:
Constant Field Values

SRV_DNAMES_KEY

public static final java.lang.String SRV_DNAMES_KEY
The xml file property name for server side distinguished names: csiv2.tss.tls.

See Also:
Constant Field Values

SRV_DNAMES_PARAM

public static final java.lang.String SRV_DNAMES_PARAM
The command line property prefix for server side distinguished names: TLSDName.

See Also:
Constant Field Values

CLT_USER_KEY

public static final java.lang.String CLT_USER_KEY
The xml file property name for the client user: csiv2.css.user.

See Also:
Constant Field Values

CLT_IDENTITY_KEY

public static final java.lang.String CLT_IDENTITY_KEY
The xml file property name for the client identity: csiv2.css.identity.

See Also:
Constant Field Values

SRV_TRANS_TLS_SUPPORTS_KEY

public static final java.lang.String SRV_TRANS_TLS_SUPPORTS_KEY
The property key for supported options of the transport: csiv2.tss.trans.tls.supports.

See Also:
Constant Field Values

SRV_TRANS_TLS_SUPPORTS_DEFAULT

public static final java.lang.String SRV_TRANS_TLS_SUPPORTS_DEFAULT
The default value for supported options of the transport: NONE.

See Also:
Constant Field Values

SRV_TRANS_TLS_REQUIRES_KEY

public static final java.lang.String SRV_TRANS_TLS_REQUIRES_KEY
The property key for required options of the transport: csiv2.tss.trans.tls.requires.

See Also:
Constant Field Values

SRV_TRANS_TLS_REQUIRES_DEFAULT

public static final java.lang.String SRV_TRANS_TLS_REQUIRES_DEFAULT
The default value for required options of the transport: NONE.

See Also:
Constant Field Values

CLT_TRANS_TLS_SUPPORTS_KEY

public static final java.lang.String CLT_TRANS_TLS_SUPPORTS_KEY
The property key for supported options of the transport: csiv2.css.trans.tls.supports.

See Also:
Constant Field Values

CLT_TRANS_TLS_SUPPORTS_DEFAULT

public static final java.lang.String CLT_TRANS_TLS_SUPPORTS_DEFAULT
The default value for supported options of the transport: NONE.

See Also:
Constant Field Values

CLT_TRANS_TLS_REQUIRES_KEY

public static final java.lang.String CLT_TRANS_TLS_REQUIRES_KEY
The property key for required options of the transport: csiv2.css.trans.tls.requires.

See Also:
Constant Field Values

CLT_TRANS_TLS_REQUIRES_DEFAULT

public static final java.lang.String CLT_TRANS_TLS_REQUIRES_DEFAULT
The default value for required options of the transport: NONE.

See Also:
Constant Field Values

SRV_TRANS_TLS_PORT_KEY

public static final java.lang.String SRV_TRANS_TLS_PORT_KEY
The SSL/TLS port property key: csiv2.tss.trans.tls.port.

See Also:
Constant Field Values

SRV_TRANS_TLS_PORT_DEFAULT

public static final int SRV_TRANS_TLS_PORT_DEFAULT
The default SSL/TLS port number: 0 (A port will be chose automatically).

See Also:
Constant Field Values

SRV_TRANS_TLS_PORT_MAX

public static final int SRV_TRANS_TLS_PORT_MAX
Maximum port number: 0xFFFF.

See Also:
Constant Field Values

SRV_TRANS_TLS_PORT_MIN

public static final int SRV_TRANS_TLS_PORT_MIN
Minimum port number: 0.

See Also:
Constant Field Values

SRV_TRANS_TLS_TIMEOUT_MAX

public static final int SRV_TRANS_TLS_TIMEOUT_MAX
Maximum timeout value: 250ms.

See Also:
Constant Field Values

SRV_TRANS_TLS_HANDSHAKE_TIMEOUT_KEY

public static final java.lang.String SRV_TRANS_TLS_HANDSHAKE_TIMEOUT_KEY
Handshake property key: csiv2.tss.trans.tls.handshake.timeout.

See Also:
Constant Field Values

SRV_TRANS_TLS_HANDSHAKE_TIMEOUT_DEFAULT

public static final int SRV_TRANS_TLS_HANDSHAKE_TIMEOUT_DEFAULT
Handshake default timeout: 2min = 1000ms * 60s * 2min.

See Also:
Constant Field Values

SRV_TRANS_TLS_BACKLOG_DEFAULT

public static final int SRV_TRANS_TLS_BACKLOG_DEFAULT
The backlog value specifies how many connections are queued: 50.

See Also:
Constant Field Values

SRV_AUTH_SUPPORTS_KEY

public static final java.lang.String SRV_AUTH_SUPPORTS_KEY
The property key for supported options for authentication: csiv2.tss.auth.supports.

See Also:
Constant Field Values

SRV_AUTH_SUPPORTS_DEFAULT

public static final java.lang.String SRV_AUTH_SUPPORTS_DEFAULT
The default value for supported options for authentication: EstablishTrustInClient.

See Also:
Constant Field Values

SRV_AUTH_REQUIRES_KEY

public static final java.lang.String SRV_AUTH_REQUIRES_KEY
The property key for required options for authentication: csiv2.tss.auth.requires.

See Also:
Constant Field Values

SRV_AUTH_REQUIRES_DEFAULT

public static final java.lang.String SRV_AUTH_REQUIRES_DEFAULT
The default value for required options for authentication: NONE.

See Also:
Constant Field Values

CLT_AUTH_SUPPORTS_KEY

public static final java.lang.String CLT_AUTH_SUPPORTS_KEY
The property key for supported options for authentication: csiv2.css.auth.supports.

See Also:
Constant Field Values

CLT_AUTH_SUPPORTS_DEFAULT

public static final java.lang.String CLT_AUTH_SUPPORTS_DEFAULT
The default value for supported options for authentication: EstablishTrustInClient.

See Also:
Constant Field Values

CLT_AUTH_REQUIRES_KEY

public static final java.lang.String CLT_AUTH_REQUIRES_KEY
The property key for required options for authentication: csiv2.css.auth.requires.

See Also:
Constant Field Values

CLT_AUTH_REQUIRES_DEFAULT

public static final java.lang.String CLT_AUTH_REQUIRES_DEFAULT
The default value for required options for authentication: NONE.

See Also:
Constant Field Values

SRV_ATTR_SUPPORTS_KEY

public static final java.lang.String SRV_ATTR_SUPPORTS_KEY
The property key for the supported options for SAS: csiv2.tss.attr.supports.

See Also:
Constant Field Values

SRV_ATTR_SUPPORTS_DEFAULT

public static final java.lang.String SRV_ATTR_SUPPORTS_DEFAULT
The default value for supported options for SAS: IdentityAssertion.

See Also:
Constant Field Values

CLT_ATTR_SUPPORTS_KEY

public static final java.lang.String CLT_ATTR_SUPPORTS_KEY
The property key for the supported options for SAS: csiv2.css.attr.supports.

See Also:
Constant Field Values

CLT_ATTR_SUPPORTS_DEFAULT

public static final java.lang.String CLT_ATTR_SUPPORTS_DEFAULT
The default value for supported options for SAS: IdentityAssertion.

See Also:
Constant Field Values

CONTEXT_ID_STATELESS

public static final long CONTEXT_ID_STATELESS
In stateless mode the context id is always 0.

See Also:
Constant Field Values

KERBEROS5_OID

public static final java.lang.String KERBEROS5_OID
The Kerberos v5 oid: oid:1.2.840.113554.1.2.2.

See Also:
Constant Field Values
Method Detail

getInstance

public static CSIConfig getInstance()
Return the singleton instance.

Returns:
The singleton instance.

createInstance

public static CSIConfig createInstance(ORBLoader loader)

getClientTransportSupportsString

public java.lang.String getClientTransportSupportsString()

getClientTransportSupports

public short getClientTransportSupports()

getClientTransportRequiresString

public java.lang.String getClientTransportRequiresString()

getClientTransportRequires

public short getClientTransportRequires()

getServerTransportSupportsString

public java.lang.String getServerTransportSupportsString()

getServerTransportSupports

public short getServerTransportSupports()

getServerTransportRequiresString

public java.lang.String getServerTransportRequiresString()

getServerTransportRequires

public short getServerTransportRequires()

isSSLClientTransportEnabled

public boolean isSSLClientTransportEnabled()

isSSLServerTransportEnabled

public boolean isSSLServerTransportEnabled()

getServerTransportPort

public int getServerTransportPort()

getServerHandshakeTimeout

public int getServerHandshakeTimeout()