|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.emi.client.security.AbstractSecurityConfigurationImpl
public abstract class AbstractSecurityConfigurationImpl
Do nothing implementation of security configuration. Useful for subclassing.
| Constructor Summary | |
|---|---|
AbstractSecurityConfigurationImpl()
|
|
| Method Summary | |
|---|---|
abstract IAuthenticationConfiguration |
clone()
Cloning support is mandatory |
boolean |
doHttpAuthn()
Returns true if HTTP BASIC Auth should be used. |
boolean |
doSSLAuthn()
Returns true if the client-side TLS authentication should be done. |
String |
getHttpPassword()
Returns HTTP BASIC Auth user's password. |
String |
getHttpUser()
Returns HTTP BASIC Auth user. |
String |
getKeystore()
Returns keystore location. |
String |
getKeystoreAlias()
Returns key alias in keystore. |
String |
getKeystoreKeyPassword()
Returns key password in keystore. |
String |
getKeystorePassword()
Returns keystore password. |
String |
getKeystoreType()
Returns keystore type. |
SSLContext |
getSSLContext()
This method can return initialized SSLContext or null. |
String |
getTruststore()
Returns truststore location. |
String |
getTruststorePassword()
Returns truststore password. |
String |
getTruststoreType()
Returns truststore type. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractSecurityConfigurationImpl()
| Method Detail |
|---|
public boolean doHttpAuthn()
IAuthenticationConfiguration
doHttpAuthn in interface IAuthenticationConfigurationpublic boolean doSSLAuthn()
IAuthenticationConfigurationISecurityConfiguration) getKeystore* methods are
not used at all.
doSSLAuthn in interface IAuthenticationConfigurationpublic String getHttpPassword()
IAuthenticationConfiguration
getHttpPassword in interface IAuthenticationConfigurationpublic String getHttpUser()
IAuthenticationConfiguration
getHttpUser in interface IAuthenticationConfigurationpublic String getKeystore()
ISecurityConfiguration
getKeystore in interface ISecurityConfigurationpublic String getKeystoreAlias()
ISecurityConfiguration
getKeystoreAlias in interface ISecurityConfigurationpublic String getKeystoreKeyPassword()
ISecurityConfiguration
getKeystoreKeyPassword in interface ISecurityConfigurationpublic String getKeystorePassword()
ISecurityConfiguration
getKeystorePassword in interface ISecurityConfigurationpublic String getKeystoreType()
ISecurityConfiguration
getKeystoreType in interface ISecurityConfigurationpublic String getTruststore()
IAuthenticationConfiguration
getTruststore in interface IAuthenticationConfigurationpublic String getTruststorePassword()
IAuthenticationConfiguration
getTruststorePassword in interface IAuthenticationConfigurationpublic String getTruststoreType()
IAuthenticationConfiguration
getTruststoreType in interface IAuthenticationConfigurationpublic SSLContext getSSLContext()
IAuthenticationConfigurationSSLContext or null.
If null is returned then SSLContext will be created by this library
itself using the data from the other methods defined in this interface.
If this method returns non-null value then most of the methods in this
interface are not used (only HTTP related are still used).
getSSLContext in interface IAuthenticationConfigurationpublic abstract IAuthenticationConfiguration clone()
IAuthenticationConfiguration
clone in interface IAuthenticationConfigurationclone in interface ISecurityConfigurationclone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||