|
@@ -8,7 +8,7 @@
|
|
<sec:http entry-point-ref="casProcessingFilterEntryPoint">
|
|
<sec:http entry-point-ref="casProcessingFilterEntryPoint">
|
|
<sec:intercept-url pattern="/secure/extreme/**" access="ROLE_SUPERVISOR" requires-channel="https"/>
|
|
<sec:intercept-url pattern="/secure/extreme/**" access="ROLE_SUPERVISOR" requires-channel="https"/>
|
|
<sec:intercept-url pattern="/secure/**" access="ROLE_USER" />
|
|
<sec:intercept-url pattern="/secure/**" access="ROLE_USER" />
|
|
- <sec:logout />
|
|
|
|
|
|
+ <sec:logout logout-success-url="/cas-logout.jsp"/>
|
|
</sec:http>
|
|
</sec:http>
|
|
|
|
|
|
<sec:authentication-manager alias="authenticationManager"/>
|
|
<sec:authentication-manager alias="authenticationManager"/>
|
|
@@ -17,8 +17,8 @@
|
|
<sec:custom-filter after="CAS_PROCESSING_FILTER"/>
|
|
<sec:custom-filter after="CAS_PROCESSING_FILTER"/>
|
|
<property name="authenticationManager" ref="authenticationManager"/>
|
|
<property name="authenticationManager" ref="authenticationManager"/>
|
|
<property name="authenticationFailureUrl" value="/casfailed.jsp"/>
|
|
<property name="authenticationFailureUrl" value="/casfailed.jsp"/>
|
|
- <property name="defaultTargetUrl" value="/"/>
|
|
|
|
- <property name="proxyGrantingTicketStorage" ref="proxyGrantingTicketStorage" />
|
|
|
|
|
|
+ <property name="defaultTargetUrl" value="/"/>
|
|
|
|
+ <property name="proxyGrantingTicketStorage" ref="proxyGrantingTicketStorage" />
|
|
<property name="proxyReceptorUrl" value="/secure/receptor" />
|
|
<property name="proxyReceptorUrl" value="/secure/receptor" />
|
|
</bean>
|
|
</bean>
|
|
|
|
|
|
@@ -33,14 +33,14 @@
|
|
<property name="serviceProperties" ref="serviceProperties" />
|
|
<property name="serviceProperties" ref="serviceProperties" />
|
|
<property name="ticketValidator">
|
|
<property name="ticketValidator">
|
|
<bean class="org.jasig.cas.client.validation.Cas20ServiceTicketValidator">
|
|
<bean class="org.jasig.cas.client.validation.Cas20ServiceTicketValidator">
|
|
- <constructor-arg index="0" value="https://localhost:9443/cas" />
|
|
|
|
- <property name="proxyGrantingTicketStorage" ref="proxyGrantingTicketStorage" />
|
|
|
|
|
|
+ <constructor-arg index="0" value="https://localhost:9443/cas" />
|
|
|
|
+ <property name="proxyGrantingTicketStorage" ref="proxyGrantingTicketStorage" />
|
|
<property name="proxyCallbackUrl" value="https://localhost:8443/cas-sample/secure/receptor" />
|
|
<property name="proxyCallbackUrl" value="https://localhost:8443/cas-sample/secure/receptor" />
|
|
</bean>
|
|
</bean>
|
|
</property>
|
|
</property>
|
|
- <property name="key" value="an_id_for_this_auth_provider_only"/>
|
|
|
|
- </bean>
|
|
|
|
-
|
|
|
|
|
|
+ <property name="key" value="an_id_for_this_auth_provider_only"/>
|
|
|
|
+ </bean>
|
|
|
|
+
|
|
<bean id="proxyGrantingTicketStorage" class="org.jasig.cas.client.proxy.ProxyGrantingTicketStorageImpl" />
|
|
<bean id="proxyGrantingTicketStorage" class="org.jasig.cas.client.proxy.ProxyGrantingTicketStorageImpl" />
|
|
|
|
|
|
<bean id="serviceProperties" class="org.springframework.security.ui.cas.ServiceProperties">
|
|
<bean id="serviceProperties" class="org.springframework.security.ui.cas.ServiceProperties">
|