Hi All,
We are trying to integrate the Siteminder authentication with Acegi. We tried to follow the previous threads http://forum.springframework.org/showthread.php?t=22067
and http://opensource.atlassian.com/proj...browse/SEC-217
but could not make it work.
We are using DerivedSiteminderAuthenticationProcessingFilter as discussed on above links.
Our authemticationProcessingFilter looks like
and filterChainProxy looks likeCode:<bean id="authenticationProcessingFilter" class="com.vaau.rbacx.security.acegisecurity.siteminder.filter.DerivedSiteminderAuthenticationProcessingFilter"> <property name="authenticationManager"><ref bean="authenticationManager"/></property> <property name="authenticationFailureUrl" value="/welcome.action?login_error=true"/> <property name="defaultTargetUrl" value="/secure/idc/certifications.action"/> <property name="filterProcessesUrl" value="/j_acegi_security_check" /> <property name="formUsernameParameterKey" value="j_username"/> <property name="formPasswordParameterKey" value="j_password"/> <property name="siteminderUsernameHeaderKey" value="sm-user"/> <property name="siteminderPasswordHeaderKey" value="sm-user"/> </bean>
Please let us know if we are missing out something.Code:<bean id="filterChainProxy" class="org.acegisecurity.util.FilterChainProxy"> <property name="filterInvocationDefinitionSource"> <value> CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON PATTERN_TYPE_APACHE_ANT /secure/**=httpSessionContextIntegrationFilter,authenticationProcessingFilter,contextHolderAwareRequestFilter,rememberMeProcessingFilter,securityEnforcementFilter /j_acegi_security_check*=httpSessionContextIntegrationFilter,authenticationProcessingFilter /welcome.action=httpSessionContextIntegrationFilter,contextHolderAwareRequestFilter,rememberMeProcessingFilter,securityEnforcementFilter /**=httpSessionContextIntegrationFilter,authenticationProcessingFilter,basicProcessingFilter </value> </property> </bean>
Any help will be highly appreciated!
Thanks and regards,
Sandesh


