Package com.rabbitmq.client.amqp.oauth2
Class CredentialsManager.NoOpRegistration
java.lang.Object
com.rabbitmq.client.amqp.oauth2.CredentialsManager.NoOpRegistration
- All Implemented Interfaces:
CredentialsManager.Registration
,AutoCloseable
- Enclosing interface:
CredentialsManager
public static class CredentialsManager.NoOpRegistration
extends Object
implements CredentialsManager.Registration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Close the registration.void
Connection request from the component.
-
Constructor Details
-
NoOpRegistration
public NoOpRegistration()
-
-
Method Details
-
connect
Description copied from interface:CredentialsManager.Registration
Connection request from the component.The component calls this method when it needs to authenticate. The underlying credentials manager implementation must take of providing the component with the appropriate credentials in the callback.
- Specified by:
connect
in interfaceCredentialsManager.Registration
- Parameters:
callback
- client code to authenticate the component
-
close
public void close()Description copied from interface:CredentialsManager.Registration
Close the registration.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCredentialsManager.Registration
-