net.jradius.radsec
Class SimpleTrustManager

java.lang.Object
  extended by net.jradius.radsec.SimpleTrustManager
All Implemented Interfaces:
TrustManager, X509TrustManager, org.springframework.beans.factory.InitializingBean

public class SimpleTrustManager
extends Object
implements X509TrustManager, org.springframework.beans.factory.InitializingBean


Constructor Summary
SimpleTrustManager()
           
 
Method Summary
 void afterPropertiesSet()
           
 void checkClientTrusted(X509Certificate[] chain, String authType)
           
 void checkServerTrusted(X509Certificate[] chain, String authType)
           
 X509Certificate[] getAcceptedIssuers()
           
 void setCertFile(String keyFile)
           
 void setCertFilePassword(String keyFilePassword)
           
 void setCertFileType(String keyFileType)
           
 void setTrustAll(Boolean trustAll)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleTrustManager

public SimpleTrustManager()
Method Detail

checkClientTrusted

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

checkServerTrusted

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

getAcceptedIssuers

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

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

setCertFile

public void setCertFile(String keyFile)

setCertFileType

public void setCertFileType(String keyFileType)

setCertFilePassword

public void setCertFilePassword(String keyFilePassword)

setTrustAll

public void setTrustAll(Boolean trustAll)


Copyright © 2011 Coova Technologies, LLC, All Rights Reserved.