| 
 | J2EE1.4 SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.appserv.management.client.TrustAnyTrustManager
This TrustManager applies no logic as to whether its peer certificate is trusted; it trusts all peers. This is a security risk, and should be used only for convenience in testing or where security is explicitly not an issue.
| Method Summary | |
|  void | checkClientTrusted(java.security.cert.X509Certificate[] chain,
                   java.lang.String authType) | 
|  void | checkServerTrusted(java.security.cert.X509Certificate[] chain,
                   java.lang.String authType) | 
|  java.security.cert.X509Certificate[] | getAcceptedIssuers() | 
| static TrustAnyTrustManager | getInstance()Get an instance; only one is ever created. | 
| static TrustAnyTrustManager[] | getInstanceArray()Calls getInstance() and returns an array containing it. | 
|  java.lang.String | toString() | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Method Detail | 
public static TrustAnyTrustManager getInstance()
public static TrustAnyTrustManager[] getInstanceArray()
public void checkClientTrusted(java.security.cert.X509Certificate[] chain,
                               java.lang.String authType)
                        throws java.security.cert.CertificateException
checkClientTrusted in interface javax.net.ssl.X509TrustManagerjava.security.cert.CertificateException
public void checkServerTrusted(java.security.cert.X509Certificate[] chain,
                               java.lang.String authType)
                        throws java.security.cert.CertificateException
checkServerTrusted in interface javax.net.ssl.X509TrustManagerjava.security.cert.CertificateExceptionpublic java.security.cert.X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface javax.net.ssl.X509TrustManagerpublic java.lang.String toString()
| 
 | J2EE1.4 SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2003 Sun Microsystems, Inc. All rights reserved.