|
|
| WebLogic Server 7.0 Code Examples, BEA Systems, Inc. |
|
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
examples.security.sslclient
Class NulledHostnameVerifier
java.lang.Object
|
+--examples.security.sslclient.NulledHostnameVerifier
- All Implemented Interfaces:
- weblogic.security.SSL.HostnameVerifierJSSE
- public class NulledHostnameVerifier
- extends java.lang.Object
- implements weblogic.security.SSL.HostnameVerifierJSSE
HostnameVerifierJSSE provides a callback mechanism so that implementers
of this interface can supply a policy for handling the case where
the host that's being connected to and the server name from the
certificate SubjectDN must match.
This is a null version of that class to show the WebLogic SSL client
classes without major problems. For example, in this case, the client
code connects to a server at 'localhost' but the democertificate's
SubjectDN CommonName is 'bea.com' and the default WebLogic
HostnameVerifierJSSE does a String.equals() on those two hostnames.
- Author:
- Copyright (c) 1999-2002 by BEA Systems, Inc. All Rights Reserved.
- See Also:
HostnameVerifier#verify
|
Method Summary |
boolean |
verify(java.lang.String urlHostname,
java.lang.String certHostname)
|
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NulledHostnameVerifier
public NulledHostnameVerifier()
verify
public boolean verify(java.lang.String urlHostname,
java.lang.String certHostname)
- Specified by:
verify in interface weblogic.security.SSL.HostnameVerifierJSSE
Copyright © 2002 BEA Systems, Inc. All Rights Reserved.