Hi Richard,

Shiro is a Java-based framework that goes inside applications written
for the JVM (Java, Groovy, JRuby, etc) - it is not natively compatible
with Nginx (which I think is written in C?).  You could write a
Shiro-based web application that sits behind Nginx I think and then
based on answers returned from that web application, direct requests
to other backend services.  But that would require writing the
Shiro-based web app and maybe an Nginx plugin that knows how to do
this? (I'm not sure about the Nginx piece).

HTH,
--
Les Hazlewood | @lhazlewood
CTO, Stormpath | http://stormpath.com | @goStormpath | 888.391.5282

On Thu, May 2, 2013 at 12:29 PM, [email protected]
<[email protected]> wrote:
> Hi.
>
> I am fairly new to Shiro, and am wondering if there is anyone here
> experienced in using it with Nginx.
>
> Our proposed configuration is on an AWS VPC with Nginx running on a public
> subnet (the only externally accessible IP) redirecting traffic to various
> backend RESTful services on the private subnet.  Most of these RESTful
> services are not written in Java, but in a variety of other languages.  I am
> hoping to configure a single authentication and authorization service that
> the Nginx server will use to filter and redirect authenticated traffic to
> appropriate services; some services may be unauthenticated (such as the main
> web site), but most will require authentication.
>
> I have looked for resources on how to configure a Shiro filter on Nginx
> directlly, but am not finding anything.  Does anyone have advice or
> pointers?
>
>
>
> --
> View this message in context: 
> http://shiro-user.582556.n2.nabble.com/Using-Nginx-tp7578685.html
> Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to