Package org.globus.gsi.proxy
Class IgnoreProxyPolicyHandler
- java.lang.Object
-
- org.globus.gsi.proxy.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
-
Constructor Summary
Constructors Constructor Description IgnoreProxyPolicyHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate(ProxyCertInfo proxyCertInfo, java.security.cert.CertPath certPath, int index)
-
-
-
Method Detail
-
validate
public void validate(ProxyCertInfo proxyCertInfo, java.security.cert.CertPath certPath, int index) throws java.security.cert.CertPathValidatorException
- Specified by:
validate
in interfaceProxyPolicyHandler
- Parameters:
proxyCertInfo
- theProxyCertInfo
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.
-
-