Hi Matt,

Why would you do this in a container-specific manner when Shiro
supports server-side HTTP Basic Authentication out of the box via its
HttpBasicAuthenticationFilter
(http://shiro.apache.org/static/current/apidocs/org/apache/shiro/web/filter/authc/BasicHttpAuthenticationFilter.html)
?

If you can use this, it will work in any Servlet Container and you
don't have to worry about container-specific customization.  Is this
not sufficient?

Cheers,

--
Les Hazlewood
CTO, Stormpath | http://stormpath.com | 888.391.5282
twitter: @lhazlewood | http://twitter.com/lhazlewood
blog: http://leshazlewood.com
stormpath blog: http://www.stormpath.com/blog


On Wed, May 2, 2012 at 3:47 AM, MattShaw <[email protected]> wrote:
> Hi,
>
> I am successfully using Shiro in my application (non web based) for
> authentication.  I have just added an Embedded Jetty Server into the app to
> serve some basic RSS data over HTTP which works fine.
>
> I would like to enable Basic HTTP Authentication into the RSS web feed,
> which is possible using Jetty, but how to I devolve the Jetty LoginService
> to use the Shiro libraries and configuration?  There seems to be no obvious
> method?  I am not using any Jetty config files it's all programmatic.
>
> Regards
>
> Matt
>
>
>
> --
> View this message in context: 
> http://shiro-user.582556.n2.nabble.com/Integration-of-Shiro-with-Embedded-Jetty-tp7519712.html
> Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to