Could you open a PR against https://github.com/apache/struts-examples
and contribute your example there?

2017-06-30 20:54 GMT+02:00 Ken McWilliams <ken.mcwilli...@gmail.com>:
> Thank you, look forward to it, I'm working on the same thing!
> I'm using this SO Q&A as my starting point and the accepted answers link
> the an similar example using StromPath:
> https://stackoverflow.com/questions/27063599/writing-custom-shiro-realm
>
> After that is don't I'll be looking to integrate AspectJ and I've
> experimented with Dagger2 so those would be the last pieces before I can do
> the "real work".
>
> On Fri, Jun 30, 2017 at 5:46 AM, Kofford, C. Todd <tkoff...@ku.edu> wrote:
>
>> Ken, I'm glad to help!
>>
>> I tried to use the latest version of shiro (1.4.0) too, but ran into a
>> some issues. I've posted a message to the shiro user group, and those guys
>> are really good about getting back and resolving issues, so I think it's
>> only a matter of time before that gets resolved.
>>
>> I've started another small project, still on shiro 1.3.2, that
>> demonstrates how to define a custom shiro "realm", where you can do
>> authentication and authorization. It's really pretty easy to implement, so
>> it shouldn't take too long to crank out and post up to GitHub.
>>
>> Todd Kofford
>> tkoff...@ku.edu
>>
>> -----Original Message-----
>> From: Ken McWilliams [mailto:ken.mcwilli...@gmail.com]
>> Sent: Thursday, June 29, 2017 1:25 PM
>> To: Struts Users Mailing List <user@struts.apache.org>
>> Subject: Re: Integrate Apache Shiro with Struts2
>>
>> 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 <tkoff...@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
>> > tkoff...@ku.edu
>> >
>> > -----Original Message-----
>> > From: Ken McWilliams [mailto:ken.mcwilli...@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 <tkoff...@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
>> > > tkoff...@ku.edu
>> > >
>> > >
>> > > -----Original Message-----
>> > > From: Lukasz Lenart [mailto:lukaszlen...@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.mcwilli...@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-unsubscr...@struts.apache.org
>> > > For additional commands, e-mail: user-h...@struts.apache.org
>> > >
>> > >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> > For additional commands, e-mail: user-h...@struts.apache.org
>> >
>>
>>
>>
>> --
>> Sent from my C64 using a 300 baud modem
>>
>
>
>
> --
> Sent from my C64 using a 300 baud modem

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to