Class CertificateAuthenticationProvider

  • All Implemented Interfaces:
    AuthenticationProvider

    @ComponentProfile(summary="A Solace native JCSMP certificate authentication provider.",
                      tag="authentication,certificate,solace,jcsmp",
                      since="3.11.1")
    public class CertificateAuthenticationProvider
    extends java.lang.Object
    implements AuthenticationProvider

    A certificate based AuthenticationProvider.

    In the adapter configuration file this class is aliased as solace-jcsmp-certificate-authentication which is the preferred alternative to the fully qualified classname when building your configuration.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getSslKeyStoreLocation()
      The Solace client property to specify the location of your key store.
      java.lang.String getSslKeyStorePassword()
      The Solace client property to specify the password of your key store.
      java.lang.String getSslTrustStoreLocation()
      The Solace client property to specify the location of your trust store.
      java.lang.String getSslTrustStorePassword()
      The Solace client property to specify the password of your trust store.
      java.lang.Boolean getValidateCertificate()
      The Solace session property to determine whether to validate the client certificate.
      java.lang.Boolean getValidateCertificateDate()
      The Solace session property to determine whether to validate the client certificate date.
      com.solacesystems.jcsmp.JCSMPProperties initConnectionProperties()  
      void setSslKeyStoreLocation​(java.lang.String sslKeyStoreLocation)
      The Solace client property to specify the location of your key store.
      void setSslKeyStorePassword​(java.lang.String sslKeyStorePassword)
      The Solace client property to specify the password of your key store.
      void setSslTrustStoreLocation​(java.lang.String sslTrustStoreLocation)
      The Solace client property to specify the location of your trust store.
      void setSslTrustStorePassword​(java.lang.String sslTrustStorePassword)
      The Solace client property to specify the password of your trust store.
      void setValidateCertificate​(java.lang.Boolean validateCertificate)
      The Solace session property to determine whether to validate the client certificate.
      void setValidateCertificateDate​(java.lang.Boolean validateCertificateDate)
      The Solace session property to determine whether to validate the client certificate date.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CertificateAuthenticationProvider

        public CertificateAuthenticationProvider()
    • Method Detail

      • getValidateCertificate

        public java.lang.Boolean getValidateCertificate()
        The Solace session property to determine whether to validate the client certificate.
      • setValidateCertificate

        public void setValidateCertificate​(java.lang.Boolean validateCertificate)
        The Solace session property to determine whether to validate the client certificate.
        Parameters:
        validateCertificate -
      • getValidateCertificateDate

        public java.lang.Boolean getValidateCertificateDate()
        The Solace session property to determine whether to validate the client certificate date.
      • setValidateCertificateDate

        public void setValidateCertificateDate​(java.lang.Boolean validateCertificateDate)
        The Solace session property to determine whether to validate the client certificate date.
        Parameters:
        validateCertificate -
      • getSslTrustStoreLocation

        public java.lang.String getSslTrustStoreLocation()
        The Solace client property to specify the location of your trust store.
      • setSslTrustStoreLocation

        public void setSslTrustStoreLocation​(java.lang.String sslTrustStoreLocation)
        The Solace client property to specify the location of your trust store.
        Parameters:
        validateCertificate -
      • getSslTrustStorePassword

        public java.lang.String getSslTrustStorePassword()
        The Solace client property to specify the password of your trust store. Note this password can also be encoded using the appropriate Password
      • setSslTrustStorePassword

        public void setSslTrustStorePassword​(java.lang.String sslTrustStorePassword)
        The Solace client property to specify the password of your trust store. Note this password can also be encoded using the appropriate Password
        Parameters:
        validateCertificate -
      • getSslKeyStoreLocation

        public java.lang.String getSslKeyStoreLocation()
        The Solace client property to specify the location of your key store.
      • setSslKeyStoreLocation

        public void setSslKeyStoreLocation​(java.lang.String sslKeyStoreLocation)
        The Solace client property to specify the location of your key store.
        Parameters:
        validateCertificate -
      • getSslKeyStorePassword

        public java.lang.String getSslKeyStorePassword()
        The Solace client property to specify the password of your key store. Note this password can also be encoded using the appropriate Password
      • setSslKeyStorePassword

        public void setSslKeyStorePassword​(java.lang.String sslKeyStorePassword)
        The Solace client property to specify the password of your key store. Note this password can also be encoded using the appropriate Password
        Parameters:
        validateCertificate -