|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAuthenticationConfiguration
Implementation of this interface provides data necessary for setting up transport level security and HTTP authentication. SSL can be set up in two ways: either by providing ready to use SSLContext or by providing all the keystore and truststore details which are needed to create a new SSLContext.
| Method Summary | |
|---|---|
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. |
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 interface eu.emi.client.security.ISecurityConfiguration |
|---|
getKeystore, getKeystoreAlias, getKeystoreKeyPassword, getKeystorePassword, getKeystoreType |
| Method Detail |
|---|
SSLContext getSSLContext()
SSLContext 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).
boolean doSSLAuthn()
ISecurityConfiguration) getKeystore* methods are
not used at all.
String getTruststore()
String getTruststorePassword()
String getTruststoreType()
boolean doHttpAuthn()
String getHttpUser()
String getHttpPassword()
IAuthenticationConfiguration clone()
clone in interface ISecurityConfiguration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||