I am using my own JdbcDaoImpl for authentication of user from database.
When i run the program with my own roles say ROLE_ABC, I get a 404 (
resources access forbidden ) error.
I have been advised to diable the userchaching so that
DaoAuthenticationProvider will always get UserDetail from database.
I have done that, but even after that I have noticed if in
filterInvocationInterceptor I have
\A/secure/.*\Z=ROLE_SUPERVISOR,ROLE_TELLER line then my ROLE_ABC cannot log
in.
I've also tried removing that line, now user can be authenticated and can
properly navigate the pages, but If I run the application without any user
logged in, it gives me a exception in SecureIndexController, as it cannot
find any SecureContext Object.
any hints as to how the sample.contact application finds the SecureContext
Object every time container receives the request.

Regards,
 Sami Ather

--------------------------------------------------
System Developer
Product Development & Engineering
AUSTAR Communications Pty Ltd
Ph : 02 9394 9511



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Acegisecurity-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

Reply via email to