hi.

i thought it's something similar to CMP ;-)
anyway, thans for the direction. that will definitely help.

-navjot


----- Original Message -----
From: "Jack Bakker" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, March 27, 2003 7:41 PM
Subject: RE: Struts Module Arch Q


> You don't need EJB to use container managed security. Look at:
> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html
>
> Jack Bakker
> > -----Original Message-----
> > From: Navjot Singh [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, March 27, 2003 9:04 AM
> > To: Struts Users Mailing List
> > Subject: Re: Struts Module Arch Q
> >
> >
> > Right now, i am not using EJB. Now, what's the solution?
> >
> > ----- Original Message -----
> > From: "Vic Cekvenich" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, March 27, 2003 5:32 PM
> > Subject: Re: Struts Module Arch Q
> >
> >
> > > Codeing something that is automatic is a bad practice.
> > >
> > > Consider using Container Mnaager Security, that does this fo you.
> > > .V
> > >
> > > Navjot Singh wrote:
> > > > Hi List,
> > > >
> > > > I want to build some kind of generic login system for my app and I
am
> > > > thinking on these lines
> > > >
> > > > Request Flow
> > > > ==========
> > > > test.jsp -> TestAction -> login.jsp -> LoginAction -> test.jsp
> > > >                          |
> > > >                  AuthCheck
> > > >
> > > > Problem
> > > > ======
> > > > test.jsp and login.jsp and under **different modules**. When
> > > > TestAction.class return ActionForward for login.jsp,
> > > > Struts generate an error "Action Not Found for /Login".  [ This is
> > action
> > > > defined in login.jsp]
> > > >
> > > > Which is genuinely right from Struts perspective as request is till
> > under
> > > > "test" module so
> > > > it tried to find **/Login action mapping** from that
> > **test-config.xml**
> > > > file.
> > > >
> > > > + Have someone faced any problem like this before?
> > > > + If you think there is better solution, pls let me know.
> > > >
> > > > + I am thinking of going RequestDisptacher way on top of Struts
> > > > ActionForward. Will that be OK?
> > > >    When AuthCheck returns __login failure__ , i can use request
> > disptacher
> > > > to forward request to login.jsp.
> > > >
> > > > regards
> > > > Navjot Singh
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to