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