Class AppNameCallback

java.lang.Object
javax.security.auth.callback.NameCallback
de.aristaflow.adept2.base.security.callbacks.AppNameCallback
All Implemented Interfaces:
Serializable, Callback

public class AppNameCallback extends NameCallback
A callback to retrieve the application name for which to log on. This is optional but the security manager can refuse logons without an application name.
When implementing a handler for this callback note that it is a subclass of NameCallback. Therefore make check for specific classes before checking for the superclass.
Author:
Ulrich Kreher
See Also:
  • Constructor Details

    • AppNameCallback

      public AppNameCallback()
      Creates a new callback for requesting the application name.