BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.security.SSL
Class NullTrustManager

java.lang.Object
  |
  +--weblogic.security.SSL.NullTrustManager

public class NullTrustManager
extends java.lang.Object
implements TrustManager

Given the partial or complete certificate chain provided by the peer, build a certificate path to a trusted root and return true if it can be validated and is trusted for client SSL authentication. This is a null implemention which always returns true after printing the certificate chain to System.out This is an example only and should NOT be used in a production environment.

Author:
Copyright © 2004 BEA Systems, Inc. All Rights Reserved.

Constructor Summary
NullTrustManager()
           
 
Method Summary
 boolean certificateCallback(X509[] o, int validateErr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullTrustManager

public NullTrustManager()
Method Detail

certificateCallback

public boolean certificateCallback(X509[] o,
                                   int validateErr)
Specified by:
certificateCallback in interface TrustManager


Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs81