Class IgnoreProxyPolicyHandler

  • All Implemented Interfaces:
    ProxyPolicyHandler

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

      Fields 
      Modifier and Type Field Description
      private static org.apache.commons.logging.Log logger  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void validate​(ProxyCertInfo proxyCertInfo, java.security.cert.CertPath certPath, int index)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • logger

        private static org.apache.commons.logging.Log logger
    • Constructor Detail

      • IgnoreProxyPolicyHandler

        public IgnoreProxyPolicyHandler()
    • Method Detail

      • validate

        public void validate​(ProxyCertInfo proxyCertInfo,
                             java.security.cert.CertPath certPath,
                             int index)
                      throws java.security.cert.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:
        java.security.cert.CertPathValidatorException - if policy validation fails.