Hi Schawn,
  You can find further information here:
https://wiki.jasig.org/display/CASUM/Best+Practice+-+Setting+Up+CAS+Locally+using+the+Maven2+WAR+Overlay+Method

  As you will see, you create a new maven project (war) that has a
dependency to cas-server-webapp. As a result, building this project will
result in a war project which overlays cas-server-webapp with your custom
configurations and/or new classes. I think this is a reasonable approach to
your own customization. You can also put your classes in a different jar
project and add it as a dependency to your overlay. This is up to you, as a
matter of separation or complexity of your packages.

2012/12/18 Schawn E. Thropp <[email protected]>

> Jumping back in to this again.  Any more insights on how to handle this.
> Just want to make sure I understand some of the suggestions below.  I guess
> I need more details/help on how to include these new classes into my
> cas.war project.
>
> Is the best approach creating a jar or just including the .class files?
>
> Can someone provide me more details on how to do this?
>
> Thanks a bunch.
>
>   *From:* Schawn E. Thropp <[email protected]>
> *To:* [email protected]
> *Sent:* Tuesday, December 11, 2012 9:34 AM
>
> *Subject:* Re: [cas-user] Adding a custom CredentialsToPrincipalResolver
> to cas.war
>
>   Scott,
> Since I am new to this, here is a follow-up question.  When you say my
> overlay project do you mean the location I am using to build my project
> using the Overlay process?  If so, I do not have a src/main/java/<PACKAGE>
> directory - do I just create one and move the .java file into that location
> and do a rebuild of the project?
>
> Schawn-
>
>   *From:* Scott Battaglia <[email protected]>
> *To:* [email protected]
> *Sent:* Friday, November 30, 2012 2:29 PM
> *Subject:* Re: [cas-user] Adding a custom CredentialsToPrincipalResolver
> to cas.war
>
> Why not just put the source file in src/main/java/<PACKAGE> in the overlay
> project?
>
>
> On Fri, Nov 30, 2012 at 2:03 PM, Schawn E. Thropp <[email protected]>wrote:
>
>  Help...  Now that I have created a custom CredentialsToPrincipalResolver
> and added the reference to it in the deployerConfigContext.xml, where do I
> place the actual .class file so that my Maven WAR Overlay build will pick
> up the new class and place it in the cas.war file?
>
>
> Schawn-
>
> --
> You are currently subscribed to [email protected] as: 
> [email protected]
>
>
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>
> --
> You are currently subscribed to [email protected] as: 
> [email protected]
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>
>
> --
> You are currently subscribed to [email protected] as: 
> [email protected]
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>
>
> --
> You are currently subscribed to [email protected] as: [email protected]
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to