de.fzj.unicore.wsrflite.security
Interface ISecurityProperties

All Superinterfaces:
Cloneable
All Known Implementing Classes:
DefaultSecurityProperties, KernelSecurityProperties, SecurityProperties

public interface ISecurityProperties
extends Cloneable


Field Summary
static String WSRF_SSL
          property defining whether SSL is enabled
static String WSRF_SSL_CLIENTAUTH
          property defining whether SSL is client authenticated
static String WSRF_SSL_KEYALIAS
          property defining the alias of the key to use
static String WSRF_SSL_KEYPASS
          property defining the SSL keystore password
static String WSRF_SSL_KEYSTORE
          property defining the SSL keystore
static String WSRF_SSL_KEYTYPE
          property defining the SSL keystore type (e.g.
static String WSRF_SSL_TRUSTPASS
          property defining the SSL trust tore password
static String WSRF_SSL_TRUSTSTORE
          property defining the SSL trust store
static String WSRF_SSL_TRUSTTYPE
          property defining the SSL trust store type (e.g.
 
Method Summary
 ISecurityProperties clone()
           
 String getKeystore()
          retrieve the keystore location
 String getKeystoreAlias()
          retrieve alias to use
 String getKeystorePassword()
          retrieve the keystore password
 String getKeystoreType()
          retrieve the keystore type
 String getTruststore()
          retrieve the keystore location
 String getTruststorePassword()
          retrieve the keystore password
 String getTruststoreType()
          retrieve the keystore type
 boolean isSslClientAuthenticated()
          returns true if SSL client authentication mode is enabled.
 boolean isSslEnabled()
          returns true if SSL mode is enabled.
 

Field Detail

WSRF_SSL

static final String WSRF_SSL
property defining whether SSL is enabled

See Also:
Constant Field Values

WSRF_SSL_CLIENTAUTH

static final String WSRF_SSL_CLIENTAUTH
property defining whether SSL is client authenticated

See Also:
Constant Field Values

WSRF_SSL_KEYSTORE

static final String WSRF_SSL_KEYSTORE
property defining the SSL keystore

See Also:
Constant Field Values

WSRF_SSL_KEYPASS

static final String WSRF_SSL_KEYPASS
property defining the SSL keystore password

See Also:
Constant Field Values

WSRF_SSL_KEYTYPE

static final String WSRF_SSL_KEYTYPE
property defining the SSL keystore type (e.g. JKS)

See Also:
Constant Field Values

WSRF_SSL_KEYALIAS

static final String WSRF_SSL_KEYALIAS
property defining the alias of the key to use

See Also:
Constant Field Values

WSRF_SSL_TRUSTSTORE

static final String WSRF_SSL_TRUSTSTORE
property defining the SSL trust store

See Also:
Constant Field Values

WSRF_SSL_TRUSTPASS

static final String WSRF_SSL_TRUSTPASS
property defining the SSL trust tore password

See Also:
Constant Field Values

WSRF_SSL_TRUSTTYPE

static final String WSRF_SSL_TRUSTTYPE
property defining the SSL trust store type (e.g. JKS)

See Also:
Constant Field Values
Method Detail

isSslEnabled

boolean isSslEnabled()
returns true if SSL mode is enabled.
SSL can be enabled by setting a property "unicore.wsrflite.ssl" to "true" in the service.xml file or by defining a system property

Returns:

isSslClientAuthenticated

boolean isSslClientAuthenticated()
returns true if SSL client authentication mode is enabled.
can be enabled by setting a property "unicore.wsrflite.ssl.clientauth" to "true" in the service.xml file or by defining a system property

Returns:

getKeystore

String getKeystore()
retrieve the keystore location

Returns:

getKeystoreType

String getKeystoreType()
retrieve the keystore type

Returns:

getKeystorePassword

String getKeystorePassword()
retrieve the keystore password

Returns:

getKeystoreAlias

String getKeystoreAlias()
retrieve alias to use

Returns:

getTruststore

String getTruststore()
retrieve the keystore location

Returns:

getTruststoreType

String getTruststoreType()
retrieve the keystore type

Returns:

getTruststorePassword

String getTruststorePassword()
retrieve the keystore password

Returns:

clone

ISecurityProperties clone()
                          throws CloneNotSupportedException
Returns:
Throws:
CloneNotSupportedException


Copyright © 2010. All Rights Reserved.