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: 1.1.2.1 $
- Author:
- Scott.Stark@jboss.org
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnyCertVerifier
public AnyCertVerifier()
verify
public boolean verify(X509Certificate cert,
String alias,
KeyStore keyStore,
KeyStore trustStore)
- Returns true regardless of the arguments.
- Specified by:
verify
in interface X509CertificateVerifier
- Parameters:
cert
- - the X509Certificate to verifieralias
- - the expected keystore aliaskeyStore
- - the keystore for the certtrustStore
- - the truststore for the cert signer
- Returns:
- true always.
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.