|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.fzj.unicore.wsrflite.security.DefaultSecurityProperties
de.fzj.unicore.wsrflite.security.SecurityProperties
public class SecurityProperties
Properties that can be configured from a file or an input stream
| 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 | |
|---|---|
SecurityProperties()
|
|
SecurityProperties(InputStream is)
construct SecurityProperties, reading from the supplied input stream |
|
SecurityProperties(String fileName)
construct SecurityProperties reading from the given file |
|
| Method Summary | |
|---|---|
protected String |
doGetProperty(String key)
Returns a system property. |
boolean |
isSslClientAuthenticated()
returns true if SSL client authentication mode is enabled. |
boolean |
isSslEnabled()
returns true if SSL mode is enabled. |
void |
setProperty(String key,
String value)
Allows for setting individual security properties |
| Methods inherited from class de.fzj.unicore.wsrflite.security.DefaultSecurityProperties |
|---|
clone, getKeystore, getKeystoreAlias, getKeystorePassword, getKeystoreType, getTruststore, getTruststorePassword, getTruststoreType, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SecurityProperties(String fileName)
throws Exception
fileName -
Exception
public SecurityProperties(InputStream is)
throws Exception
is - InputStream
Exceptionpublic SecurityProperties()
| Method Detail |
|---|
protected String doGetProperty(String key)
DefaultSecurityProperties
doGetProperty in class DefaultSecurityPropertiespublic boolean isSslClientAuthenticated()
ISecurityProperties
isSslClientAuthenticated in interface ISecurityPropertiesisSslClientAuthenticated in class DefaultSecurityPropertiespublic boolean isSslEnabled()
ISecurityProperties
isSslEnabled in interface ISecurityPropertiesisSslEnabled in class DefaultSecurityProperties
public void setProperty(String key,
String value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||