Ronan,

Please post the exception stack trace, or perhaps better yet, email your
securityfilter-config.xml and the stack trace to me and I'll help track the
problem down. It is likely that something is amiss in the
securityfilter-config.xml file, so a quick (but careful) check of any areas
you may have changed when setting it up for your app might get you to a
solution the fastest.

-Max

----- Original Message -----
From: "ronanoc" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, March 31, 2003 5:38 AM
Subject: Re: j_security_check


So I have got the demo to work, so I copied the .xml and java files
accross to my own project and I get this
javax.servlet.exception Error matching patterns

Any idea what that is? I set it up the same as with the Catalina
example. As in '/*' in web.xml and '/index.jsp' in security filter.

Thanks in advance.
Ronan.

On D�ardaoin, M�r 20, 2003, at 00:20 Etc/GMT, Max Cooper wrote:

> You can also use SecurityFilter, a filter-based clone of
> container-managed
> security. It allows you to set a default page to take users to when
> they log
> in "out of the blue". Container-managed security doesn't allow such
> login
> requests.
>
> http://securityfilter.sourceforge.net/
>
> -Max
>
> ----- Original Message -----
> From: "Scott Barr" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Wednesday, March 19, 2003 4:12 PM
> Subject: Re: j_security_check
>
>
>>
>> Hi Ronan
>>
>> You'll get this when you go directly to the page for the user to
>> login.
>> Instead, setup a resource that is protected by Container Managed
>> Security eg. /userHome.do, which will then take you to your login
>> page.
>> Once login is successful, you will be fowarded on to /userHome.do
>>
>> Once you've got a logged in user via CMS, you can use Filters (if
>> using
>> a servlet 2.3 container) to make sure the users session is setup with
>> all required objects.
>>
>> To log out, simply call session.invalidate()
>>
>> Regards
>> Scott Barr
>> www.exergonic.com.au
>>
>>
>> On Thu, 2003-03-20 at 09:49, ronanoc wrote:
>>
>>> I get this message when I am trying to login, and if I am already
>>> logged in too.
>>>
>>> Status 404 /mywebapp/j_security_check
>>>
>>> type Status report
>>> message /mywebapp/j_security_check
>>> description The requested resource (/mywebapp/j_security_check) is
>>> not
>>> available.
>>>
>>>
>>> How can I prevent this happening, and how can I logout, and log in
>>> again?
>>> Thanks.
>>>
>>> Ronan O'Ciosoig
>>> One Louder Recordings IRL
>>> Co. Dublin,
>>> Ireland.
>>> http://www.onelouder.org
>>
>
>
>
> ---------------------------------------------------------------------
> 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