# JAAS Callback Handler

###### Identifier:

org.eclipse.equinox.security.callbackHandler

###### Description:

The loginModule extension point provides a way for a bundle to register class implementing CallbackHandler with the Java Authentication and Authorization Service (JAAS). After specifying a Callback Handler using this extension point, the callbackHandlerMapping extension point can be used to set this callbackHander as the default to be used for a given JAAS login configuration.

###### Configuration Markup:

<!ELEMENT extension (callbackHandler)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #REQUIRED

name CDATA #IMPLIED

>

- id - A unique id for this Callback Handler. This id is referenced from a callbackHandlerMapping extension point.

<!ELEMENT callbackHandler EMPTY>

<!ATTLIST callbackHandler

class CDATA #REQUIRED

>

- class - Describes the class that implements the `javax.security.auth.callback.CallbackHandler` interface.

###### Examples:

     <extension id="defaultHttpBasicCallbackHandler"
            name="Default CallbackHandler for HTTP-BASIC Login Configuration"
            point="org.eclipse.equinox.security.callbackHandler">
          <callbackHandler class="org.eclipse.equinox.internal.security.auth.dialog.HttpBasicLoginDialog"/>
       </extension>

###### API Information:

The JAAS API is part of the Java Runtime Environment version 1.4 and above.

###### Supplied Implementation:

No public Callback Handlers are provided by the platform.

Copyright (c) 2005, 2007 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html