Class SecretKeyCallback

java.lang.Object
jakarta.security.auth.message.callback.SecretKeyCallback
All Implemented Interfaces:
Callback

public class SecretKeyCallback extends Object implements Callback
Callback for acquiring a shared secret from a key repository.

This Callback may be used by client or server authentication modules to obtain shared secrets (for example, passwords) without relying on a user during the Callback processing. This Callback is typically called by ClientAuthModules invoked from intermediate components that need to acquire a password to authenticate to their target service.