Re: [Acegisecurity-developer] Just starting

2005-03-25 Thread Ben Alex
Greg Akins wrote:
Thanks for responding.
I was missing some parts of the config files.. I got
everything cleared up so my web application starts
(Yay!!).
Now, the problem is.. I get a infinite redirect on web
application.
I'd image I screwed something up in the Controller
setup (I'm not familiar with Spring MVC and am trying
to incorporate this in a Struts app) and that is
causing my problem. 
 


Sounds like your login URL is being protected by 
FilterSecurityInterceptor, which throws an 
AccessDeniedException/AuthenticationException and the wrapping 
SecurityEnforcementFilter re-directs you once more to the login URL. Try 
checking the debug-level log. Also check your login page URL is set to 
ROLE_ANONYMOUS (if using anonymous authentication) or it is excluded 
from the Ant/regular expression paths defined against 
FilterSecurityInterceptor.

Ben

---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


[Acegisecurity-developer] Just starting

2005-03-24 Thread Greg Akins
I've been trying to get Acegi integrated into my
application.

It's been going fine, but I can't seem to figure out
how to get past this problem. Any help with this would
be greatly appreciated!

I started with acegisecurity 0.81, and then got a
nightly build (from last night) and build
0.82-SNAPSHOT; but got the same results.

I have this 

bean id=filterChainProxy
   
class=net.sf.acegisecurity.util.FilterChainProxy 
property name=filterInvocationDefinitionSource
   value
  CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON 
  PATTERN_TYPE_APACHE_ANT
 
/**=authenticationProcessingFilter,httpSessionIntegrationFilter,securityEnforcementFilter

   /value
/property
  /bean 

in my applicationContext.xml; which seems to be
relevant to the following stack trace.

2005-03-24 10:06:27 StandardContext[/eHold]Exception
starting filter Acegi Filter Chain Proxy
javax.servlet.ServletException: Bean context must
contain at least one bean of type
net.sf.acegisecurity.util.FilterChainProxy
at
net.sf.acegisecurity.util.FilterToBeanProxy.doInit(FilterToBeanProxy.java:200)
at 
net.sf.acegisecurity.util.FilterToBeanProxy.init(FilterToBeanProxy.java:137)


---
This SF.net email is sponsored by Microsoft Mobile  Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r)  Windows Mobile(tm) platforms, applications  content.  Register
by 3/29  save $300 http://ads.osdn.com/?ad_id=6883alloc_id=15149op=click
___
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Just starting

2005-03-24 Thread Greg Akins
Thanks for responding.

I was missing some parts of the config files.. I got
everything cleared up so my web application starts
(Yay!!).

Now, the problem is.. I get a infinite redirect on web
application.

I'd image I screwed something up in the Controller
setup (I'm not familiar with Spring MVC and am trying
to incorporate this in a Struts app) and that is
causing my problem. 

--- Ben Alex [EMAIL PROTECTED] wrote:
 Greg Akins wrote:
 
 I have this 
 
 bean id=filterChainProxy

 class=net.sf.acegisecurity.util.FilterChainProxy
 
 property
 name=filterInvocationDefinitionSource
value
  
 CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON 
PATTERN_TYPE_APACHE_ANT
   

/**=authenticationProcessingFilter,httpSessionIntegrationFilter,securityEnforcementFilter
 
/value
 /property
   /bean 
 
 in my applicationContext.xml; which seems to be
 relevant to the following stack trace.
 
 2005-03-24 10:06:27
 StandardContext[/eHold]Exception
 starting filter Acegi Filter Chain Proxy
 javax.servlet.ServletException: Bean context must
 contain at least one bean of type
 net.sf.acegisecurity.util.FilterChainProxy
   
 
 In your web.xml, do you have a context-param for 
 contextConfigLocation that includes your
 applicationContext.xml, along 
 with ContextLoaderListener? Another possible problem
 might be related to 
 JAR versions on your classloader. Check if you have
 any other 
 acegi-security-XXX.jars (perhaps old versions) in
 your web application 
 and servlet container classpath.
 
 Ben
 
 

---
 SF email is sponsored by - The IT Product Guide
 Read honest  candid reviews on hundreds of IT
 Products from real users.
 Discover which products truly live up to the hype.
 Start reading now.

http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
 ___
 Home: http://acegisecurity.sourceforge.net
 Acegisecurity-developer mailing list
 Acegisecurity-developer@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
 


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer