camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From huntc <>
Subject Re: HTTPS - help required
Date Tue, 28 Apr 2009 06:17:46 GMT

Hi there,

Having found the need to be able to configure JAAS for my Camel Jetty
component I made some changes on my system to JettyHttpComponent and
JettyHttpEndpoint. These changes allow you to submit a Jetty Handler e.g. a
security handler by referring to a handler bean in the Jetty URI e.g.:


In my spring config, securityHandler is then defined as:

	&lt;!-- Jetty Security handling --&gt;
	&lt;bean id="userRealm"
		&lt;property name="name" value="tracker-users" /&gt;
		&lt;property name="loginModuleName" value="ldaploginmodule" /&gt;
		&lt;property name="roleClassNames"
value="com.classactionpl.jaas.UserGroup" /&gt;
	&lt;bean id="constraint" class=""&gt;
		&lt;property name="name" value="BASIC" /&gt;
		&lt;property name="roles" value="tracker-users" /&gt;
		&lt;property name="authenticate" value="true" /&gt;
	&lt;bean id="constraintMapping"
		&lt;property name="constraint" ref="constraint" /&gt;
		&lt;property name="pathSpec" value="/*" /&gt;
	&lt;bean id="securityHandler"
		&lt;property name="userRealm" ref="userRealm" /&gt;
		&lt;property name="constraintMappings" ref="constraintMapping" /&gt;

Would there be general interest in this capability? If so then I'm happy to
raise a JIRA and contribute the code. I've actually got everything above

Kind regards,
View this message in context:
Sent from the Camel - Users (activemq) mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message