|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.fzj.unicore.wsrflite.security.DefaultSecurityProperties
public class DefaultSecurityProperties
provide some default security settings (SSL and WS-Security are off)
| Field Summary |
|---|
| Fields inherited from interface de.fzj.unicore.wsrflite.security.ISecurityProperties |
|---|
WSRF_SSL, WSRF_SSL_CLIENTAUTH, WSRF_SSL_KEYALIAS, WSRF_SSL_KEYPASS, WSRF_SSL_KEYSTORE, WSRF_SSL_KEYTYPE, WSRF_SSL_TRUSTPASS, WSRF_SSL_TRUSTSTORE, WSRF_SSL_TRUSTTYPE |
| Constructor Summary | |
|---|---|
DefaultSecurityProperties()
|
|
| Method Summary | |
|---|---|
ISecurityProperties |
clone()
|
protected String |
doGetProperty(String key)
Returns a system property. |
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. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultSecurityProperties()
| Method Detail |
|---|
protected String doGetProperty(String key)
key -
public boolean isSslEnabled()
ISecurityProperties
isSslEnabled in interface ISecurityPropertiespublic boolean isSslClientAuthenticated()
ISecurityProperties
isSslClientAuthenticated in interface ISecurityPropertiespublic String getKeystore()
ISecurityProperties
getKeystore in interface ISecurityPropertiespublic String getKeystoreType()
ISecurityProperties
getKeystoreType in interface ISecurityPropertiespublic String getKeystorePassword()
ISecurityProperties
getKeystorePassword in interface ISecurityPropertiespublic String getKeystoreAlias()
ISecurityProperties
getKeystoreAlias in interface ISecurityPropertiespublic String getTruststore()
ISecurityProperties
getTruststore in interface ISecurityPropertiespublic String getTruststoreType()
ISecurityProperties
getTruststoreType in interface ISecurityPropertiespublic String getTruststorePassword()
ISecurityProperties
getTruststorePassword in interface ISecurityPropertiespublic String toString()
toString in class Object
public ISecurityProperties clone()
throws CloneNotSupportedException
clone in interface ISecurityPropertiesclone in class ObjectCloneNotSupportedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||