Class MessageBrokerAuthentication
- java.lang.Object
-
- com.smartgridready.driver.api.messaging.model.authentication.MessageBrokerAuthentication
-
public class MessageBrokerAuthentication extends java.lang.Object
Contains message broker authentication configurations.
-
-
Constructor Summary
Constructors Constructor Description MessageBrokerAuthentication(MessageBrokerAuthenticationBasic basicAuthentication, MessageBrokerAuthenticationClientCertificate clientCertificateAuthentication)
Construct all configurations.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageBrokerAuthenticationBasic
getBasicAuthentication()
Gets the basic authentication configuration.MessageBrokerAuthenticationClientCertificate
getClientCertificateAuthentication()
Gets the client-certificate-based configuration.
-
-
-
Constructor Detail
-
MessageBrokerAuthentication
public MessageBrokerAuthentication(MessageBrokerAuthenticationBasic basicAuthentication, MessageBrokerAuthenticationClientCertificate clientCertificateAuthentication)
Construct all configurations.- Parameters:
basicAuthentication
- a basic authentication configurationclientCertificateAuthentication
- a client-certificate-based authentication configuration
-
-
Method Detail
-
getBasicAuthentication
public MessageBrokerAuthenticationBasic getBasicAuthentication()
Gets the basic authentication configuration.- Returns:
- an instance of
MessageBrokerAuthenticationBasic
-
getClientCertificateAuthentication
public MessageBrokerAuthenticationClientCertificate getClientCertificateAuthentication()
Gets the client-certificate-based configuration.- Returns:
- an instance of
MessageBrokerAuthenticationClientCertificate
-
-