Rev 106 | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 106 | espaco | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <beans xmlns="http://www.springframework.org/schema/beans" |
||
| 3 | xmlns:sec="http://www.springframework.org/schema/security" |
||
| 4 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||
| 5 | xmlns:jee="http://www.springframework.org/schema/jee" |
||
| 6 | xsi:schemaLocation="http://www.springframework.org/schema/beans |
||
| 7 | http://www.springframework.org/schema/beans/spring-beans-3.0.xsd |
||
| 8 | http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.0.xsd |
||
| 9 | http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.0.xsd"> |
||
| 10 | |||
| 11 | <sec:http auto-config="true" use-expressions="true"> |
||
| 12 | <sec:form-login login-page="/sistema/login.jsf" |
||
| 13 | login-processing-url="/loginProcess" |
||
| 14 | default-target-url="/index.jsp" |
||
| 15 | authentication-failure-url="/sistema/login.jsf?login_error=1" /> |
||
| 16 | |||
| 17 | <sec:intercept-url pattern="/sistema/**" access="isAuthenticated()"/> |
||
| 18 | <sec:intercept-url pattern="/sistema/login.jsf" filters="none"/> |
||
| 19 | <sec:intercept-url pattern="/sistema/login.xhtml" filters="none"/> |
||
| 20 | <sec:intercept-url pattern="/sistema/mega.xhtml" filters="none"/> |
||
| 21 | |||
| 337 | espaco | 22 | <sec:intercept-url pattern="/novo/sistema/**" filters="none"/> |
| 23 | |||
| 106 | espaco | 24 | <sec:logout logout-url="/sistema_security_logout" logout-success-url="/sistema/index.xhtml"/> |
| 25 | </sec:http> |
||
| 26 | |||
| 27 | <bean id="sistemaAuthenticationProvider" class="br.com.ec.controller.seguranca.SistemaAuthenticationProvider" /> |
||
| 28 | |||
| 29 | <sec:authentication-manager alias="authManager"> |
||
| 30 | <sec:authentication-provider ref="sistemaAuthenticationProvider"/> |
||
| 31 | </sec:authentication-manager> |
||
| 32 | |||
| 33 | </beans> |