struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken McWilliams <ken.mcwilli...@gmail.com>
Subject Re: Integrate Apache Shiro with Struts2
Date Thu, 29 Jun 2017 18:25:02 GMT
Todd, thank you this was a huge help!

I've followed what you did and added it into a demo project that isn't much
more complicated than what you provided, just so I know how it all works.

One of the things I found the hard way is if you move to Shiro 1.4 (the
latest) it won't start...

I would like to turn your project into an struts2/shiro integration guide
(although the provided project is quite straight forward). I'm using JPA
services to get my user credentials so a bit of a guide there wouldn't
hurt, so next step is to figure out how to make that work with shiro.

Regards,
Ken

On Mon, Jun 26, 2017 at 9:40 AM, Kofford, C. Todd <tkofford@ku.edu> wrote:

> OK, I've just uploaded a very simple struts2 - shiro example to github:
> https://github.com/tkofford/struts2shiro. NOTE - this is a very simple
> example that uses a default shiro.ini file for authentication/authorization
> and struts interceptor for "injecting" the shiro subject into the stack.
>
> I'll start building a more complicated example that uses spring to inject
> the shiro parts, and reply back when that's done.
>
> Todd Kofford
> University of Kansas
> tkofford@ku.edu
>
> -----Original Message-----
> From: Ken McWilliams [mailto:ken.mcwilliams@gmail.com]
> Sent: Thursday, June 22, 2017 11:10 AM
> To: Struts Users Mailing List <user@struts.apache.org>
> Subject: Re: Integrate Apache Shiro with Struts2
>
> That would be awesome. From having looked around on the web there is very
> little Struts2/Shiro content. Some examples would be a great help.
>
> On Thu, Jun 22, 2017 at 9:51 AM, Kofford, C. Todd <tkofford@ku.edu> wrote:
>
> > We've been using strut2 and shiro for a long time (actually since the
> > old jsecurity days). I'd be happy to contribute some trivial and more
> > complex examples if needed.
> >
> > Todd Kofford
> > University of Kansas
> > tkofford@ku.edu
> >
> >
> > -----Original Message-----
> > From: Lukasz Lenart [mailto:lukaszlenart@apache.org]
> > Sent: Sunday, June 18, 2017 3:23 AM
> > To: Struts Users Mailing List <user@struts.apache.org>
> > Subject: Re: Integrate Apache Shiro with Struts2
> >
> > 2017-06-17 19:08 GMT+02:00 Ken McWilliams <ken.mcwilliams@gmail.com>:
> > > If not I hope to follow up with a solution.
> >
> > +1 and we can add it to our docs :)
> >
> >
> > Regards
> > --
> > Ɓukasz
> > + 48 606 323 122 http://www.lenart.org.pl/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>



-- 
Sent from my C64 using a 300 baud modem

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