Class AdminCallbackHandler

java.lang.Object
com.sun.enterprise.admin.util.AdminCallbackHandler
All Implemented Interfaces:
CallbackHandler

public class AdminCallbackHandler extends Object implements CallbackHandler
Handles callbacks for admin authentication other than user-provided username and password, such as the local password, a limited-use token, a ReST token.

Note that some of the information the callback handler stores is really for the use of the admin LoginModule. But because we don't control how the login module is instantiated or initialized - but we do control that for the callback handler - we can put that information here. This callback handler sets the info in the callback, which is then available to the LoginModule.

Author:
tjquinn