Package com.rabbitmq.client.amqp.oauth2
Class CredentialsManager.NoOpCredentialsManager
java.lang.Object
com.rabbitmq.client.amqp.oauth2.CredentialsManager.NoOpCredentialsManager
- All Implemented Interfaces:
CredentialsManager
- Enclosing interface:
CredentialsManager
public static class CredentialsManager.NoOpCredentialsManager
extends Object
implements CredentialsManager
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.rabbitmq.client.amqp.oauth2.CredentialsManager
CredentialsManager.AuthenticationCallback, CredentialsManager.NoOpCredentialsManager, CredentialsManager.NoOpRegistration, CredentialsManager.Registration
-
Field Summary
Fields inherited from interface com.rabbitmq.client.amqp.oauth2.CredentialsManager
NO_OP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionregister
(String name, CredentialsManager.AuthenticationCallback updateCallback) Register a component for authentication.
-
Constructor Details
-
NoOpCredentialsManager
public NoOpCredentialsManager()
-
-
Method Details
-
register
public CredentialsManager.Registration register(String name, CredentialsManager.AuthenticationCallback updateCallback) Description copied from interface:CredentialsManager
Register a component for authentication.- Specified by:
register
in interfaceCredentialsManager
- Parameters:
name
- component name (must be unique)updateCallback
- callback to update the component authentication- Returns:
- the registration (must be closed when no longer necessary)
-