Package com.rabbitmq.stream.sasl
Class DefaultUsernamePasswordCredentialsProvider
java.lang.Object
com.rabbitmq.stream.sasl.DefaultUsernamePasswordCredentialsProvider
- All Implemented Interfaces:
CredentialsProvider
,UsernamePasswordCredentialsProvider
public class DefaultUsernamePasswordCredentialsProvider
extends Object
implements UsernamePasswordCredentialsProvider
Default implementation of
UsernamePasswordCredentialsProvider
.-
Constructor Summary
ConstructorDescriptionDefaultUsernamePasswordCredentialsProvider
(String username, String password) -
Method Summary
Modifier and TypeMethodDescriptionThe passwordThe username
-
Constructor Details
-
DefaultUsernamePasswordCredentialsProvider
-
-
Method Details
-
getUsername
Description copied from interface:UsernamePasswordCredentialsProvider
The username- Specified by:
getUsername
in interfaceUsernamePasswordCredentialsProvider
- Returns:
- the username
-
getPassword
Description copied from interface:UsernamePasswordCredentialsProvider
The password- Specified by:
getPassword
in interfaceUsernamePasswordCredentialsProvider
- Returns:
- the password
-