Package org.globus.gsi.trustmanager
Class IdentityChecker
- java.lang.Object
-
- org.globus.gsi.trustmanager.IdentityChecker
-
- All Implemented Interfaces:
CertificateChecker
public class IdentityChecker extends Object implements CertificateChecker
Checks to see if a limited proxy is acceptable (if the chain has a limited proxy). Also, sets the identity certificate in the certificate path validator.
-
-
Constructor Summary
Constructors Constructor Description IdentityChecker(X509ProxyCertPathValidator proxyCertPathValidator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
invoke(X509Certificate cert, GSIConstants.CertificateType certType)
Method that sets the identity of the certificate path.
-
-
-
Constructor Detail
-
IdentityChecker
public IdentityChecker(X509ProxyCertPathValidator proxyCertPathValidator)
-
-
Method Detail
-
invoke
public void invoke(X509Certificate cert, GSIConstants.CertificateType certType) throws CertPathValidatorException
Method that sets the identity of the certificate path. Also checks if limited proxy is acceptable.- Specified by:
invoke
in interfaceCertificateChecker
- Parameters:
cert
- The certificate to validate.certType
- The type of certificate to validate.- Throws:
CertPathValidatorException
- If limited proxies are not accepted and the chain has a limited proxy.
-
-