Class BasicAuthenticationProvider
- java.lang.Object
-
- com.adaptris.core.jcsmp.solace.auth.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.
-
-
Constructor Summary
Constructors Constructor Description BasicAuthenticationProvider()
-
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.
-
-
-
Method Detail
-
initConnectionProperties
public com.solacesystems.jcsmp.JCSMPProperties initConnectionProperties() throws CoreException
- Specified by:
initConnectionProperties
in interfaceAuthenticationProvider
- Throws:
CoreException
-
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.
-
-