com.sap.security.core.server.https
Interface HostnameVerifier
- All Known Implementing Classes:
- DefaultHostnameVerifier
public interface HostnameVerifier
HostnameVerifier provides a callback mechanism so that
implementers of this interface can supply a policy
for handling the case where the host to connect to and
the server name from the certificate mismatch.
Copyright (c) 2003 SAP AG.
Method Summary |
boolean |
verify(String urlHostname,
String certHostname)
Compares the hostname with the name from server certificate. |
verify
boolean verify(String urlHostname,
String certHostname)
- Compares the hostname with the name from server certificate.
- Parameters:
urlHostname
- the hostnamecertHostname
- the name from server certifiate
- Returns:
- true if the hostname is acceptable or if the connection should be established anyway.
This class can be accessed from:
SC
|
DC
|
Public Part
|
ACH
|
[sap.com] CORE-TOOLS
|
[sap.com] com.sap.engine.client.libdeprecated
|
default
|
BC-JAS
|
[sap.com] ENGFACADE
|
[sap.com] tc/bl/security/lib
|
api
|
BC-JAS-SEC
|
[sap.com] ENGINEAPI
|
[sap.com] security.classdeprecated
|
-
|
BC-JAS-SEC
|
[sap.com] ENGINEAPI
|
[sap.com] security.classdeprecated
|
default
|
BC-JAS-SEC
|
[sap.com] SAP_BUILDT
|
[sap.com] tc/bi/wstech
|
def
|
BC-CTS-CBS-PLG
|
Copyright 2014 SAP AG Complete Copyright Notice