FileDocCategorySizeDatePackage
TestClientTrustStoreTrustManager.javaAPI DocGlassfish v2 API3109Fri May 04 22:23:50 BST 2007com.sun.enterprise.management

TestClientTrustStoreTrustManager

public final class TestClientTrustStoreTrustManager extends com.sun.appserv.management.client.TrustStoreTrustManager

Fields Summary
Constructors Summary
public TestClientTrustStoreTrustManager()

		this( new File( "./TestClient-TrustStore" ), "changeme".toCharArray() );
	
public TestClientTrustStoreTrustManager(File trustStore, char[] password)

		super( trustStore, password ); 
	
Methods Summary
protected voidaddCertificateToTrustStore(java.lang.String alias, java.security.cert.Certificate c)

		super.addCertificateToTrustStore( alias, c );
		System.out.println( "added certificate to truststore: " + c );
	
protected booleanshouldAddToTrustStore(java.security.cert.Certificate c)

		// we are testing; don't bother the user
		return( true );