Callback

  • The Callback interface enables secure communication between security services and applications for authentication data.

  • Callback implementations act as intermediaries, passing requests and responses between security services and applications without directly handling sensitive information.

  • Applications utilize CallbackHandler to process and respond to these requests, facilitating tasks such as password retrieval or displaying messages.

public interface Callback
Known Indirect Subclasses

Implementations of this interface are passed to a CallbackHandler, allowing underlying security services the ability to interact with a calling application to retrieve specific authentication data such as usernames and passwords, or to display certain information, such as error and warning messages.

Callback implementations do not retrieve or display the information requested by underlying security services. Callback implementations simply provide the means to pass such requests to applications, and for applications, if appropriate, to return requested information back to the underlying security services.