Class IgnoreProxyPolicyHandler

  • All Implemented Interfaces:
    ProxyPolicyHandler

    public class IgnoreProxyPolicyHandler
    extends Object
    implements ProxyPolicyHandler
    A simple restricted proxy policy handler that logs the proxy policy language oid. It can be used for debugging purposes.
    • Constructor Detail

      • IgnoreProxyPolicyHandler

        public IgnoreProxyPolicyHandler()
    • Method Detail

      • validate

        public void validate​(ProxyCertInfo proxyCertInfo,
                             CertPath certPath,
                             int index)
                      throws CertPathValidatorException
        Specified by:
        validate in interface ProxyPolicyHandler
        Parameters:
        proxyCertInfo - the ProxyCertInfo extension found in the restricted proxy certificate.
        certPath - the certificate path being validated.
        index - the index of the certificate in the certPath that is being validated - the index of the restricted proxy certificate.
        Throws:
        CertPathValidatorException - if policy validation fails.