|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnetapp.manage.http.AuthInfo
Class that contains information about keystore and tuststore details that are required for certificate based authentication.
| Constructor Summary | |
AuthInfo(java.lang.String hostName)
Constructor which will initialize keystore and truststore values. |
|
| Method Summary | |
static boolean |
compare(AuthInfo a1,
AuthInfo a2)
Compares the given authentication info objects according to their keystore and truststore properties. |
void |
disableCBA()
Disables Certificate Based Authentication mechanism. |
void |
disableHostnameVerification()
Disables Hostname verification by the client during server certificate verification. |
void |
disableServerCertVerification()
Disables Server certificate verification by the client. |
void |
enableCBA()
Enables Certificate Based Authentication mechanism. |
void |
enableHostnameVerification()
Enables Hostname verification by the client during server certificate verification. |
void |
enableServerCertVerification()
Enables Server certificate verification by the client. |
java.lang.String |
getHost()
Gets the hostname that is required for server authentication. |
java.lang.String |
getKeyPasswd()
Gets the client private key password. |
java.lang.String |
getKeyStoreFile()
Gets the client keystore file. |
java.lang.String |
getKeyStorePasswd()
Gets the client keystore password. |
java.lang.String |
getKeyStoreType()
Gets the type of the client keystore file. |
java.lang.String |
getTrustStoreFile()
Gets the location of the server truststore file. |
java.lang.String |
getTrustStoreType()
Gets the type of the server truststore file. |
boolean |
isCBAEnabled()
Flag indicates whether to use Certificate Based Authentication mechanism. |
boolean |
isHostnameVerificationEnabled()
Determines whether Hostname verification is enabled by the client during server certificate verification. |
boolean |
isServerCertVerificationEnabled()
Flag that indicates whether to use server certificate verification or not. |
void |
setHost(java.lang.String host)
Sets the hostname that is required for server authentication. |
void |
setKeyStore(java.lang.String keyStoreFile,
java.lang.String keyStorePasswd,
java.lang.String keyPasswd)
Set the keystore details where the client certificate and the key resides. |
void |
setKeyStoreType(java.lang.String keyStoreType)
Set the type of the client keystore file. |
void |
setTrustStore(java.lang.String trustStoreFile)
Set the truststore file required for server authentication. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AuthInfo(java.lang.String hostName)
| Method Detail |
public void setKeyStore(java.lang.String keyStoreFile,
java.lang.String keyStorePasswd,
java.lang.String keyPasswd)
keyStoreFile - Location of the keystore file.keyStorePasswd - Password to access the keystore file.keyPasswd - Password to access the private key.public void setKeyStoreType(java.lang.String keyStoreType)
keyStoreType - Type of of the keystore file.public void setTrustStore(java.lang.String trustStoreFile)
trustStoreFile - Location of the truststore file.public java.lang.String getKeyStoreFile()
public java.lang.String getKeyStorePasswd()
public java.lang.String getKeyPasswd()
public java.lang.String getKeyStoreType()
public java.lang.String getTrustStoreFile()
public java.lang.String getTrustStoreType()
public void setHost(java.lang.String host)
host - Name of the host the client is connecting to.public java.lang.String getHost()
public void enableCBA()
public void disableCBA()
public boolean isCBAEnabled()
public void enableServerCertVerification()
public void disableServerCertVerification()
public boolean isServerCertVerificationEnabled()
public void enableHostnameVerification()
public void disableHostnameVerification()
public boolean isHostnameVerificationEnabled()
public static boolean compare(AuthInfo a1,
AuthInfo a2)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||