Spring Security SAML

org.springframework.security.saml.trust
Class UntrustedCertificateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.security.GeneralSecurityException
              extended by java.security.cert.CertificateException
                  extended by org.springframework.security.saml.trust.UntrustedCertificateException
All Implemented Interfaces:
Serializable

public class UntrustedCertificateException
extends CertificateException

Exception indicates that verification failed due to the provided chain not being trusted.

See Also:
Serialized Form

Constructor Summary
UntrustedCertificateException(String msg, X509Certificate[] x509Certificates)
           
 
Method Summary
 String getMessage()
           
 X509Certificate[] getX509Certificates()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UntrustedCertificateException

public UntrustedCertificateException(String msg,
                                     X509Certificate[] x509Certificates)
Method Detail

getX509Certificates

public X509Certificate[] getX509Certificates()
Returns:
certificates which could not be verified as trusted

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

Spring Security SAML