org.italiangrid.voms.request.impl
Class LegacyProtocol
java.lang.Object
org.italiangrid.voms.request.impl.AbstractVOMSProtocol
org.italiangrid.voms.request.impl.LegacyProtocol
- All Implemented Interfaces:
- eu.emi.security.authn.x509.impl.HostnameMismatchCallback, VOMSProtocol
public class LegacyProtocol
- extends AbstractVOMSProtocol
- implements VOMSProtocol, eu.emi.security.authn.x509.impl.HostnameMismatchCallback
Protocol implementing the legacy interface.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LegacyProtocol
public LegacyProtocol(eu.emi.security.authn.x509.X509CertChainValidatorExt validator,
VOMSProtocolListener listener,
int connectTimeout,
int readTimeout)
doRequest
public VOMSResponse doRequest(VOMSServerInfo endpoint,
eu.emi.security.authn.x509.X509Credential credential,
VOMSACRequest request)
- Description copied from interface:
VOMSProtocol
- Makes a request, get the response.
- Specified by:
doRequest
in interface VOMSProtocol
- Parameters:
endpoint
- the voms server endpoint informationcredential
- the credentials.request
- the request.
- Returns:
- a
VOMSResponse
containing the response.
nameMismatch
public void nameMismatch(SSLSocket socket,
X509Certificate peerCertificate,
String hostName)
throws SSLException
- Specified by:
nameMismatch
in interface eu.emi.security.authn.x509.impl.HostnameMismatchCallback
- Throws:
SSLException
Copyright © 2013. All Rights Reserved.