org.jasig.portal.security.provider.saml
Class TrustAllX509TrustManager

java.lang.Object
  extended by org.jasig.portal.security.provider.saml.TrustAllX509TrustManager
All Implemented Interfaces:
TrustManager, X509TrustManager

public class TrustAllX509TrustManager
extends Object
implements X509TrustManager

WARNING TRUSTS EVERYTHING!

Version:
$Revision: 23102 $
Author:
Eric Dalquist

Field Summary
static TrustAllX509TrustManager INSTANCE
           
 
Constructor Summary
TrustAllX509TrustManager()
           
 
Method Summary
 void checkClientTrusted(X509Certificate[] arg0, String arg1)
           
 void checkServerTrusted(X509Certificate[] arg0, String arg1)
           
 X509Certificate[] getAcceptedIssuers()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final TrustAllX509TrustManager INSTANCE
Constructor Detail

TrustAllX509TrustManager

public TrustAllX509TrustManager()
Method Detail

checkClientTrusted

public void checkClientTrusted(X509Certificate[] arg0,
                               String arg1)
                        throws CertificateException
Specified by:
checkClientTrusted in interface X509TrustManager
Throws:
CertificateException

checkServerTrusted

public void checkServerTrusted(X509Certificate[] arg0,
                               String arg1)
                        throws CertificateException
Specified by:
checkServerTrusted in interface X509TrustManager
Throws:
CertificateException

getAcceptedIssuers

public X509Certificate[] getAcceptedIssuers()
Specified by:
getAcceptedIssuers in interface X509TrustManager


Copyright © 2011 Jasig. All Rights Reserved.