Class BasicAuthenticationProvider

  • All Implemented Interfaces:
    AuthenticationProvider

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

    A basic AuthenticationProvider that requires a simple user name and password.

    In the adapter configuration file this class is aliased as solace-jcsmp-basic-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 getPassword()
      The password used to authenticate your Solace connection.
      java.lang.String getUsername()
      The username to authenticate your Solace connection.
      com.solacesystems.jcsmp.JCSMPProperties initConnectionProperties()  
      void setPassword​(java.lang.String password)
      The password used to authenticate your Solace connection.
      void setUsername​(java.lang.String username)
      The username to authenticate your Solace connection.
      • Methods inherited from class java.lang.Object

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

      • BasicAuthenticationProvider

        public BasicAuthenticationProvider()
    • Method Detail

      • getUsername

        public java.lang.String getUsername()
        The username to authenticate your Solace connection.
      • setUsername

        public void setUsername​(java.lang.String username)
        The username to authenticate your Solace connection.
      • getPassword

        public java.lang.String getPassword()
        The password used to authenticate your Solace connection.
      • setPassword

        public void setPassword​(java.lang.String password)
        The password used to authenticate your Solace connection.