org.jboss.security.auth.certs
Class AnyCertVerifier

java.lang.Object
  extended by 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

Constructor Summary
AnyCertVerifier()
           
 
Method Summary
 boolean verify(X509Certificate cert, String alias, KeyStore keyStore, KeyStore trustStore)
          Returns true regardless of the arguments.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnyCertVerifier

public AnyCertVerifier()
Method Detail

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 verifier
alias - - the expected keystore alias
keyStore - - the keystore for the cert
trustStore - - the truststore for the cert signer
Returns:
true always.


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.