Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "JavaScript Policy Context Provider"

 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{#eclipseproject:technology.higgins|eclipse_custom_style.css}}
 
== Configuration ==
 
== Configuration ==
 
NOTE: The JavaScript Policy Context Provider configuration XML file format was designed to be used to configure any number and type of Context Provider.  Other Higgins Context Providers contributed by Novell currently use this same format.  Work is currently underway which may change or eliminate this method of CP configuration.
 
NOTE: The JavaScript Policy Context Provider configuration XML file format was designed to be used to configure any number and type of Context Provider.  Other Higgins Context Providers contributed by Novell currently use this same format.  Work is currently underway which may change or eliminate this method of CP configuration.
Line 6: Line 7:
 
[https://forgesvn1.novell.com/viewsvn/bandit/trunk/IdentityAbstraction/conf/realms.xsd?content-type=text%2Fplain Configuration XML Schema]
 
[https://forgesvn1.novell.com/viewsvn/bandit/trunk/IdentityAbstraction/conf/realms.xsd?content-type=text%2Fplain Configuration XML Schema]
  
Currently, there is only one fully functional example JavaScript Policy CP configuration file ([http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.higgins/plugins/org.eclipse.higgins.idas.cp.javascript.test/JSPolicyJNDICPTest.xml?root=Technology_Project&view=markup JSPolicyJNDICPTest.xml]).  This example causes the JavaScript Policy CP to wrap the JNDI CP which is, in turn, configured by this file ([http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.higgins/plugins/org.eclipse.higgins.idas.cp.javascript.test/JSPolicyJNDICPTest.xml?root=Technology_Project&view=markup JNDICPTest.xml]).  They are available in the org.eclipse.higgins.idas.cp.javascript.test project.  Instructions on how to access this project is available here: [[JavaScript_CP_CVS | JavaScript Policy CP Projects]].
+
Currently, there is only one fully functional example JavaScript Policy CP configuration file ([http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.higgins/plugins/org.eclipse.higgins.idas.cp.jspolicy.test/JSPolicyJNDICPTest.xml?root=Technology_Project&view=markup JSPolicyJNDICPTest.xml]).  This example causes the JavaScript Policy CP to wrap the JNDI CP which is, in turn, configured by this file ([http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.higgins/plugins/org.eclipse.higgins.idas.cp.jspolicy.test/JSPolicyJNDICPTest.xml?root=Technology_Project&view=markup JNDICPTest.xml]).  They are available in the org.eclipse.higgins.idas.cp.jspolicy.test project.  Instructions on how to access this project is available here: [[JavaScript_CP_CVS | JavaScript Policy CP Projects]].
  
 
Each Context configuration section is described by a "Realm" definition within the XML file.  For purposes of this documentation, the terms "Realm" and "Context" are synonymous.
 
Each Context configuration section is described by a "Realm" definition within the XML file.  For purposes of this documentation, the terms "Realm" and "Context" are synonymous.
Line 27: Line 28:
 
* [http://www.eclipse.org/higgins Higgins Home]
 
* [http://www.eclipse.org/higgins Higgins Home]
 
* [[Components]]
 
* [[Components]]
 +
[[Category:Higgins Components]]

Latest revision as of 10:33, 15 December 2008

{{#eclipseproject:technology.higgins|eclipse_custom_style.css}}

Configuration

NOTE: The JavaScript Policy Context Provider configuration XML file format was designed to be used to configure any number and type of Context Provider. Other Higgins Context Providers contributed by Novell currently use this same format. Work is currently underway which may change or eliminate this method of CP configuration.

The JavaScript Policy Context Provider is configured through an XML file whose format is specified by the following XML schema:

Configuration XML Schema

Currently, there is only one fully functional example JavaScript Policy CP configuration file (JSPolicyJNDICPTest.xml). This example causes the JavaScript Policy CP to wrap the JNDI CP which is, in turn, configured by this file (JNDICPTest.xml). They are available in the org.eclipse.higgins.idas.cp.jspolicy.test project. Instructions on how to access this project is available here: JavaScript Policy CP Projects.

Each Context configuration section is described by a "Realm" definition within the XML file. For purposes of this documentation, the terms "Realm" and "Context" are synonymous.

Realm Configuration Elements

realms

This element should encapsulate all realm definitions and other global configuration. This element should also define the namespaces to be used globally throughout the configuration document.

<bci:realms
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xmlns:bci="http://www.bandit-project.org/commonidentity"
   xmlns:xacml="urn:oasis:names:tc:xacml:2.0:policy:schema:os"
   xsi:schemaLocation="urn:oasis:names:tc:xacml:2.0:policy:schema:os:access_control-xacml-2.0-policy-schema-os.xsd">
   ...
</bci:realms>

See Also

Back to the top