Vijay wrote:

Hello All,
I just started exploring acegi security for spring. I
tried to follow the "contacts" sample and integrate
security into my application. I am getting the
following exception. I am sure I am missing something
here. Could someone point me in the right direction.


<EXCEPTION LOG>
2004-07-21 12:49:16,792 ERROR
[org.springframework.web.servlet.DispatcherServlet] -
<Could not complete request>
net.sf.acegisecurity.AuthenticationCredentialsNotFoundException:
A valid SecureContext was not provided in the
RequestContext
        at
net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.interceptor(AbstractSecurityInterceptor.java:280)
        at



Hi Vijay

It looks as if your application isn't running the "user interface" section of code. The SecureContext is setup by one of the AbstractIntegrationFilter subclasses - usually AutoIntegrationFilter. Check your log to ensure this is being executed (it should be defined in web.xml). If you still have difficulties, please post your entire web.xml and applicationContext.xml.

Best regards
Ben



-------------------------------------------------------
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=4721&alloc_id=10040&op=click
_______________________________________________
Acegisecurity-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

Reply via email to