Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Plug-in Developer Guide
Previous Page Home Next Page

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>

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 https://www.eclipse.org/legal/epl-v10.html


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire