Package org.jboss.security.auth.certs
Class AnyCertVerifier
- java.lang.Object
-
- org.jboss.security.auth.certs.AnyCertVerifier
-
- All Implemented Interfaces:
X509CertificateVerifier
public class AnyCertVerifier extends Object implements X509CertificateVerifier
A X509CertificateVerifier that accepts any cert.- Version:
- $Revision$
- Author:
- Scott.Stark@jboss.org
-
-
Constructor Summary
Constructors Constructor Description AnyCertVerifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
verify(X509Certificate cert, String alias, KeyStore keyStore, KeyStore trustStore)
Returns true regardless of the arguments.
-
-
-
Method Detail
-
verify
public boolean verify(X509Certificate cert, String alias, KeyStore keyStore, KeyStore trustStore)
Returns true regardless of the arguments.- Specified by:
verify
in interfaceX509CertificateVerifier
- Parameters:
cert
- - the X509Certificate to verifieralias
- - the expected keystore aliaskeyStore
- - the keystore for the certtrustStore
- - the truststore for the cert signer- Returns:
- true always.
-
-