Hi there,

With overlay, we supposed to be able to upgrade to CAS new version with a 
change in POM.  But in reality, it takes more than that. 

1. I need to extend login webflow, so I made a copy of login-webflow.xml 
and start making changes and additions.  I do not think overlay will take 
some from the original CAS login-webflow.xml and some from my 
login-webflow.xml and combine them.

2. For the same reason, I had to copy cas-servlet.xml because I want to add 
a subflow in login flow, and all I had to change is this line:

  <webflow:flow-registry id="loginFlowRegistry" 
flow-builder-services="builder" base-path="/WEB-INF/webflow">
    <!--  my customization, allow subflow in sub-directory   -->
    <webflow:flow-location-pattern value="/login/**/*-webflow.xml"/>
  </webflow:flow-registry>


  <!-- declare our own handler so that we can add additional exceptions -->
  <bean id="authenticationExceptionHandler" 
class="org.jasig.cas.web.flow.CASAuthenticationExceptionHandler" />

However, I donot know how to extend cas-servlet.xml without making a copy 
and directly changing the copy,  let Maven completely override the original 
cas-servlet.xml in CAS source.


3.  if I add a new filter, then I have to copy web.xml and add filter 
definition.

Next time, I upgrade CAS, I have to do the same process. Copying these 
files from CAS source, making changes to them.

Is there a better way?

Thx,
Yan

-- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.

Reply via email to