|
Hi We are seeing a weird intermittent problem where the filterProcessesUrl from SecurityConfig is set to [:] This causes the login page to set our form post action to webapp/[:] rather than webapp/j_spring_security_check. I have not defined
filterProcessesUrl in SecurityConfig so am assuming it would take the default of /j_spring_security_check I have created my own AuthenticationProvider and set it in SecurityConfig.groovy as follows: providerNames = ['mphrxAuthenticationProvider', 'anonymousAuthenticationProvider', 'rememberMeAuthenticationProvider'] filterInvocationDefinitionSourceMap = [ '/api/**': 'httpSessionContextIntegrationFilter,logoutFilter,authenticationProcessingFilter,securityContextHolderAwareRequestFilter,rememberMeProcessingFilter,mobileAppFilter,anonymousProcessingFilter,mobileExceptionTranslationFilter,filterInvocationInterceptor', '/**': 'JOINED_FILTERS', ] I am also attaching my spring/resources.groovy which has some beans settings for MphrxAuthenticationProvider and the mobileAppFilter Any help would be appreciated! Best Regards Chetan Uberoy --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
Hi, can anybody help me – I just found out that even other variables defined in SecurityConfig.groovy are not accessible in this situation. It seems to be somehow related to tomcat restart – if we delete the
exploded war directory and then restart, the acegi configurations are loading up fine.. Best Regards Chetan Uberoy Country Head, India MphRx +919810930859 Saving Lives Through Technology From: Chetan Uberoy [mailto:[hidden email]]
Hi We are seeing a weird intermittent problem where the filterProcessesUrl from SecurityConfig is set to [:] This causes the login page to set our form post action to webapp/[:] rather than webapp/j_spring_security_check. I have not defined
filterProcessesUrl in SecurityConfig so am assuming it would take the default of /j_spring_security_check I have created my own AuthenticationProvider and set it in SecurityConfig.groovy as follows: providerNames = ['mphrxAuthenticationProvider', 'anonymousAuthenticationProvider', 'rememberMeAuthenticationProvider'] filterInvocationDefinitionSourceMap = [ '/api/**': 'httpSessionContextIntegrationFilter,logoutFilter,authenticationProcessingFilter,securityContextHolderAwareRequestFilter,rememberMeProcessingFilter,mobileAppFilter,anonymousProcessingFilter,mobileExceptionTranslationFilter,filterInvocationInterceptor', '/**': 'JOINED_FILTERS', ] I am also attaching my spring/resources.groovy which has some beans settings for MphrxAuthenticationProvider and the mobileAppFilter Any help would be appreciated! Best Regards Chetan Uberoy |
| Powered by Nabble | Edit this page |
