RE: Integrate Apache Shiro with Struts2

2017-07-06 Thread Kofford, C. Todd
PR created. TK tkoff...@ku.edu -Original Message- From: Lukasz Lenart [mailto:lukaszlen...@apache.org] Sent: Thursday, July 6, 2017 7:38 AM To: Struts Users Mailing List Subject: Re: Integrate Apache Shiro with Struts2 2017-07-06 14:33 GMT+02:00 Kofford, C. Todd : > Sure, is there

RE: Integrate Apache Shiro with Struts2

2017-07-06 Thread Kofford, C. Todd
ted 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 wrote: > >> Ken, I'm glad to help! >> >> I tried to use the latest version of shiro (1.4.0) too, but ran into

RE: Integrate Apache Shiro with Struts2

2017-06-30 Thread Kofford, C. Todd
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,

RE: Integrate Apache Shiro with Struts2

2017-06-26 Thread Kofford, C. Todd
June 22, 2017 11:10 AM To: Struts Users Mailing List 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 w

RE: Integrate Apache Shiro with Struts2

2017-06-22 Thread Kofford, C. Todd
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.o

RE: by pass the validation

2013-07-09 Thread Kofford, C. Todd
I think that if you name your validation file as follows it will only trigger for the given method. SomeAction--validation.xml For the "saveFile" method you would have: SomeAction-saveFile-validation.xml Todd Kofford tkoff...@ku.edu From: Alireza Fattah

RE: Cancel-Redirect Action not working on Portlet

2010-03-23 Thread Kofford, C Todd
rsity of Kansas - IT -Original Message----- From: Kofford, C Todd [mailto:tkoff...@ku.edu] Sent: Monday, March 15, 2010 10:20 AM To: user@struts.apache.org Subject: Cancel-Redirect Action not working on Portlet I am using Struts 2.1.8.1 with the portlet plug-in, and my webapp, a simple album database, is

Cancel-Redirect Action not working on Portlet

2010-03-15 Thread Kofford, C Todd
I am using Struts 2.1.8.1 with the portlet plug-in, and my webapp, a simple album database, is deployed on a tomcat 6 container. When running this webapp stand-alone the cancel button action correctly fires and calls the "cancelAlbum" action, but when running the same webapp as a portlet in uPorta

RE: Struts2 with Authentication & Security

2009-08-21 Thread Kofford, C Todd
Martin, did you let the shiro guys know about the problems you had building the jars? I haven't built the core package since it was still jsecurity. I know that they've been doing lots of work on their svn repo, since they renamed the project. Les Hazlewood and the other shiro guys are extreme

RE: Struts2 with Authentication & Security

2009-08-21 Thread Kofford, C Todd
I know that Spring Security (ACEGI) gets a lot of publicity, but there are other alternatives out there too. Last year I implemented a struts2 based system using Apache Shiro (formerly jsecurity), and found it very easy to learn an implement. On their website, http://cwiki.apache.org/SHIRO/ the

RE: Struts2 portlet bug found

2009-07-22 Thread Kofford, C Todd
Since this deals with struts and uportal I have copied the uportal user group in this response too. I had a similar problem. See email thread below: http://www.mail-archive.com/user@struts.apache.org/msg87615.html I was simply using the session (map) object from a SessionAware action class and n

RE: redirect action in s:submit

2009-06-22 Thread Kofford, C Todd
Couldn't you do something like the following? ... redirect:%{myAction} I haven't personally tried this, but I've used plenty of "action" URLs with multiple parameters defined this way. Todd Kofford tkoff

RE: Struts2 and Security

2009-06-19 Thread Kofford, C Todd
I developed an webapp about a year ago, using struts 2 and a security package called (at the time) jsecurity. Since then, jsecurity has become an apache project and has been renamed Apache Ki/Shiro. I guess that there was a naming conflict with the "Ki" name, so it is now called Apache Shiro (as of

RE: Error when deploying portlets beside a normal Struts2 web app?

2009-06-17 Thread Kofford, C Todd
I am experiencing the exact same problem ever since I moved to struts 2.1.6. This was not a problem in struts 2.0.14, and in fact, we've stayed with struts 2.0.14 for this very reason. Todd Kofford tkoff...@ku.edu University of Kansas - IT -Original Message- From: IainM [mailto:iain.

RE: [s2] multiple submit buttons using action and method

2009-04-30 Thread Kofford, C Todd
You may want to re-consider the design of having multiple submit buttons on the same page. This can be tricky for users that like to use the "enter" key instead of the mouse click, and make it hard for the user to figure out which submit button was executed. I won't even get into browser issues. T

RE: Struts 2 Portlet - Intermittent Session Problems

2009-04-22 Thread Kofford, C Todd
l...@gmail.com] Sent: Thursday, April 16, 2009 6:02 AM To: Struts Users Mailing List Subject: Re: Struts 2 Portlet - Intermittent Session Problems Great. Please post back with your findings. Nils-H On Thu, Apr 16, 2009 at 4:29 AM, Kofford, C Todd wrote: > Well, my log didn't seem to e

RE: Struts 2 Portlet - Intermittent Session Problems

2009-04-15 Thread Kofford, C Todd
in case others using struts & uportal come across this issue. Todd Kofford tkoff...@ku.edu University of Kansas - IT -Original Message----- From: Kofford, C Todd [mailto:tkoff...@ku.edu] Sent: Wed 4/15/2009 4:04 PM To: Struts Users Mailing List Subject: RE: Struts 2 Portlet - Intermitte

RE: Struts 2 Portlet - Intermittent Session Problems

2009-04-15 Thread Kofford, C Todd
eInterceptor.doIntercept(PrepareInterceptor.java:134) ... -Original Message- From: Kofford, C Todd [mailto:tkoff...@ku.edu] Sent: Wednesday, April 15, 2009 8:57 AM To: Struts Users Mailing List Subject: RE: Struts 2 Portlet - Intermittent Session Problems I've been trying to reproduce the proble

RE: Struts 2 Portlet - Intermittent Session Problems

2009-04-15 Thread Kofford, C Todd
ation that can be used to reproduce the error. Are you by any chance calling "clear()" on the session map? That would invalidate the session. Nils-H On Wed, Apr 15, 2009 at 3:40 PM, Kofford, C Todd wrote: > I'm using session scope (implements SessionAware). > > No, I

RE: Struts 2 Portlet - Intermittent Session Problems

2009-04-15 Thread Kofford, C Todd
nt portlet container? Nils-H On Tue, Apr 14, 2009 at 8:01 PM, Kofford, C Todd wrote: > Hi Nils, > > Well this issue cannot be reproduced on a consistent basis. I can do the same > operation 4 times and 3 of the 4 times it works properly, but one time it > doesn't and the sessi

RE: Struts 2 Portlet - Intermittent Session Problems

2009-04-14 Thread Kofford, C Todd
Without more information, it's impossible to say what the problem could be (besides a regular session timeout or something...) Nils-H On Fri, Apr 10, 2009 at 10:13 PM, Kofford, C Todd wrote: > I have a struts 2 (version 2.1.6) portlet that I keep seeing > intermittent problems with th

Struts 2 Portlet - Intermittent Session Problems

2009-04-10 Thread Kofford, C Todd
I have a struts 2 (version 2.1.6) portlet that I keep seeing intermittent problems with the session being wiped out. Each time this happens I see the following messages in the log: DEBUG [Thread-57] interceptor.PortletStateInterceptor.[] Apr/10 14:26:57 - Won't restore stack from event phase since