camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Hunt (JIRA)" <>
Subject [jira] Created: (CAMEL-1570) Jetty component is unable to be configured for security
Date Tue, 28 Apr 2009 08:38:38 GMT
Jetty component is unable to be configured for security

                 Key: CAMEL-1570
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-jetty
    Affects Versions: 2.0-M1, 1.6.0
         Environment: NA
            Reporter: Christopher Hunt

The Jetty component is presently unable to be configured for security. A general purpose mechanism
so that the Jetty component can be configured would be useful. The following URI based option
is proposed:

||Name||Default Value||Description||
|handlers|null| Specifies a comma delimited set of instances in your Registry (such as your
Spring ApplicationContext). This instances are added to the Jetty servlet context|

Here is an example URI:


This could refer to something like the following Spring configuration:

	<!-- Jetty Security handling -->
	<bean id="userRealm" class="">
		<property name="name" value="tracker-users" />
		<property name="loginModuleName" value="ldaploginmodule" />
	<bean id="constraint" class="">
		<property name="name" value="BASIC" />
		<property name="roles" value="tracker-users" />
		<property name="authenticate" value="true" />
	<bean id="constraintMapping" class="">
		<property name="constraint" ref="constraint" />
		<property name="pathSpec" value="/*" />
	<bean id="securityHandler" class="">
		<property name="userRealm" ref="userRealm" />
		<property name="constraintMappings" ref="constraintMapping" />

I have attached proposed changes to the 1.6 branch. I imagine that 2.0 should be quite similar.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message