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.
  • Constructor Details

    • LegacyProtocol

      public LegacyProtocol(eu.emi.security.authn.x509.X509CertChainValidatorExt validator, VOMSProtocolListener listener, int connectTimeout, int readTimeout)
  • Method Details

    • 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 information
      credential - 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