Matthew Flaherty | 760e5f3 | 2008-02-28 18:04:34 +0000 | [diff] [blame] | 1 | <?xml version='1.0' encoding='UTF-8'?> |
| 2 | <!-- Schema file written by PDE --> |
Oleg Besedin | bf7210d | 2008-03-19 18:01:45 +0000 | [diff] [blame] | 3 | <schema targetNamespace="org.eclipse.equinox.security" xmlns="http://www.w3.org/2001/XMLSchema"> |
Matthew Flaherty | 760e5f3 | 2008-02-28 18:04:34 +0000 | [diff] [blame] | 4 | <annotation> |
Oleg Besedin | bf7210d | 2008-03-19 18:01:45 +0000 | [diff] [blame] | 5 | <appinfo> |
| 6 | <meta.schema plugin="org.eclipse.equinox.security" id="callbackHandler" name="JAAS Callback Handler"/> |
| 7 | </appinfo> |
Matthew Flaherty | 760e5f3 | 2008-02-28 18:04:34 +0000 | [diff] [blame] | 8 | <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 Besedin | bf7210d | 2008-03-19 18:01:45 +0000 | [diff] [blame] | 37 | <appinfo> |
Matthew Flaherty | 760e5f3 | 2008-02-28 18:04:34 +0000 | [diff] [blame] | 38 | <meta.attribute translatable="true"/> |
Oleg Besedin | bf7210d | 2008-03-19 18:01:45 +0000 | [diff] [blame] | 39 | </appinfo> |
Matthew Flaherty | 760e5f3 | 2008-02-28 18:04:34 +0000 | [diff] [blame] | 40 | </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 <tt>javax.security.auth.callback.CallbackHandler</tt> interface. |
| 51 | </documentation> |
Oleg Besedin | bf7210d | 2008-03-19 18:01:45 +0000 | [diff] [blame] | 52 | <appinfo> |
Matthew Flaherty | 760e5f3 | 2008-02-28 18:04:34 +0000 | [diff] [blame] | 53 | <meta.attribute kind="java" basedOn=":javax.security.auth.CallbackHandler"/> |
Oleg Besedin | bf7210d | 2008-03-19 18:01:45 +0000 | [diff] [blame] | 54 | </appinfo> |
Matthew Flaherty | 760e5f3 | 2008-02-28 18:04:34 +0000 | [diff] [blame] | 55 | </annotation> |
| 56 | </attribute> |
| 57 | </complexType> |
| 58 | </element> |
| 59 | |
Matthew Flaherty | 760e5f3 | 2008-02-28 18:04:34 +0000 | [diff] [blame] | 60 | |
| 61 | <annotation> |
Oleg Besedin | bf7210d | 2008-03-19 18:01:45 +0000 | [diff] [blame] | 62 | <appinfo> |
Matthew Flaherty | 760e5f3 | 2008-02-28 18:04:34 +0000 | [diff] [blame] | 63 | <meta.section type="examples"/> |
Oleg Besedin | bf7210d | 2008-03-19 18:01:45 +0000 | [diff] [blame] | 64 | </appinfo> |
Matthew Flaherty | 760e5f3 | 2008-02-28 18:04:34 +0000 | [diff] [blame] | 65 | <documentation> |
| 66 | <pre> <extension id="defaultHttpBasicCallbackHandler" |
| 67 | name="Default CallbackHandler for HTTP-BASIC Login Configuration" |
| 68 | point="org.eclipse.equinox.security.callbackHandler"> |
| 69 | <callbackHandler class="org.eclipse.equinox.internal.security.auth.dialog.HttpBasicLoginDialog"/> |
| 70 | </extension></pre> |
| 71 | </documentation> |
| 72 | </annotation> |
| 73 | |
| 74 | <annotation> |
Oleg Besedin | bf7210d | 2008-03-19 18:01:45 +0000 | [diff] [blame] | 75 | <appinfo> |
Matthew Flaherty | 760e5f3 | 2008-02-28 18:04:34 +0000 | [diff] [blame] | 76 | <meta.section type="apiInfo"/> |
Oleg Besedin | bf7210d | 2008-03-19 18:01:45 +0000 | [diff] [blame] | 77 | </appinfo> |
Matthew Flaherty | 760e5f3 | 2008-02-28 18:04:34 +0000 | [diff] [blame] | 78 | <documentation> |
| 79 | The JAAS API is part of the Java Runtime Environment version 1.4 and above. |
| 80 | </documentation> |
| 81 | </annotation> |
| 82 | |
Oleg Besedin | bf7210d | 2008-03-19 18:01:45 +0000 | [diff] [blame] | 83 | |
Matthew Flaherty | 760e5f3 | 2008-02-28 18:04:34 +0000 | [diff] [blame] | 84 | <annotation> |
Oleg Besedin | bf7210d | 2008-03-19 18:01:45 +0000 | [diff] [blame] | 85 | <appinfo> |
Matthew Flaherty | 760e5f3 | 2008-02-28 18:04:34 +0000 | [diff] [blame] | 86 | <meta.section type="implementation"/> |
Oleg Besedin | bf7210d | 2008-03-19 18:01:45 +0000 | [diff] [blame] | 87 | </appinfo> |
Matthew Flaherty | 760e5f3 | 2008-02-28 18:04:34 +0000 | [diff] [blame] | 88 | <documentation> |
| 89 | No public Callback Handlers are provided by the platform. |
| 90 | </documentation> |
| 91 | </annotation> |
| 92 | |
| 93 | <annotation> |
Oleg Besedin | bf7210d | 2008-03-19 18:01:45 +0000 | [diff] [blame] | 94 | <appinfo> |
Matthew Flaherty | 760e5f3 | 2008-02-28 18:04:34 +0000 | [diff] [blame] | 95 | <meta.section type="copyright"/> |
Oleg Besedin | bf7210d | 2008-03-19 18:01:45 +0000 | [diff] [blame] | 96 | </appinfo> |
Matthew Flaherty | 760e5f3 | 2008-02-28 18:04:34 +0000 | [diff] [blame] | 97 | <documentation> |
| 98 | Copyright (c) 2005, 2007 IBM Corporation and others.<br> |
| 99 | 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 <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> |
| 100 | </documentation> |
| 101 | </annotation> |
| 102 | |
| 103 | </schema> |