Re: Step by Step Struts 2 tutorial

2008-12-22 Thread Steven Yang
Great Thanks a lot My company is just gonna start to use S2. I can sure use your demos to teach my colleges good job

Step by Step Struts 2 tutorial

2008-12-21 Thread licicin
Hi, i started Struts 2 tutorial http://www.onepd.com/ The Struts 2 tutorial will help the reader truly understand Struts 2 concepts, it starts with simple examples and explains not only how to use Struts' features, but also how certain features work under the hood; Integrates Str

Re: JAAS struts 2 Tutorial?

2007-09-24 Thread Ian Roughley
You can find the key features of acegi here - http://www.acegisecurity.org/. I see the advantages as being able to customize the authentication and authorization from within the scope of the web application, and not external configuration via an app server. But then, this also depends on the

Re: JAAS struts 2 Tutorial?

2007-09-24 Thread wild_oscar
--------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- View this message in context: http://www.nabble.com/JAAS-struts-2-Tutorial--tf4428234.html#a1285841

RE: JAAS struts 2 Tutorial?

2007-09-23 Thread Fowler, Perryn
OTECTED] On Behalf Of Muhammad Momin Rashid Sent: Wednesday, 12 September 2007 7:32 PM To: user@struts.apache.org Subject: JAAS struts 2 Tutorial? Hello Everyone, I am looking for a tutorial for integrating JAAS into my Struts 2 + Hibernate Application. Can anyone point me to the right resources?

RE: Struts 2 tutorial

2007-09-18 Thread Dave Newton
--- Wesley Wannemacher <[EMAIL PROTECTED]> wrote: > Struts2 is heavily based on WebWork, > which uses xwork. I am not sure if this will be > re-factored out. Almost everything in S2 *is* XWork; I don't see how (or why) it would or could be refactored out. d. ---

Re: JAAS struts 2 Tutorial?

2007-09-18 Thread Ian Roughley
If you are not using container managed persistence, where the HttpRequest values are being set in the environment, you probably don't want to use the Principal or PrincipalAware interface, or even to wrap the HttpServletRequest (this email was in response to using a servlet wrapper to re-implem

RE: Struts 2 tutorial

2007-09-18 Thread Wesley Wannemacher
: Tuesday, September 18, 2007 2:22 PM To: Struts Users Mailing List Subject: Struts 2 tutorial I'm trying to follow along the Struts 2 tutorial. The HelloWorld.java file starts this way: package tutorial; import com.opensymphony.xwork2.ActionSupport; public class HelloWorld ex

Struts 2 tutorial

2007-09-18 Thread Slattery, Tim - BLS
I'm trying to follow along the Struts 2 tutorial. The HelloWorld.java file starts this way: package tutorial; import com.opensymphony.xwork2.ActionSupport; public class HelloWorld extends ActionSupport { What's with com.opensymphony.xwork2.ActionSupport? I don't se

Re: JAAS struts 2 Tutorial?

2007-09-18 Thread Chris Pratt
On 9/18/07, Ian Roughley <[EMAIL PROTECTED]> wrote: > By implementing the PrincipalAware interface, the Principal object will > be injected into the action with those values from the request (the > user, roles, etc.). The values can be be used in the action, or the > Principal can be exposed with

Re: JAAS struts 2 Tutorial?

2007-09-18 Thread Ian Roughley
By implementing the PrincipalAware interface, the Principal object will be injected into the action with those values from the request (the user, roles, etc.). The values can be be used in the action, or the Principal can be exposed with a setter for the actions to use. /Ian Mark McLaren wro

Re: JAAS struts 2 Tutorial?

2007-09-18 Thread Mark McLaren
Hi all, I think this is a generic problem rather than something Struts 2 specific. Ideally in this situation you would want to be able to access getRemoteUser() and isUserInRole() from the request. One approach is to use your application servers' container managed security, e.g. Tomcat JAASRealm

Re: JAAS struts 2 Tutorial?

2007-09-17 Thread Eugen Stoianovici
I would like a tutorial on integrating jaas in struts2 too. Or rather than a tutorial, i would like to see some working code. I've done a lot of reading (i'm new to java web applications, it's been only a month since i've started) and i have some understanding on how this should work but i just

Re: JAAS struts 2 Tutorial?

2007-09-17 Thread Muhammad Momin Rashid
Hello Tom, Thanks for your continued input. The application isn't simple, it is a J2EE application which will serve a large number of users (users will be using Web Browser or Mobile Device to access the application). Based on the help I got on this list, I have been successful in setting u

Re: JAAS struts 2 Tutorial?

2007-09-16 Thread tom tom
If it's simple application, you dont need JAAS, You can do it via just session management isnt it? You might need user, role, user-role threee tables on database thats it :) If you are using Application server like Jboss, the server itself got inbuilt features, which is altogether a different di

Re: JAAS struts 2 Tutorial?

2007-09-13 Thread Muhammad Momin Rashid
Hello tom, I am building a J2EE application, that is going to be viewed using Web Browser and Mobile Devices. I am trying to implement security so that only a logged in user with the correct role can access the different parts of the application e.g. a non-logged in user can only access the

Re: JAAS struts 2 Tutorial?

2007-09-12 Thread tom tom
what exactly you are trying to do? --- Muhammad Momin Rashid <[EMAIL PROTECTED]> wrote: > Hello Everyone, > > I am looking for a tutorial for integrating JAAS > into my Struts 2 + > Hibernate Application. Can anyone point me to the > right resources? > > Is JAAS the best way to go, or there

Re: JAAS struts 2 Tutorial?

2007-09-12 Thread wild_oscar
- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/JAAS-struts-2-Tutorial--tf4428234.html#a126397

Re: JAAS struts 2 Tutorial?

2007-09-12 Thread Mark McLaren
Muhammad, Starting out from scratch should you use JAAS? I'm not a JAAS expert (I tend to use JASIG CAS which uses JAAS internally and SecurityFilter) but I imagine it all depends on your circumstances. >From what I can gather if you need to reuse the exact same login mechanism for desktop applic

Re: JAAS struts 2 Tutorial?

2007-09-12 Thread Muhammad Momin Rashid
Hello Mark, Thanks for your response. Actually I am writing a Web Application from Scratch, using Struts 2 and Hibernate. I need to implement security so that only authorised User can access the desired pages. The user names, passwords and their roles are stored in the database. I am look

Re: JAAS struts 2 Tutorial?

2007-09-12 Thread Mark McLaren
Hi Muhammad, With respect to JAAS integration. Do you mean something like this? I'm new to Struts 2 but I would imagine you probably want an interceptor of some kind (RolesInterceptor, PrincipalAware etc.) to pass yo

JAAS struts 2 Tutorial?

2007-09-12 Thread Muhammad Momin Rashid
Hello Everyone, I am looking for a tutorial for integrating JAAS into my Struts 2 + Hibernate Application. Can anyone point me to the right resources? Is JAAS the best way to go, or there are better alternates? If anyone thinks there are better alternates, can you provide me with the links

Re: Excellent Struts 2 Tutorial

2007-07-05 Thread Ted Husted
ttp://www.husted.com/ted/blog/> On 7/3/07, Wesley Wannemacher <[EMAIL PROTECTED]> wrote: Sweet! I appreciate it! -Wes -Original Message- From: Musachy Barroso [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 03, 2007 3:22 PM To: Struts Users Mailing List Subject: Re: Excellent Struts 2 Tutori

RE: Excellent Struts 2 Tutorial

2007-07-03 Thread Wesley Wannemacher
Sweet! I appreciate it! -Wes -Original Message- From: Musachy Barroso [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 03, 2007 3:22 PM To: Struts Users Mailing List Subject: Re: Excellent Struts 2 Tutorial Adding a link here will help people find it ;) http://struts.apache.org/2.x/docs

Re: Excellent Struts 2 Tutorial

2007-07-03 Thread Musachy Barroso
don't mind reading it... Hopefully I can help out some newbs. http://www.wantii.com/wordpress/?cat=3 -Wes -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 03, 2007 1:14 PM To: Struts Users Mailing List Subject: Excellent Struts 2 Tutorial Guys -

RE: Excellent Struts 2 Tutorial

2007-07-03 Thread Wesley Wannemacher
lto:[EMAIL PROTECTED] Sent: Tuesday, July 03, 2007 1:14 PM To: Struts Users Mailing List Subject: Excellent Struts 2 Tutorial Guys -- After reading about everything I could get my hands on and looping through the "code-build-deploy-try" cycle until dizzy, I decided to drop $29.00 on the compr

Excellent Struts 2 Tutorial

2007-07-03 Thread stanlick
Guys -- After reading about everything I could get my hands on and looping through the "code-build-deploy-try" cycle until dizzy, I decided to drop $29.00 on the comprehensive S2 tutorial available at ArcTech The tutorial was clearly designed with the de

Re: struts 2 tutorial and maven question

2006-12-11 Thread Chong Yoke Ping
Hi, In your pom.xml, under the resource tag, you need to add the resource directory "**/*.xml". Hence your resource tags should have the following: ${basedir}/src/main/resources **/*.*

struts 2 tutorial and maven question

2006-12-11 Thread Cecilia Castillo
Hi! I am new to struts, maven etc. I am trying to follow the bootstrap tutorial for struts 2. I used the Maven Archetype to create a new application for the tutorial and everything worked fine except... - when I create the Login-validation.xml in my src/main/java/tutorial directory (where L