goldengate.common.crypto.ssl
Class GgSecureTrustManagerFactory

java.lang.Object
  extended by javax.net.ssl.TrustManagerFactorySpi
      extended by goldengate.common.crypto.ssl.GgSecureTrustManagerFactory

public class GgSecureTrustManagerFactory
extends TrustManagerFactorySpi

A SecureTrustManagerFactory

Author:
Frederic Bregier

Constructor Summary
GgSecureTrustManagerFactory()
          Accept all connections
GgSecureTrustManagerFactory(TrustManagerFactory tmf, boolean clientAuthent)
           
 
Method Summary
protected  TrustManager[] engineGetTrustManagers()
           
protected  void engineInit(KeyStore arg0)
           
protected  void engineInit(ManagerFactoryParameters arg0)
           
 TrustManager[] getTrustManagers()
           
 boolean hasTrustStore()
           
 boolean needAuthentication()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GgSecureTrustManagerFactory

public GgSecureTrustManagerFactory()
Accept all connections


GgSecureTrustManagerFactory

public GgSecureTrustManagerFactory(TrustManagerFactory tmf,
                                   boolean clientAuthent)
                            throws CryptoException
Parameters:
tmf -
clientAuthent - True if the TrustStore is used for Client Authentication
Throws:
CryptoException
Method Detail

hasTrustStore

public boolean hasTrustStore()
Returns:
True if this TrustManager really check authentication

needAuthentication

public boolean needAuthentication()
Returns:
True if this TrustManager really check authentication

getTrustManagers

public TrustManager[] getTrustManagers()
Returns:
The TrustManager arrays

engineGetTrustManagers

protected TrustManager[] engineGetTrustManagers()
Specified by:
engineGetTrustManagers in class TrustManagerFactorySpi

engineInit

protected void engineInit(KeyStore arg0)
Specified by:
engineInit in class TrustManagerFactorySpi

engineInit

protected void engineInit(ManagerFactoryParameters arg0)
Specified by:
engineInit in class TrustManagerFactorySpi


Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.