com.pingidentity.sts.clientapi.authentication
Class ClientCertificateAuthentication

java.lang.Object
  extended by com.pingidentity.sts.clientapi.authentication.ClientCertificateAuthentication

public class ClientCertificateAuthentication
extends java.lang.Object

Class for encapulating operations needed for client certificate authentication. Obtains credentials from keystore with provided keystore password. All certificates in the keystore are used for authentication.


Constructor Summary
ClientCertificateAuthentication(java.lang.String clientCertificateKeystore, java.lang.String clientCertificateKeystorePassword)
           
 
Method Summary
 java.lang.String getClientCertificateKeystore()
          Get full path to keystore file on filesystem
 java.lang.String getClientCertificateKeystorePassword()
          Get password to be used for keystore operations
 javax.net.ssl.SSLSocketFactory getFactory()
           
 void setClientCertificateKeystore(java.lang.String clientCertificateKeystore)
          Set full path to keystore file on filesystem
 void setClientCertificateKeystorePassword(java.lang.String clientCertificateKeystorePassword)
          Set password to be used for keystore operations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientCertificateAuthentication

public ClientCertificateAuthentication(java.lang.String clientCertificateKeystore,
                                       java.lang.String clientCertificateKeystorePassword)
Method Detail

getFactory

public javax.net.ssl.SSLSocketFactory getFactory()
                                          throws java.lang.Exception
Returns:
SSLSocketFactory to be used with HTTPS connection
Throws:
java.lang.Exception

getClientCertificateKeystore

public java.lang.String getClientCertificateKeystore()
Get full path to keystore file on filesystem

Returns:

setClientCertificateKeystore

public void setClientCertificateKeystore(java.lang.String clientCertificateKeystore)
Set full path to keystore file on filesystem

Parameters:
clientCertificateKeystore -

getClientCertificateKeystorePassword

public java.lang.String getClientCertificateKeystorePassword()
Get password to be used for keystore operations

Returns:

setClientCertificateKeystorePassword

public void setClientCertificateKeystorePassword(java.lang.String clientCertificateKeystorePassword)
Set password to be used for keystore operations

Parameters:
clientCertificateKeystorePassword -


Copyright © 2006-2009 Ping Identity Corporation. All Rights Reserved.