javax.security.auth.callback
Stay organized with collections
Save and categorize content based on your preferences.
This package provides the classes necessary for services
to interact with applications in order to retrieve
information (authentication data including usernames
or passwords, for example) or to display information
(error and warning messages, for example).
Interfaces
Callback |
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. |
CallbackHandler |
An application implements a CallbackHandler and passes
it to underlying security services so that they may interact with
the application to retrieve specific authentication data,
such as usernames and passwords, or to display certain information,
such as error and warning messages. |
Classes
PasswordCallback |
Underlying security services instantiate and pass a
PasswordCallback to the handle
method of a CallbackHandler to retrieve password information. |
Exceptions
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["This package enables secure communication between services and applications for data exchange."],["`CallbackHandler` allows applications to provide authentication details or display messages."],["`Callback` implementations, like `PasswordCallback`, are used to retrieve specific data."],["`UnsupportedCallbackException` indicates that a handler doesn't recognize a specific callback type."]]],["The package facilitates service-application interaction for information exchange. `Callback` implementations are used to retrieve authentication data (like usernames/passwords) or display messages. Applications implement `CallbackHandler` to handle these interactions. Security services use `PasswordCallback` to get password information. `UnsupportedCallbackException` indicates a `CallbackHandler` doesn't recognize a specific `Callback`. This package defines interfaces, classes, and exceptions to enable applications to provide authentication data.\n"]]