
commerce.integration.3.1.15-GA.source-code.bl-applicationContext-test-security.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of integration Show documentation
Show all versions of integration Show documentation
BroadleafCommerce Integration
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <!-- #%L BroadleafCommerce Integration %% Copyright (C) 2009 - 2013 Broadleaf Commerce %% Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. #L% --> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:sec="http://www.springframework.org/schema/security" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.1.xsd"> <sec:http auto-config="true" > <sec:intercept-url pattern="/account/**" access="ROLE_USER" /> <sec:form-login login-page='/registerCustomer/registerCustomer.htm' default-target-url='/welcome.htm' authentication-failure-url="/registerCustomer/registerCustomer.htm?error=true" login-processing-url="/login_post.htm" /> <sec:logout logout-url="/logout.htm"/> <sec:remember-me /> <sec:custom-filter after="REMEMBER_ME_FILTER" ref="blCustomerStateFilter"/> </sec:http> <!-- bean id="passwordEncoder" class="org.springframework.security.providers.encoding.Md5PasswordEncoder"/ --> <!--=============================================================================================== --> <!-- Override the authentication provider to use the JDBC authentication defined below. --> <!--=============================================================================================== --> <sec:authentication-manager alias="blAuthenticationManager"> <sec:authentication-provider user-service-ref="blUserDetailsService" > <sec:password-encoder ref="blPasswordEncoder"/> </sec:authentication-provider> </sec:authentication-manager> <bean id="blCustomerStateFilter" class="org.broadleafcommerce.profile.web.core.security.CustomerStateFilter"/> </beans>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy