blob: 0075893625e8840f2bda8ac6d2ed51e6ce626914 [file] [log] [blame]
Matthew Flaherty760e5f32008-02-28 18:04:34 +00001<?xml version='1.0' encoding='UTF-8'?>
2<!-- Schema file written by PDE -->
Oleg Besedinbf7210d2008-03-19 18:01:45 +00003<schema targetNamespace="org.eclipse.equinox.security" xmlns="http://www.w3.org/2001/XMLSchema">
Matthew Flaherty760e5f32008-02-28 18:04:34 +00004<annotation>
Oleg Besedinbf7210d2008-03-19 18:01:45 +00005 <appinfo>
6 <meta.schema plugin="org.eclipse.equinox.security" id="callbackHandler" name="JAAS Callback Handler"/>
7 </appinfo>
Matthew Flaherty760e5f32008-02-28 18:04:34 +00008 <documentation>
9 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.
10 </documentation>
11 </annotation>
12
13 <element name="extension">
14 <complexType>
15 <sequence>
16 <element ref="callbackHandler"/>
17 </sequence>
18 <attribute name="point" type="string" use="required">
19 <annotation>
20 <documentation>
21
22 </documentation>
23 </annotation>
24 </attribute>
25 <attribute name="id" type="string" use="required">
26 <annotation>
27 <documentation>
28 A unique id for this Callback Handler. This id is referenced from a callbackHandlerMapping extension point.
29 </documentation>
30 </annotation>
31 </attribute>
32 <attribute name="name" type="string">
33 <annotation>
34 <documentation>
35
36 </documentation>
Oleg Besedinbf7210d2008-03-19 18:01:45 +000037 <appinfo>
Matthew Flaherty760e5f32008-02-28 18:04:34 +000038 <meta.attribute translatable="true"/>
Oleg Besedinbf7210d2008-03-19 18:01:45 +000039 </appinfo>
Matthew Flaherty760e5f32008-02-28 18:04:34 +000040 </annotation>
41 </attribute>
42 </complexType>
43 </element>
44
45 <element name="callbackHandler">
46 <complexType>
47 <attribute name="class" type="string" use="required">
48 <annotation>
49 <documentation>
50 Describes the class that implements the &lt;tt&gt;javax.security.auth.callback.CallbackHandler&lt;/tt&gt; interface.
51 </documentation>
Oleg Besedinbf7210d2008-03-19 18:01:45 +000052 <appinfo>
Matthew Flaherty760e5f32008-02-28 18:04:34 +000053 <meta.attribute kind="java" basedOn=":javax.security.auth.CallbackHandler"/>
Oleg Besedinbf7210d2008-03-19 18:01:45 +000054 </appinfo>
Matthew Flaherty760e5f32008-02-28 18:04:34 +000055 </annotation>
56 </attribute>
57 </complexType>
58 </element>
59
Matthew Flaherty760e5f32008-02-28 18:04:34 +000060
61 <annotation>
Oleg Besedinbf7210d2008-03-19 18:01:45 +000062 <appinfo>
Matthew Flaherty760e5f32008-02-28 18:04:34 +000063 <meta.section type="examples"/>
Oleg Besedinbf7210d2008-03-19 18:01:45 +000064 </appinfo>
Matthew Flaherty760e5f32008-02-28 18:04:34 +000065 <documentation>
66 &lt;pre&gt; &lt;extension id=&quot;defaultHttpBasicCallbackHandler&quot;
67 name=&quot;Default CallbackHandler for HTTP-BASIC Login Configuration&quot;
68 point=&quot;org.eclipse.equinox.security.callbackHandler&quot;&gt;
69 &lt;callbackHandler class=&quot;org.eclipse.equinox.internal.security.auth.dialog.HttpBasicLoginDialog&quot;/&gt;
70 &lt;/extension&gt;&lt;/pre&gt;
71 </documentation>
72 </annotation>
73
74 <annotation>
Oleg Besedinbf7210d2008-03-19 18:01:45 +000075 <appinfo>
Matthew Flaherty760e5f32008-02-28 18:04:34 +000076 <meta.section type="apiInfo"/>
Oleg Besedinbf7210d2008-03-19 18:01:45 +000077 </appinfo>
Matthew Flaherty760e5f32008-02-28 18:04:34 +000078 <documentation>
79 The JAAS API is part of the Java Runtime Environment version 1.4 and above.
80 </documentation>
81 </annotation>
82
Oleg Besedinbf7210d2008-03-19 18:01:45 +000083
Matthew Flaherty760e5f32008-02-28 18:04:34 +000084 <annotation>
Oleg Besedinbf7210d2008-03-19 18:01:45 +000085 <appinfo>
Matthew Flaherty760e5f32008-02-28 18:04:34 +000086 <meta.section type="implementation"/>
Oleg Besedinbf7210d2008-03-19 18:01:45 +000087 </appinfo>
Matthew Flaherty760e5f32008-02-28 18:04:34 +000088 <documentation>
89 No public Callback Handlers are provided by the platform.
90 </documentation>
91 </annotation>
92
93 <annotation>
Oleg Besedinbf7210d2008-03-19 18:01:45 +000094 <appinfo>
Matthew Flaherty760e5f32008-02-28 18:04:34 +000095 <meta.section type="copyright"/>
Oleg Besedinbf7210d2008-03-19 18:01:45 +000096 </appinfo>
Matthew Flaherty760e5f32008-02-28 18:04:34 +000097 <documentation>
98 Copyright (c) 2005, 2007 IBM Corporation and others.&lt;br&gt;
99All 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 &lt;a href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
100 </documentation>
101 </annotation>
102
103</schema>