Interface CredentialsManager.Registration

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
CredentialsManager.NoOpRegistration
Enclosing interface:
CredentialsManager

public static interface CredentialsManager.Registration extends AutoCloseable
A component registration.
  • Method Details

    • connect

      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.

      Parameters:
      callback - client code to authenticate the component
    • close

      void close()
      Close the registration.
      Specified by:
      close in interface AutoCloseable