<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-15448</id>
	<title>Nabble - CAS</title>
	<updated>2008-10-10T11:09:59Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/CAS-f15448.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/CAS-f15448.html" />
	<subtitle type="html">&lt;a href=&quot;http://www.ja-sig.org/products/cas/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;CAS&lt;/a&gt;&amp;nbsp;is an authentication system originally created by Yale University to provide a trusted way for an application to authenticate a user.</subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-19923278</id>
	<title>Multiple SSO Sessions</title>
	<published>2008-10-10T11:09:59Z</published>
	<updated>2008-10-10T11:09:59Z</updated>
	<author>
		<name>hchopra</name>
	</author>
	<content type="html">Hi. 
&lt;br&gt;Is it possible to have multiple SSO sessions simultaneously within a single CAS server instance? I am looking at a scenario where say, ApplicationA and ApplicationB need to share one SSO login, and ApplicationC and ApplicationD need to share another SSO login, and all applications are active together. 
&lt;br&gt;The case arises if we have internal apps which share one SSO, and external (customer-facing) apps which share another SSO. Employees may be logged into the internal apps (say thru LDAP), but they may also want to log into the external apps (using their account no/password), and check their account as a customer. Each SSO would obviously have its own Auth handlers/login webflows etc.
&lt;br&gt;I guess one option is to have separate CAS instances (e.g. /cas1 and /cas2), but can this be done with a single CAS instance ? Any pointers accepted gratefully. Thanx&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/CAS-Users-f15449.html&quot; embed=&quot;fixTarget[15449]&quot; target=&quot;_top&quot; &gt;CAS Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Multiple-SSO-Sessions-tp19923278p19923278.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19922401</id>
	<title>Re: Best practice for CAS load balance/failover</title>
	<published>2008-10-10T10:03:58Z</published>
	<updated>2008-10-10T10:03:58Z</updated>
	<author>
		<name>scott_battaglia</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;On Fri, Oct 10, 2008 at 12:47 PM, Kim Cary &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19922401&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kim.Cary@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div class=&quot;Ih2E3d&quot;&gt;On Oct 10, 2008, at 5:34 AM, Andrew Ralph Feller, afelle1 wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt; NOTE: All of these options require you to configure the cookie&lt;br&gt;
&amp;gt; generators to set CAS cookies for a domain reachable by all machines&lt;br&gt;
&amp;gt; within your cluster / fail over environment.&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;Read that 3x and its not sinking in. Can you help me?&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;If they&amp;#39;re all behind the same domain name (i.e. &lt;a href=&quot;http://cas.yourinstitution.edu&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas.yourinstitution.edu&lt;/a&gt;) then you&amp;#39;re fine.&amp;nbsp; We do that at RU.&lt;br&gt;
&lt;br&gt;-Scott&lt;br&gt;&amp;nbsp;&lt;br&gt;&lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;br&gt;
&lt;br&gt;
Let&amp;#39;s say I put some CAS servers on two different class C nets and&lt;br&gt;
somehow put them behind a load balancer, then if they&amp;#39;re both within&lt;br&gt;
my overall netblock and on the same domain, is there anything I need&lt;br&gt;
to configure to make SSOn work? How &amp;#39;bout SSOut?&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
KC&lt;br&gt;
&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;_______________________________________________&lt;br&gt;
Yale CAS mailing list&lt;br&gt;
&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19922401&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://tp.its.yale.edu/mailman/listinfo/cas&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://tp.its.yale.edu/mailman/listinfo/cas&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Yale CAS mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19922401&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://tp.its.yale.edu/mailman/listinfo/cas&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tp.its.yale.edu/mailman/listinfo/cas&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/CAS-Users-f15449.html&quot; embed=&quot;fixTarget[15449]&quot; target=&quot;_top&quot; &gt;CAS Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Best-practice-for-CAS-load-balance-failover-tp19912100p19922401.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19922166</id>
	<title>Re: Best practice for CAS load balance/failover</title>
	<published>2008-10-10T09:47:00Z</published>
	<updated>2008-10-10T09:47:00Z</updated>
	<author>
		<name>Kim Cary</name>
	</author>
	<content type="html">On Oct 10, 2008, at 5:34 AM, Andrew Ralph Feller, afelle1 wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; NOTE: All of these options require you to configure the cookie &amp;nbsp;
&lt;br&gt;&amp;gt; generators to set CAS cookies for a domain reachable by all machines &amp;nbsp;
&lt;br&gt;&amp;gt; within your cluster / fail over environment.
&lt;br&gt;&lt;br&gt;Read that 3x and its not sinking in. Can you help me?
&lt;br&gt;&lt;br&gt;Let's say I put some CAS servers on two different class C nets and &amp;nbsp;
&lt;br&gt;somehow put them behind a load balancer, then if they're both within &amp;nbsp;
&lt;br&gt;my overall netblock and on the same domain, is there anything I need &amp;nbsp;
&lt;br&gt;to configure to make SSOn work? How 'bout SSOut?
&lt;br&gt;&lt;br&gt;KC
&lt;br&gt;_______________________________________________
&lt;br&gt;Yale CAS mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19922166&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://tp.its.yale.edu/mailman/listinfo/cas&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tp.its.yale.edu/mailman/listinfo/cas&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/CAS-Users-f15449.html&quot; embed=&quot;fixTarget[15449]&quot; target=&quot;_top&quot; &gt;CAS Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Best-practice-for-CAS-load-balance-failover-tp19912100p19922166.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19922069</id>
	<title>Re: Building CAS</title>
	<published>2008-10-10T09:41:29Z</published>
	<updated>2008-10-10T09:41:29Z</updated>
	<author>
		<name>scott_battaglia</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;We probably need to do a better job of documenting when something changes in the deployerConfigContext.xml.&amp;nbsp; For the most part it doesn&amp;#39;t change between releases, but when Spring Security changes their package name, it does :-)&lt;br&gt;
&lt;br&gt;If you can think of a good spot, let me know.&lt;br&gt;&lt;br&gt;-Scott&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;-Scott Battaglia&lt;br&gt;PGP Public Key Id: 0x383733AA&lt;br&gt;LinkedIn: &lt;a href=&quot;http://www.linkedin.com/in/scottbattaglia&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.linkedin.com/in/scottbattaglia&lt;/a&gt;&lt;br&gt;

&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Oct 10, 2008 at 12:22 PM, Matthew Jones &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19922069&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matthew.jones@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Hi David,&lt;div class=&quot;Ih2E3d&quot;&gt;&lt;br&gt;
&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
You&amp;#39;re having the &amp;quot;CAS-that-I-built-deployment-problem&amp;quot; :-) &amp;nbsp;That&amp;#39;s&lt;br&gt;
why I still recommend you put the logging, the UI, the LDAP, etc.&lt;br&gt;
aside. &amp;nbsp;Use your newly installed Maven 2.0.9 and build the CAS&lt;br&gt;
download overall. &amp;nbsp;It automatically pulls the authenticator and builds&lt;br&gt;
a CAS.war for you. &amp;nbsp;When that deploys, add the logging. &amp;nbsp;Do it again.&lt;br&gt;
If you&amp;#39;re successful, modify the UI for your CAS.war. &amp;nbsp;Deploy. &amp;nbsp;Test.&lt;br&gt;
&lt;/blockquote&gt;
&lt;br&gt;&lt;/div&gt;
All those done and all work&lt;br&gt;
Next I modified the pom.xml file and it still works and the sping LDAP jars are pulled in and appear in the libs folder.&lt;br&gt;
Next, I edited deployerContextConfig.xml first just adding AuthenticatedLdapContextSource without enabling it as the authentication handler and then enabling it.&lt;br&gt;
&lt;br&gt;
On each occasion, I stopped Tomcat (after un-deploying) and cleared the log files so I could see that there were no errors. So I ended up producing the correctly configured &amp;amp; working .war file.&lt;br&gt;
&lt;br&gt;
When I was differencing my deployer config with one from one of my the previous installs, I finally saw the difference in the file (which I have just seen that Scott diagnosed, thanks Scott). I had obviously managed to pull a 3.2.1 config file into my 3.3 tree. (I think I know why that happened too, someone switched off my 3.3 test server!)&lt;div class=&quot;Ih2E3d&quot;&gt;
&lt;br&gt;
&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
I&amp;#39;m purposely not trying to tell you what the error is. &amp;nbsp;I want you to&lt;br&gt;
understand how to find the reason why your Spring bean won&amp;#39;t&lt;br&gt;
instantiate. &amp;nbsp;And, when your Spring bean doesn&amp;#39;t instantiate, your&lt;br&gt;
application that you built doesn&amp;#39;t work. &amp;nbsp;I&amp;#39;ll look over these files&lt;br&gt;
and reply if I see something obvious. &amp;nbsp;I understand your pain there,&lt;br&gt;
but if you start simple and add you&amp;#39;ll be able to ask the list why&lt;br&gt;
&amp;quot;this&amp;quot; configuration for this bean &amp;quot;classA&amp;quot; doesn&amp;#39;t instantiate.&lt;br&gt;
&lt;br&gt;
Simplify your CAS.war and deploy that successfully. &amp;nbsp;You&amp;#39;re building it.&lt;br&gt;
&lt;/blockquote&gt;
&lt;br&gt;&lt;/div&gt;
I&amp;#39;m not sure I am that much the wiser but I got to deploy my war file loads of times and it does now work.&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;&lt;br&gt;
&lt;br&gt;
Thanks&lt;br&gt;
&lt;br&gt;
-- &lt;br&gt;
Matthew Jones&lt;br&gt;
Interactive Data Managed Solutions Ltd&lt;br&gt;
-----------------------------------------------------------------------&lt;br&gt;
Registered in England Company Number 3691868&lt;br&gt;
Registered Office: Fitzroy House, 13-17 Epworth Street, London, EC2A 4DL&lt;br&gt;
Tel: +44 (0)1242 694133 | Fax: +44 (0)1242 694109&lt;br&gt;
&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19922069&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matthew.jones@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://www.interactivedata-ms.com/694133&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.interactivedata-ms.com/694133&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
This message (including any files transmitted with it) may contain confidential and/or proprietary information, is the property of Interactive Data Corporation and/or its subsidiaries, and is directed only to the addressee(s). If you are not the designated recipient or have reason to believe you received this message in error, please delete this message from your system and notify the sender immediately. An unintended recipient&amp;#39;s disclosure, copying, distribution, or use of this message or any attachments is prohibited and may be unlawful.&lt;br&gt;

Interactive Data (Europe) Ltd Registered No. 949387 England Registered Office: Fitzroy House 13-17 Epworth Street. London. EC2A 4DL&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;br&gt;_______________________________________________&lt;br&gt;
Yale CAS mailing list&lt;br&gt;
&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19922069&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://tp.its.yale.edu/mailman/listinfo/cas&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://tp.its.yale.edu/mailman/listinfo/cas&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Yale CAS mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19922069&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://tp.its.yale.edu/mailman/listinfo/cas&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tp.its.yale.edu/mailman/listinfo/cas&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/CAS-Users-f15449.html&quot; embed=&quot;fixTarget[15449]&quot; target=&quot;_top&quot; &gt;CAS Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/mod_auth_cas%3A-CAS-behind-proxy-tp19838342p19922069.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19921786</id>
	<title>Re: Building CAS</title>
	<published>2008-10-10T09:22:19Z</published>
	<updated>2008-10-10T09:22:19Z</updated>
	<author>
		<name>Matthew Jones-7</name>
	</author>
	<content type="html">Hi David,
&lt;br&gt;&lt;br&gt;&amp;gt; You're having the &amp;quot;CAS-that-I-built-deployment-problem&amp;quot; :-) &amp;nbsp;That's
&lt;br&gt;&amp;gt; why I still recommend you put the logging, the UI, the LDAP, etc.
&lt;br&gt;&amp;gt; aside. &amp;nbsp;Use your newly installed Maven 2.0.9 and build the CAS
&lt;br&gt;&amp;gt; download overall. &amp;nbsp;It automatically pulls the authenticator and builds
&lt;br&gt;&amp;gt; a CAS.war for you. &amp;nbsp;When that deploys, add the logging. &amp;nbsp;Do it again.
&lt;br&gt;&amp;gt; If you're successful, modify the UI for your CAS.war. &amp;nbsp;Deploy. &amp;nbsp;Test.
&lt;br&gt;&lt;br&gt;All those done and all work
&lt;br&gt;Next I modified the pom.xml file and it still works and the sping LDAP 
&lt;br&gt;jars are pulled in and appear in the libs folder.
&lt;br&gt;Next, I edited deployerContextConfig.xml first just adding 
&lt;br&gt;AuthenticatedLdapContextSource without enabling it as the authentication 
&lt;br&gt;handler and then enabling it.
&lt;br&gt;&lt;br&gt;On each occasion, I stopped Tomcat (after un-deploying) and cleared the 
&lt;br&gt;log files so I could see that there were no errors. So I ended up 
&lt;br&gt;producing the correctly configured &amp; working .war file.
&lt;br&gt;&lt;br&gt;When I was differencing my deployer config with one from one of my the 
&lt;br&gt;previous installs, I finally saw the difference in the file (which I 
&lt;br&gt;have just seen that Scott diagnosed, thanks Scott). I had obviously 
&lt;br&gt;managed to pull a 3.2.1 config file into my 3.3 tree. (I think I know 
&lt;br&gt;why that happened too, someone switched off my 3.3 test server!)
&lt;br&gt;&lt;br&gt;&amp;gt; I'm purposely not trying to tell you what the error is. &amp;nbsp;I want you to
&lt;br&gt;&amp;gt; understand how to find the reason why your Spring bean won't
&lt;br&gt;&amp;gt; instantiate. &amp;nbsp;And, when your Spring bean doesn't instantiate, your
&lt;br&gt;&amp;gt; application that you built doesn't work. &amp;nbsp;I'll look over these files
&lt;br&gt;&amp;gt; and reply if I see something obvious. &amp;nbsp;I understand your pain there,
&lt;br&gt;&amp;gt; but if you start simple and add you'll be able to ask the list why
&lt;br&gt;&amp;gt; &amp;quot;this&amp;quot; configuration for this bean &amp;quot;classA&amp;quot; doesn't instantiate.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Simplify your CAS.war and deploy that successfully. &amp;nbsp;You're building it.
&lt;br&gt;&lt;br&gt;I'm not sure I am that much the wiser but I got to deploy my war file 
&lt;br&gt;loads of times and it does now work.
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Matthew Jones
&lt;br&gt;Interactive Data Managed Solutions Ltd
&lt;br&gt;-----------------------------------------------------------------------
&lt;br&gt;Registered in England Company Number 3691868
&lt;br&gt;Registered Office: Fitzroy House, 13-17 Epworth Street, London, EC2A 4DL
&lt;br&gt;Tel: +44 (0)1242 694133 | Fax: +44 (0)1242 694109
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19921786&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matthew.jones@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.interactivedata-ms.com/694133&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.interactivedata-ms.com/694133&lt;/a&gt;&lt;br&gt;&lt;br&gt;This message (including any files transmitted with it) may contain 
&lt;br&gt;confidential and/or proprietary information, is the property of 
&lt;br&gt;Interactive Data Corporation and/or its subsidiaries, and is directed 
&lt;br&gt;only to the addressee(s). If you are not the designated recipient or 
&lt;br&gt;have reason to believe you received this message in error, please delete 
&lt;br&gt;this message from your system and notify the sender immediately. An 
&lt;br&gt;unintended recipient's disclosure, copying, distribution, or use of this 
&lt;br&gt;message or any attachments is prohibited and may be unlawful.
&lt;br&gt;Interactive Data (Europe) Ltd Registered No. 949387 England Registered 
&lt;br&gt;Office: Fitzroy House 13-17 Epworth Street. London. EC2A 4DL
&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Yale CAS mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19921786&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://tp.its.yale.edu/mailman/listinfo/cas&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tp.its.yale.edu/mailman/listinfo/cas&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;smime.p7s&lt;/strong&gt; (3K) &lt;a href=&quot;http://www.nabble.com/attachment/19921786/0/smime.p7s&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/CAS-Users-f15449.html&quot; embed=&quot;fixTarget[15449]&quot; target=&quot;_top&quot; &gt;CAS Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/mod_auth_cas%3A-CAS-behind-proxy-tp19838342p19921786.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19921499</id>
	<title>Re: CASFilter configuration and environment-specific artifacts</title>
	<published>2008-10-10T09:04:53Z</published>
	<updated>2008-10-10T09:04:53Z</updated>
	<author>
		<name>scott_battaglia</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Forgot to send the link:&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.ja-sig.org/wiki/display/CASC/CAS+Client+for+Java+3.1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/CASC/CAS+Client+for+Java+3.1&lt;/a&gt;&lt;br&gt;&lt;br&gt;You&amp;#39;ll find ways to configure via web.xml, JNDI and Spring.&lt;br&gt;
&lt;br&gt;-Scott&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;-Scott Battaglia&lt;br&gt;PGP Public Key Id: 0x383733AA&lt;br&gt;LinkedIn: &lt;a href=&quot;http://www.linkedin.com/in/scottbattaglia&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.linkedin.com/in/scottbattaglia&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Oct 9, 2008 at 12:12 PM, Scott Battaglia &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19921499&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;scott.battaglia@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div dir=&quot;ltr&quot;&gt;Mark,&lt;br&gt;&lt;br&gt;You may want to look at the new JASIG CAS Client for Java which can read from Spring config files, web.xml or JNDI.&lt;br&gt;&lt;br&gt;-Scott&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br clear=&quot;all&quot;&gt;-Scott Battaglia&lt;br&gt;PGP Public Key Id: 0x383733AA&lt;br&gt;

LinkedIn: &lt;a href=&quot;http://www.linkedin.com/in/scottbattaglia&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.linkedin.com/in/scottbattaglia&lt;/a&gt;&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Oct 9, 2008 at 10:26 AM, McEahern, Mark S &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19921499&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mceahems@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

Hi, it looks like the CASFilter configuration requires that I place&lt;br&gt;
environment-specific artifacts into my web.xml (which is then packed&lt;br&gt;
into my .war).&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.ja-sig.org/wiki/display/CASC/Using+CASFilter&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/CASC/Using+CASFilter&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
That is, I need to set one of the following:&lt;br&gt;
&lt;br&gt;
 &amp;nbsp;edu.yale.its.tp.cas.client.filter.serverName&lt;br&gt;
 &amp;nbsp;edu.yale.its.tp.cas.client.filter.serviceUrl&lt;br&gt;
&lt;br&gt;
How do I then take my .war and drop it into successive environments&lt;br&gt;
(dev, test, ultimately prod) without having to edit web.xml with&lt;br&gt;
environment-specific differences?&lt;br&gt;
&lt;br&gt;
How have others addressed this issue?&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Mark McEahern&lt;br&gt;
Lead Architect&lt;br&gt;
Division of Public Health Informatics and Surveillance&lt;br&gt;
Wisconsin State Lab of Hygiene&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
_______________________________________________&lt;br&gt;
Yale CAS mailing list&lt;br&gt;
&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19921499&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://tp.its.yale.edu/mailman/listinfo/cas&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://tp.its.yale.edu/mailman/listinfo/cas&lt;/a&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Yale CAS mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19921499&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://tp.its.yale.edu/mailman/listinfo/cas&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tp.its.yale.edu/mailman/listinfo/cas&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/CAS-Users-f15449.html&quot; embed=&quot;fixTarget[15449]&quot; target=&quot;_top&quot; &gt;CAS Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/CASFilter-configuration-and-environment-specific-artifacts-tp19901615p19921499.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19920792</id>
	<title>Re: Building CAS</title>
	<published>2008-10-10T08:31:00Z</published>
	<updated>2008-10-10T08:31:00Z</updated>
	<author>
		<name>scott_battaglia</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Matthew,&lt;br&gt;&lt;br&gt;Looks like you pulled in your old deployerConfigContext.xml?&amp;nbsp; Would that be correct?&amp;nbsp; CAS 3.3 uses the latest version of Spring Security (well latest at the time) which replaced org.acegisecurity with org.springframework.security.&lt;br&gt;
&lt;br&gt;You probably just need to update your entries.&lt;br&gt;&lt;br&gt;-Scott&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;-Scott Battaglia&lt;br&gt;PGP Public Key Id: 0x383733AA&lt;br&gt;LinkedIn: &lt;a href=&quot;http://www.linkedin.com/in/scottbattaglia&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.linkedin.com/in/scottbattaglia&lt;/a&gt;&lt;br&gt;

&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Oct 10, 2008 at 6:40 AM, Matthew Jones &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19920792&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matthew.jones@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
I am still unable to successfully deploy the CAS server I have tried to build using Maven2. I enclose the details of my building and the errors from the logs when I try to run it. Please can anyone spot what I have missed out or forgotten to do? The LDAP authentication is identical to that of the downloaded .war file that previously had running.&lt;br&gt;

&lt;br&gt;
Here is a find showing the files that I have changed under the cas-server-webapp directory where I run the build from:&lt;br&gt;
&lt;br&gt;
# find . -newer src -type f -print&lt;br&gt;
./src/main/webapp/images/logo_IDC.jpg&lt;br&gt;
./src/main/webapp/css/cas.css&lt;br&gt;
./src/main/webapp/WEB-INF/classes/log4j.properties&lt;br&gt;
./src/main/webapp/WEB-INF/deployerConfigContext.xml&lt;br&gt;
./src/main/webapp/WEB-INF/view/jsp/default/ui/includes/bottom.jsp&lt;br&gt;
./pom.xml&lt;br&gt;
&lt;br&gt;
I have hacked in a logo into the default scheme rather than properly skinning it. Other than that, I have changed the pom.xml and deployerConfixContext.xml files to use our LDAP server for authentication and put the correct value into log4j.properties so that cas.log appears in the same place as catalina.out (thus fixing the file create errors)&lt;br&gt;

&lt;br&gt;
Version information:&lt;br&gt;
&lt;br&gt;
# mvn --version&lt;br&gt;
Maven version: 2.0.9&lt;div class=&quot;Ih2E3d&quot;&gt;&lt;br&gt;
Java version: 1.6.0_06&lt;br&gt;
OS name: &amp;quot;linux&amp;quot; version: &amp;quot;2.6.24-19-generic&amp;quot; arch: &amp;quot;amd64&amp;quot; Family: &amp;quot;unix&amp;quot;&lt;br&gt;
&lt;br&gt;&lt;/div&gt;
Now here is the build&lt;br&gt;
&lt;br&gt;
# mvn package&lt;br&gt;
[INFO] Scanning for projects...&lt;br&gt;
[INFO] ------------------------------------------------------------------------&lt;br&gt;
[INFO] Building JA-SIG CAS Web Application&lt;br&gt;
[INFO] &amp;nbsp; &amp;nbsp;task-segment: [package]&lt;br&gt;
[INFO] ------------------------------------------------------------------------&lt;br&gt;
[INFO] [resources:resources]&lt;br&gt;
[INFO] Using default encoding to copy filtered resources.&lt;br&gt;
Downloading: &lt;a href=&quot;http://developer.ja-sig.org/maven2/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://developer.ja-sig.org/maven2/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom&lt;/a&gt;&lt;br&gt;
Downloading: &lt;a href=&quot;http://repo1.maven.org/maven2/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://repo1.maven.org/maven2/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom&lt;/a&gt;&lt;br&gt;
Downloading: &lt;a href=&quot;http://developer.ja-sig.org/maven2/org/opensaml/opensaml/1.1b/opensaml-1.1b.pom&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://developer.ja-sig.org/maven2/org/opensaml/opensaml/1.1b/opensaml-1.1b.pom&lt;/a&gt;&lt;br&gt;
Downloading: &lt;a href=&quot;http://repo1.maven.org/maven2/org/opensaml/opensaml/1.1b/opensaml-1.1b.pom&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://repo1.maven.org/maven2/org/opensaml/opensaml/1.1b/opensaml-1.1b.pom&lt;/a&gt;&lt;br&gt;
[INFO] [compiler:compile]&lt;br&gt;
[INFO] No sources to compile&lt;br&gt;
[INFO] [resources:testResources]&lt;br&gt;
[INFO] Using default encoding to copy filtered resources.&lt;br&gt;
[INFO] [compiler:testCompile]&lt;br&gt;
[INFO] No sources to compile&lt;br&gt;
[INFO] [surefire:test]&lt;br&gt;
[INFO] No tests to run.&lt;br&gt;
[INFO] [war:war]&lt;br&gt;
[INFO] Packaging webapp&lt;br&gt;
[INFO] Assembling webapp[cas-server-webapp] in [/home/dj/workspace/cas-server-3.3/cas-server-webapp/target/cas-server-webapp-3.3]&lt;br&gt;
[INFO] Processing war project&lt;br&gt;
[INFO] Webapp assembled in[1132 msecs]&lt;br&gt;
[INFO] Building war: /home/dj/workspace/cas-server-3.3/cas-server-webapp/target/cas.war&lt;br&gt;
[INFO] Preparing source:jar&lt;br&gt;
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.&lt;br&gt;
[INFO] No goals needed for project - skipping&lt;br&gt;
[INFO] [source:jar {execution: attach-sources}]&lt;br&gt;
[INFO] Building jar: /home/dj/workspace/cas-server-3.3/cas-server-webapp/target/cas-server-webapp-3.3-sources.jar&lt;br&gt;
[INFO] ------------------------------------------------------------------------&lt;br&gt;
[INFO] BUILD SUCCESSFUL&lt;br&gt;
[INFO] ------------------------------------------------------------------------&lt;br&gt;
[INFO] Total time: 15 seconds&lt;br&gt;
[INFO] Finished at: Fri Oct 10 11:17:25 BST 2008&lt;br&gt;
[INFO] Final Memory: 19M/47M&lt;br&gt;
[INFO] ------------------------------------------------------------------------&lt;br&gt;
&lt;br&gt;
I then deploy the created file target/cas.war onto the server using the Tomcat Web Application Manager on the server (running CentOS 5.2, Tomcat 5.5.23 and Sun Java JVM 1.6.0_06-b02). Prior to doing this I have un-deployed any old versions of CAS that were running, stopped Tomcat and truncated the log files. I then start Tomcat again and check that it is running correctly. No errors in catalina.out and nothing in cas.log.&lt;br&gt;

&lt;br&gt;
The message displayed in the Tomcat Web Application Manager is &amp;#39;OK&amp;#39; and the cas application appears at /cas but is not running.&lt;br&gt;
&lt;br&gt;
Here is the contents of catalina.out from the start until the first error, I then remove the traceback information. The resulting errors are repeated too.&lt;br&gt;
&lt;br&gt;
Using CATALINA_BASE: &amp;nbsp; /usr/share/tomcat5&lt;br&gt;
Using CATALINA_HOME: &amp;nbsp; /usr/share/tomcat5&lt;br&gt;
Using CATALINA_TMPDIR: /usr/share/tomcat5/temp&lt;br&gt;
Using JRE_HOME:&lt;br&gt;
Oct 7, 2008 5:08:23 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent&lt;br&gt;
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jdk1.6.0_06/jre/lib/i386/client:/usr/java/jdk1.6.0_06/jre/lib/i386:/usr/java/jdk1.6.0_06/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib&lt;br&gt;

Oct 7, 2008 5:08:23 PM org.apache.coyote.http11.Http11BaseProtocol init&lt;br&gt;
INFO: Initializing Coyote HTTP/1.1 on http-8080&lt;br&gt;
Oct 7, 2008 5:08:24 PM org.apache.coyote.http11.Http11BaseProtocol init&lt;br&gt;
INFO: Initializing Coyote HTTP/1.1 on http-8443&lt;br&gt;
Oct 7, 2008 5:08:24 PM org.apache.catalina.startup.Catalina load&lt;br&gt;
INFO: Initialization processed in 2969 ms&lt;br&gt;
Oct 7, 2008 5:08:24 PM org.apache.catalina.core.StandardService start&lt;br&gt;
INFO: Starting service Catalina&lt;br&gt;
Oct 7, 2008 5:08:24 PM org.apache.catalina.core.StandardEngine start&lt;br&gt;
INFO: Starting Servlet Engine: Apache Tomcat/5.5.23&lt;br&gt;
Oct 7, 2008 5:08:24 PM org.apache.catalina.core.StandardHost start&lt;br&gt;
INFO: XML validation disabled&lt;br&gt;
Oct 7, 2008 5:08:26 PM org.apache.catalina.core.ApplicationContext log&lt;br&gt;
INFO: ContextListener: contextInitialized()&lt;br&gt;
Oct 7, 2008 5:08:26 PM org.apache.catalina.core.ApplicationContext log&lt;br&gt;
INFO: SessionListener: contextInitialized()&lt;br&gt;
Oct 7, 2008 5:08:27 PM org.apache.catalina.core.ApplicationContext log&lt;br&gt;
INFO: ContextListener: contextInitialized()&lt;br&gt;
Oct 7, 2008 5:08:27 PM org.apache.catalina.core.ApplicationContext log&lt;br&gt;
INFO: SessionListener: contextInitialized()&lt;br&gt;
Oct 7, 2008 5:08:27 PM org.apache.catalina.core.ApplicationContext log&lt;br&gt;
INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: &lt;a href=&quot;http://www.cnn.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.cnn.com&lt;/a&gt;], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: &lt;a href=&quot;http://www.yahoo.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.yahoo.com&lt;/a&gt;], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: &lt;a href=&quot;http://jakarta.apache.org&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://jakarta.apache.org&lt;/a&gt;]]&lt;br&gt;

Oct 7, 2008 5:08:27 PM org.apache.coyote.http11.Http11BaseProtocol start&lt;br&gt;
INFO: Starting Coyote HTTP/1.1 on http-8080&lt;br&gt;
Oct 7, 2008 5:08:27 PM org.apache.coyote.http11.Http11BaseProtocol start&lt;br&gt;
INFO: Starting Coyote HTTP/1.1 on http-8443&lt;br&gt;
Oct 7, 2008 5:08:27 PM org.apache.jk.common.ChannelSocket init&lt;br&gt;
INFO: JK: ajp13 listening on /&lt;a href=&quot;http://0.0.0.0:8009&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;0.0.0.0:8009&lt;/a&gt;&lt;br&gt;
Oct 7, 2008 5:08:27 PM org.apache.jk.server.JkMain start&lt;br&gt;
INFO: Jk running ID=0 time=0/93 &amp;nbsp;config=null&lt;br&gt;
Oct 7, 2008 5:08:27 PM org.apache.catalina.storeconfig.StoreLoader load&lt;br&gt;
INFO: Find registry server-registry.xml at classpath resource&lt;br&gt;
Oct 7, 2008 5:08:28 PM org.apache.catalina.startup.Catalina start&lt;br&gt;
INFO: Server startup in 3514 ms&lt;br&gt;
Oct 7, 2008 5:25:05 PM org.apache.catalina.core.ApplicationContext log&lt;br&gt;
INFO: HTMLManager: init: Associated with Deployer &amp;#39;Catalina:type=Deployer,host=localhost&amp;#39;&lt;br&gt;
Oct 7, 2008 5:25:05 PM org.apache.catalina.core.ApplicationContext log&lt;br&gt;
INFO: HTMLManager: init: Global resources are available&lt;br&gt;
Oct 7, 2008 5:25:05 PM org.apache.catalina.core.ApplicationContext log&lt;br&gt;
INFO: HTMLManager: list: Listing contexts for virtual host &amp;#39;localhost&amp;#39;&lt;br&gt;
Oct 7, 2008 5:25:45 PM org.apache.catalina.startup.HostConfig deployWAR&lt;br&gt;
INFO: Deploying web application archive cas.war&lt;br&gt;
2008-10-07 17:25:52,210 ERROR [org.springframework.web.context.ContextLoader] - &amp;lt;Context initialization failed&amp;gt;&lt;br&gt;
org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;_authenticationManager&amp;#39;: Cannot resolve reference to bean &amp;#39;casAuthenticationProvider&amp;#39; while setting bean property &amp;#39;providers&amp;#39; with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;casAuthenticationProvider&amp;#39; defined in ServletContext resource [/WEB-INF/spring-configuration/securityContext.xml]: Cannot resolve reference to bean &amp;#39;userDetailsService&amp;#39; while setting bean property &amp;#39;userDetailsService&amp;#39;; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.acegisecurity.userdetails.memory.InMemoryDaoImpl] for bean with name &amp;#39;userDetailsService&amp;#39; defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]; nested exception is java.lang.ClassNotFoundException: org.acegisecurity.userdetails.memory.InMemoryDaoImpl&lt;b! r&gt;

&lt;br&gt;
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;casAuthenticationProvider&amp;#39; defined in ServletContext resource [/WEB-INF/spring-configuration/securityContext.xml]: Cannot resolve reference to bean &amp;#39;userDetailsService&amp;#39; while setting bean property &amp;#39;userDetailsService&amp;#39;; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.acegisecurity.userdetails.memory.InMemoryDaoImpl] for bean with name &amp;#39;userDetailsService&amp;#39; defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]; nested exception is java.lang.ClassNotFoundException: org.acegisecurity.userdetails.memory.InMemoryDaoImpl&lt;br&gt;

&lt;br&gt;
2008-10-07 17:25:52,220 FATAL [org.jasig.cas.web.init.SafeContextLoaderListener] - &amp;lt;SafeContextLoaderListener:&lt;div class=&quot;Ih2E3d&quot;&gt;&lt;br&gt;
The Spring ContextLoaderListener we wrap threw on contextInitialized.&lt;br&gt;
But for our having caught this error, the web application context would not have initialized.&amp;gt;&lt;br&gt;&lt;/div&gt;
org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;_authenticationManager&amp;#39;: Cannot resolve reference to bean &amp;#39;casAuthenticationProvider&amp;#39; while setting bean property &amp;#39;providers&amp;#39; with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;casAuthenticationProvider&amp;#39; defined in ServletContext resource [/WEB-INF/spring-configuration/securityContext.xml]: Cannot resolve reference to bean &amp;#39;userDetailsService&amp;#39; while setting bean property &amp;#39;userDetailsService&amp;#39;; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.acegisecurity.userdetails.memory.InMemoryDaoImpl] for bean with name &amp;#39;userDetailsService&amp;#39; defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]; nested exception is java.lang.ClassNotFoundException: org.acegisecurity.userdetails.memory.InMemoryDaoImpl&lt;b! r&gt;

&lt;br&gt;
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;casAuthenticationProvider&amp;#39; defined in ServletContext resource [/WEB-INF/spring-configuration/securityContext.xml]: Cannot resolve reference to bean &amp;#39;userDetailsService&amp;#39; while setting bean property &amp;#39;userDetailsService&amp;#39;; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.acegisecurity.userdetails.memory.InMemoryDaoImpl] for bean with name &amp;#39;userDetailsService&amp;#39; defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]; nested exception is java.lang.ClassNotFoundException: org.acegisecurity.userdetails.memory.InMemoryDaoImpl&lt;br&gt;

&lt;br&gt;
Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.acegisecurity.userdetails.memory.InMemoryDaoImpl] for bean with name &amp;#39;userDetailsService&amp;#39; defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]; nested exception is java.lang.ClassNotFoundException:&lt;div class=&quot;Ih2E3d&quot;&gt;
&lt;br&gt;
SafeContextLoaderListener:&lt;br&gt;
The Spring ContextLoaderListener we wrap threw on contextInitialized.&lt;br&gt;
But for our having caught this error, the web application context would not have initialized.&lt;br&gt;&lt;/div&gt;
org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;_authenticationManager&amp;#39;: Cannot resolve reference to bean &amp;#39;casAuthenticationProvider&amp;#39; while setting bean property &amp;#39;providers&amp;#39; with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;casAuthenticationProvider&amp;#39; defined in ServletContext resource [/WEB-INF/spring-configuration/securityContext.xml]: Cannot resolve reference to bean &amp;#39;userDetailsService&amp;#39; while setting bean property &amp;#39;userDetailsService&amp;#39;; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.acegisecurity.userdetails.memory.InMemoryDaoImpl] for bean with name &amp;#39;userDetailsService&amp;#39; defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]; nested exception is java.lang.ClassNotFoundException:&lt;br&gt;

&lt;br&gt;
SEVERE: Error filterStart&lt;br&gt;
Oct 7, 2008 5:25:52 PM org.apache.catalina.core.StandardContext start&lt;div class=&quot;Ih2E3d&quot;&gt;&lt;br&gt;
SEVERE: Context [/cas] startup failed due to previous errors&lt;br&gt;&lt;/div&gt;
Oct 7, 2008 5:25:52 PM org.apache.catalina.core.ApplicationContext log&lt;br&gt;
INFO: HTMLManager: list: Listing contexts for virtual host &amp;#39;localhost&amp;#39;&lt;br&gt;
&lt;br&gt;
cas.log seems to have pretty much the same information in it starting with the following:&lt;br&gt;
&lt;br&gt;
2008-10-07 17:25:52,210 ERROR [org.springframework.web.context.ContextLoader] - Context initialization failed&lt;br&gt;
org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;_authenticationManager&amp;#39;: Cannot resolve reference to bean &amp;#39;casAuthenticationProvider&amp;#39; while setting bean property &amp;#39;providers&amp;#39; with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name &amp;#39;casAuthenticationProvider&amp;#39; defined in ServletContext resource [/WEB-INF/spring-configuration/securityContext.xml]: Cannot resolve reference to bean &amp;#39;userDetailsService&amp;#39; while setting bean property &amp;#39;userDetailsService&amp;#39;; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.acegisecurity.userdetails.memory.InMemoryDaoImpl] for bean with name &amp;#39;userDetailsService&amp;#39; defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]; nested exception is&lt;br&gt;

[/WEB-INF/spring-configuration/securityContext.xml]: Cannot resolve reference to bean &amp;#39;userDetailsService&amp;#39; while setting bean property &amp;#39;userDetailsService&amp;#39;; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.acegisecurity.userdetails.memory.InMemoryDaoImpl] for bean with name &amp;#39;userDetailsService&amp;#39; defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]; nested exception is java.lang.ClassNotFoundException: --&lt;br&gt;

&lt;br&gt;
&lt;br&gt;
All help gratefully received.&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;&lt;br&gt;
&lt;br&gt;
Thanks&lt;br&gt;
&lt;br&gt;
-- &lt;br&gt;
Matthew Jones&lt;br&gt;
Interactive Data Managed Solutions Ltd&lt;br&gt;
-----------------------------------------------------------------------&lt;br&gt;
Registered in England Company Number 3691868&lt;br&gt;
Registered Office: Fitzroy House, 13-17 Epworth Street, London, EC2A 4DL&lt;br&gt;
Tel: +44 (0)1242 694133 | Fax: +44 (0)1242 694109&lt;br&gt;
&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19920792&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matthew.jones@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://www.interactivedata-ms.com/694133&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.interactivedata-ms.com/694133&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
This message (including any files transmitted with it) may contain confidential and/or proprietary information, is the property of Interactive Data Corporation and/or its subsidiaries, and is directed only to the addressee(s). If you are not the designated recipient or have reason to believe you received this message in error, please delete this message from your system and notify the sender immediately. An unintended recipient&amp;#39;s disclosure, copying, distribution, or use of this message or any attachments is prohibited and may be unlawful.&lt;br&gt;

Interactive Data (Europe) Ltd Registered No. 949387 England Registered Office: Fitzroy House 13-17 Epworth Street. London. EC2A 4DL&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;br&gt;_______________________________________________&lt;br&gt;
Yale CAS mailing list&lt;br&gt;
&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19920792&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://tp.its.yale.edu/mailman/listinfo/cas&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://tp.its.yale.edu/mailman/listinfo/cas&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Yale CAS mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19920792&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://tp.its.yale.edu/mailman/listinfo/cas&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tp.its.yale.edu/mailman/listinfo/cas&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/CAS-Users-f15449.html&quot; embed=&quot;fixTarget[15449]&quot; target=&quot;_top&quot; &gt;CAS Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/mod_auth_cas%3A-CAS-behind-proxy-tp19838342p19920792.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19920733</id>
	<title>Re: Best practice for CAS load balance/failover</title>
	<published>2008-10-10T08:28:38Z</published>
	<updated>2008-10-10T08:28:38Z</updated>
	<author>
		<name>scott_battaglia</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Andrew&amp;#39;s assessment is correct:&lt;br&gt;&lt;br&gt;We currently support four methods:&lt;br&gt;&lt;br&gt;1. Memcached/repcache&lt;br&gt;2. Terraccotta&lt;br&gt;3. JBossCache&lt;br&gt;4. Database&lt;br&gt;&lt;br&gt;#1 is what we use here at Rutgers.&amp;nbsp; We&amp;#39;ve been relatively happy with it.&amp;nbsp; We did significant load testing with it and its been in production for about a month now.&amp;nbsp; We&amp;#39;ll know more in another month when the peak period hits ;-)&lt;br&gt;
&lt;br&gt;#2 is used by some people and they were kind enough to include their configuration in the CAS distribution. It is a little more involved to set up.&lt;br&gt;&lt;br&gt;#3 is used by a few people.&amp;nbsp; Some people have had great luck.&amp;nbsp; Others like Andrew, haven&amp;#39;t been as lucky :-)&amp;nbsp; We were never able to get the performance we wanted out of it, though some people in France had no problems.&lt;br&gt;
&lt;br&gt;#4. A few people in Europe use this.&amp;nbsp; It seems to work well. It only clusters CAS though.&amp;nbsp; Its up to you whether you care/want your database replicated.&lt;br&gt;&lt;br&gt;-Scott&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;-Scott Battaglia&lt;br&gt;PGP Public Key Id: 0x383733AA&lt;br&gt;
LinkedIn: &lt;a href=&quot;http://www.linkedin.com/in/scottbattaglia&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.linkedin.com/in/scottbattaglia&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Oct 10, 2008 at 8:34 AM, Andrew Ralph Feller, afelle1 &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19920733&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;afelle1@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;




&lt;div&gt;
&lt;font face=&quot;Calibri, Verdana, Helvetica, Arial&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Bin,&lt;br&gt;
&lt;br&gt;
This is going to depend on which route you go: clustering, clustering with replication, or fail over.&lt;br&gt;
&lt;br&gt;
CLUSTERING WITH REPLICATION&lt;br&gt;
&lt;br&gt;
We have been struggling to get a clustering with replication environment setup using the JBoss Cache solution (JbossCacheTicketRegistry), which was outlined in the link you mentioned. &amp;nbsp;However, there have been some unexpected problems maintaining a stable JBoss Cache replication cluster. &amp;nbsp;Though it is maintained by JA-SIG, there aren't many people you will find that are very experienced with it much less managing JBoss Cache; there are a number of people who will probably agree with me on that. &amp;nbsp;Another option for doing clustering with replication is to use the MemCacheTicketRegistry available in CAS &lt;a href=&quot;http://3.3.0.&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;3.3.0.&lt;/a&gt; &amp;nbsp;This is the option favored by Rutgers, who is the primary maintainer of the CAS code base. &amp;nbsp;Scott B can testify about it being lightweight, however I don't know anyone else that has deployed it in their environments.&lt;br&gt;

&lt;br&gt;
CLUSTERING WITHOUT REPLICATION&lt;br&gt;
&lt;br&gt;
If you want plain clustering without replication, then you could either go with a backend data store holding users SSO information and have the CAS servers be dummies by using the JpaTicketRegistry. &amp;nbsp;This would allow your users to hit any of the CAS servers and remove the need for replicating data, however you would have a single point of failure (data store).&lt;br&gt;

&lt;br&gt;
FAIL OVER&lt;br&gt;
&lt;br&gt;
However, most CAS deployments appear to use a active/passive fail over setup where you have two deployments and have your load balancer direct traffic to the primary and fail over to the secondary when necessary. &amp;nbsp;This option requires little / no major customization.&lt;br&gt;

&lt;br&gt;
NOTE: All of these options require you to configure the cookie generators to set CAS cookies for a domain reachable by all machines within your cluster / fail over environment.&lt;br&gt;
&lt;br&gt;
HTH,&lt;br&gt;
A-&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
On 10/10/08 12:01 AM, &amp;quot;Bin Rong&amp;quot; &amp;lt;&lt;a href=&quot;http://bin@jmango.com.au&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;bin@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/font&gt;&lt;blockquote&gt;&lt;font face=&quot;Calibri, Verdana, Helvetica, Arial&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;Hi all, &lt;br&gt;
&lt;br&gt;
I am a newbie to CAS, and in our production environment, we have two apahche servers running behind a hardware load balancer, using ajp to balance&lt;br&gt;
out to several tomcat instances. Sticky session is used, and only one of the backend tomcat is used for CAS.&lt;br&gt;
&lt;br&gt;
Now we want to load balance/failover CAS, the options are:&lt;br&gt;
&lt;br&gt;
1. Clustering CAS&lt;br&gt;
2. Have database-backed registry, so that multiple CAS can validate the ticket vended by other CAS servers. &lt;br&gt;
&lt;br&gt;
Just wondering what is the best practise?&lt;br&gt;
&lt;br&gt;
We think the database-backed is a good one, and I&amp;#39;ve searched the web, there is very little information in this regard, except &lt;br&gt;
&lt;a href=&quot;http://www.ja-sig.org/wiki/display/CASUM/Clustering+CAS&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/CASUM/Clustering+CAS&lt;/a&gt;. Could anyone point to any source of information or any detailed howto guide?&lt;br&gt;

&lt;br&gt;
Any advise is appreciated. &amp;nbsp;&lt;br&gt;
&amp;nbsp;&lt;br&gt;
Bin&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;hr align=&quot;center&quot; size=&quot;3&quot; width=&quot;95%&quot;&gt;&lt;/span&gt;&lt;/font&gt;&lt;div class=&quot;Ih2E3d&quot;&gt;&lt;font size=&quot;2&quot;&gt;&lt;font face=&quot;Consolas, Courier New, Courier&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;_______________________________________________&lt;br&gt;

Yale CAS mailing list&lt;br&gt;
&lt;a href=&quot;http://cas@tp.its.yale.edu&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;cas@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://tp.its.yale.edu/mailman/listinfo/cas&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://tp.its.yale.edu/mailman/listinfo/cas&lt;/a&gt;&lt;br&gt;
&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;font size=&quot;2&quot;&gt;&lt;font face=&quot;Consolas, Courier New, Courier&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;br&gt;
&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face=&quot;Calibri, Verdana, Helvetica, Arial&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;-- &lt;br&gt;
Andrew R. Feller, Analyst&lt;br&gt;
Information Technology Services&lt;br&gt;
200 Fred Frey Building&lt;br&gt;
Louisiana State University&lt;br&gt;
Baton Rouge, LA 70803&lt;br&gt;
(225) 578-3737 (Office)&lt;br&gt;
(225) 578-6400 (Fax)&lt;br&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/div&gt;


&lt;br&gt;_______________________________________________&lt;br&gt;
Yale CAS mailing list&lt;br&gt;
&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19920733&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://tp.its.yale.edu/mailman/listinfo/cas&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://tp.its.yale.edu/mailman/listinfo/cas&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Yale CAS mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19920733&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://tp.its.yale.edu/mailman/listinfo/cas&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tp.its.yale.edu/mailman/listinfo/cas&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/CAS-Users-f15449.html&quot; embed=&quot;fixTarget[15449]&quot; target=&quot;_top&quot; &gt;CAS Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Best-practice-for-CAS-load-balance-failover-tp19912100p19920733.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19919162</id>
	<title>Re: Building CAS</title>
	<published>2008-10-10T06:48:28Z</published>
	<updated>2008-10-10T06:48:28Z</updated>
	<author>
		<name>David Whitehurst</name>
	</author>
	<content type="html">Matthew:
&lt;br&gt;&lt;br&gt;You're having the &amp;quot;CAS-that-I-built-deployment-problem&amp;quot; :-) &amp;nbsp;That's
&lt;br&gt;why I still recommend you put the logging, the UI, the LDAP, etc.
&lt;br&gt;aside. &amp;nbsp;Use your newly installed Maven 2.0.9 and build the CAS
&lt;br&gt;download overall. &amp;nbsp;It automatically pulls the authenticator and builds
&lt;br&gt;a CAS.war for you. &amp;nbsp;When that deploys, add the logging. &amp;nbsp;Do it again.
&lt;br&gt;If you're successful, modify the UI for your CAS.war. &amp;nbsp;Deploy. &amp;nbsp;Test.
&lt;br&gt;&lt;br&gt;I'm purposely not trying to tell you what the error is. &amp;nbsp;I want you to
&lt;br&gt;understand how to find the reason why your Spring bean won't
&lt;br&gt;instantiate. &amp;nbsp;And, when your Spring bean doesn't instantiate, your
&lt;br&gt;application that you built doesn't work. &amp;nbsp;I'll look over these files
&lt;br&gt;and reply if I see something obvious. &amp;nbsp;I understand your pain there,
&lt;br&gt;but if you start simple and add you'll be able to ask the list why
&lt;br&gt;&amp;quot;this&amp;quot; configuration for this bean &amp;quot;classA&amp;quot; doesn't instantiate.
&lt;br&gt;&lt;br&gt;Simplify your CAS.war and deploy that successfully. &amp;nbsp;You're building it.
&lt;br&gt;&lt;br&gt;Let me know that goes,
&lt;br&gt;&lt;br&gt;David
&lt;br&gt;&lt;br&gt;On 10/10/08, Matthew Jones &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19919162&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matthew.jones@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi David,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Also, did you configure the Maven build of the CAS server to include
&lt;br&gt;&amp;gt; &amp;gt; the LDAP authentication module?
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have modified the pom.xml file to include:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;dependency&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;groupId&amp;gt;org.jasig.cas&amp;lt;/groupId&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;artifactId&amp;gt;cas-server-support-ldap&amp;lt;/artifactId&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;version&amp;gt;${project.version}&amp;lt;/version&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/dependency&amp;gt;
&lt;br&gt;&amp;gt; I am not aware of any additional build (as opposed to deployment)
&lt;br&gt;&amp;gt; configuration that I need to do.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; If you didn't, I still recommend that
&lt;br&gt;&amp;gt; &amp;gt; you deploy CAS unaltered first and then customize.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have deployed the war file that is shipped with the 3.3 download and then
&lt;br&gt;&amp;gt; configured it to use LDAP and the Spring LDAP jars by manually copying them.
&lt;br&gt;&amp;gt; The changes I have made are identical to that system I had running. The only
&lt;br&gt;&amp;gt; difference now is that I am trying to build my own war file and deploy that.
&lt;br&gt;&amp;gt; I could just run a vanilla build and deploy the resulting war file and see
&lt;br&gt;&amp;gt; if that works but I had hoped that I was only taking a small step. Indeed, I
&lt;br&gt;&amp;gt; have had to upgrade maven to 2.09 and then run the build. The log file was a
&lt;br&gt;&amp;gt; change that I had forgotten about and easily fixed. The war file I deploy
&lt;br&gt;&amp;gt; does have the LDAP jars as part of it which I was told would be added for me
&lt;br&gt;&amp;gt; having changed to LDAP authentication. Maven is not a system I have any
&lt;br&gt;&amp;gt; previous experience with but have assumed, form what I have been told,
&lt;br&gt;&amp;gt; should just work once you have the right version of course. Obviously, I am
&lt;br&gt;&amp;gt; experiencing some other basic error which I had hoped would be obvious from
&lt;br&gt;&amp;gt; the log files.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Do you recommend that I do indeed try and build a vanilla 3.3 war file?
&lt;br&gt;&amp;gt; Obviously, that will need the change to the log file location to work but
&lt;br&gt;&amp;gt; shouldn't need anything else right?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Hi. &amp;nbsp;I've been implementing a CAS solution using 3.1.1 and LDAP to an
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Active Directory and unless you're a CAS expert I would recommend that
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; you do things in steps.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; From your stacktrace, it's evident that you haven't configured
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; something properly. &amp;nbsp;If you have the time, you should back up on
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; customizing anything until you've successfully deployed CAS with the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; InMemoryDaoImpl (without LDAP) and been able to navigate to /cas/login
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; and get a successful banner.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; If you do not want to do things in steps, you need to start with the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; trace. &amp;nbsp;Find the culprit Spring bean and start there. &amp;nbsp;It's not
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; obvious from the trace what you've done wrong. &amp;nbsp;I'll say from
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; experience that once you get CAS to work in it's default
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; configuration, LDAP is next and it can be difficult. &amp;nbsp;I think too that
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; everyone's situation is always a little different than the how-to's
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; that you find in the wiki. &amp;nbsp;Or, you need to chose the right
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; configuration for your house.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Post your deployerConfigContext.xml and cas.properties here and I'll
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; try to help.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Attached - deployerConfigContext.xml has obscured URL &amp; OU (hence the XXX
&lt;br&gt;&amp;gt; extension).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In reality, I am trying to build a deployable .war file that has our
&lt;br&gt;&amp;gt; configuration in having already gone through the &amp;quot;pain&amp;quot; of getting that
&lt;br&gt;&amp;gt; configuration to work. That is, the LDAP authentication handler is working
&lt;br&gt;&amp;gt; and with a changed image displayed on the login &amp; logout pages. This is just
&lt;br&gt;&amp;gt; the first step on the way to having to write a specific authentication
&lt;br&gt;&amp;gt; handler to deal with certificate &amp; username/password credentials and
&lt;br&gt;&amp;gt; properly skinning CAS.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Matthew Jones
&lt;br&gt;&amp;gt; Interactive Data Managed Solutions Ltd
&lt;br&gt;&amp;gt; -----------------------------------------------------------------------
&lt;br&gt;&amp;gt; Registered in England Company Number 3691868
&lt;br&gt;&amp;gt; Registered Office: Fitzroy House, 13-17 Epworth Street, London, EC2A 4DL
&lt;br&gt;&amp;gt; Tel: +44 (0)1242 694133 | Fax: +44 (0)1242 694109
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19919162&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matthew.jones@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.interactivedata-ms.com/694133&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.interactivedata-ms.com/694133&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This message (including any files transmitted with it) may contain
&lt;br&gt;&amp;gt; confidential and/or proprietary information, is the property of Interactive
&lt;br&gt;&amp;gt; Data Corporation and/or its subsidiaries, and is directed only to the
&lt;br&gt;&amp;gt; addressee(s). If you are not the designated recipient or have reason to
&lt;br&gt;&amp;gt; believe you received this message in error, please delete this message from
&lt;br&gt;&amp;gt; your system and notify the sender immediately. An unintended recipient's
&lt;br&gt;&amp;gt; disclosure, copying, distribution, or use of this message or any attachments
&lt;br&gt;&amp;gt; is prohibited and may be unlawful.
&lt;br&gt;&amp;gt; Interactive Data (Europe) Ltd Registered No. 949387 England Registered
&lt;br&gt;&amp;gt; Office: Fitzroy House 13-17 Epworth Street. London. EC2A 4DL
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; cas.securityContext.serviceProperties.service=&lt;a href=&quot;https://localhost:8443/cas/services/j_acegi_cas_security_check&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://localhost:8443/cas/services/j_acegi_cas_security_check&lt;/a&gt;&lt;br&gt;&amp;gt; cas.securityContext.casProcessingFilterEntryPoint.loginUrl=&lt;a href=&quot;https://localhost:8443/cas/login&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://localhost:8443/cas/login&lt;/a&gt;&lt;br&gt;&amp;gt; cas.securityContext.ticketValidator.casServerUrlPrefix=&lt;a href=&quot;https://localhost:8443/cas&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://localhost:8443/cas&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; cas.themeResolver.defaultThemeName=default
&lt;br&gt;&amp;gt; cas.viewResolver.basename=default_views
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; host.name=cas
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; #database.hibernate.dialect=org.hibernate.dialect.OracleDialect
&lt;br&gt;&amp;gt; #database.hibernate.dialect=org.hibernate.dialect.MySQLDialect
&lt;br&gt;&amp;gt; database.hibernate.dialect=org.hibernate.dialect.HSQLDialect
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Yale CAS mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19919162&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://tp.its.yale.edu/mailman/listinfo/cas&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tp.its.yale.edu/mailman/listinfo/cas&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;Yale CAS mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19919162&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://tp.its.yale.edu/mailman/listinfo/cas&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tp.its.yale.edu/mailman/listinfo/cas&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/CAS-Users-f15449.html&quot; embed=&quot;fixTarget[15449]&quot; target=&quot;_top&quot; &gt;CAS Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/mod_auth_cas%3A-CAS-behind-proxy-tp19838342p19919162.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19917546</id>
	<title>Re: Best practice for CAS load balance/failover</title>
	<published>2008-10-10T05:34:07Z</published>
	<updated>2008-10-10T05:34:07Z</updated>
	<author>
		<name>Andrew Ralph Feller, afelle1</name>
	</author>
	<content type="html">&lt;HTML&gt;
&lt;HEAD&gt;
&lt;TITLE&gt;Re: Best practice for CAS load balance/failover&lt;/TITLE&gt;
&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;FONT FACE=&quot;Calibri, Verdana, Helvetica, Arial&quot;&gt;&lt;SPAN STYLE='font-size:11pt'&gt;Bin,&lt;BR&gt;
&lt;BR&gt;
This is going to depend on which route you go: clustering, clustering with replication, or fail over.&lt;BR&gt;
&lt;BR&gt;
CLUSTERING WITH REPLICATION&lt;BR&gt;
&lt;BR&gt;
We have been struggling to get a clustering with replication environment setup using the JBoss Cache solution (JbossCacheTicketRegistry), which was outlined in the link you mentioned. &amp;nbsp;However, there have been some unexpected problems maintaining a stable JBoss Cache replication cluster. &amp;nbsp;Though it is maintained by JA-SIG, there aren&amp;#8217;t many people you will find that are very experienced with it much less managing JBoss Cache; there are a number of people who will probably agree with me on that. &amp;nbsp;Another option for doing clustering with replication is to use the MemCacheTicketRegistry available in CAS 3.3.0. &amp;nbsp;This is the option favored by Rutgers, who is the primary maintainer of the CAS code base. &amp;nbsp;Scott B can testify about it being lightweight, however I don&amp;#8217;t know anyone else that has deployed it in their environments.&lt;BR&gt;
&lt;BR&gt;
CLUSTERING WITHOUT REPLICATION&lt;BR&gt;
&lt;BR&gt;
If you want plain clustering without replication, then you could either go with a backend data store holding users SSO information and have the CAS servers be dummies by using the JpaTicketRegistry. &amp;nbsp;This would allow your users to hit any of the CAS servers and remove the need for replicating data, however you would have a single point of failure (data store).&lt;BR&gt;
&lt;BR&gt;
FAIL OVER&lt;BR&gt;
&lt;BR&gt;
However, most CAS deployments appear to use a active/passive fail over setup where you have two deployments and have your load balancer direct traffic to the primary and fail over to the secondary when necessary. &amp;nbsp;This option requires little / no major customization.&lt;BR&gt;
&lt;BR&gt;
NOTE: All of these options require you to configure the cookie generators to set CAS cookies for a domain reachable by all machines within your cluster / fail over environment.&lt;BR&gt;
&lt;BR&gt;
HTH,&lt;BR&gt;
A-&lt;BR&gt;
&lt;BR&gt;
&lt;BR&gt;
On 10/10/08 12:01 AM, &amp;quot;Bin Rong&amp;quot; &amp;lt;&lt;a href=&quot;bin@jmango.com.au&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bin@...&lt;/a&gt;&amp;gt; wrote:&lt;BR&gt;
&lt;BR&gt;
&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BLOCKQUOTE&gt;&lt;FONT FACE=&quot;Calibri, Verdana, Helvetica, Arial&quot;&gt;&lt;SPAN STYLE='font-size:11pt'&gt;Hi all, &lt;BR&gt;
&lt;BR&gt;
I am a newbie to CAS, and in our production environment, we have two apahche servers running behind a hardware load balancer, using ajp to balance&lt;BR&gt;
out to several tomcat instances. Sticky session is used, and only one of the backend tomcat is used for CAS.&lt;BR&gt;
&lt;BR&gt;
Now we want to load balance/failover CAS, the options are:&lt;BR&gt;
&lt;BR&gt;
1. Clustering CAS&lt;BR&gt;
2. Have database-backed registry, so that multiple CAS can validate the ticket vended by other CAS servers. &lt;BR&gt;
&lt;BR&gt;
Just wondering what is the best practise?&lt;BR&gt;
&lt;BR&gt;
We think the database-backed is a good one, and I've searched the web, there is very little information in this regard, except &lt;BR&gt;
&lt;a href=&quot;http://www.ja-sig.org/wiki/display/CASUM/Clustering+CAS&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/CASUM/Clustering+CAS&lt;/a&gt;. Could anyone point to any source of information or any detailed howto guide?&lt;BR&gt;
&lt;BR&gt;
Any advise is appreciated. &amp;nbsp;&lt;BR&gt;
&amp;nbsp;&lt;BR&gt;
Bin&lt;BR&gt;
&lt;BR&gt;
&lt;HR ALIGN=CENTER SIZE=&quot;3&quot; WIDTH=&quot;95%&quot;&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT SIZE=&quot;2&quot;&gt;&lt;FONT FACE=&quot;Consolas, Courier New, Courier&quot;&gt;&lt;SPAN STYLE='font-size:10pt'&gt;_______________________________________________&lt;BR&gt;
Yale CAS mailing list&lt;BR&gt;
&lt;a href=&quot;cas@tp.its.yale.edu&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas@...&lt;/a&gt;&lt;BR&gt;
&lt;a href=&quot;http://tp.its.yale.edu/mailman/listinfo/cas&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tp.its.yale.edu/mailman/listinfo/cas&lt;/a&gt;&lt;BR&gt;
&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/BLOCKQUOTE&gt;&lt;FONT SIZE=&quot;2&quot;&gt;&lt;FONT FACE=&quot;Consolas, Courier New, Courier&quot;&gt;&lt;SPAN STYLE='font-size:10pt'&gt;&lt;BR&gt;
&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT FACE=&quot;Calibri, Verdana, Helvetica, Arial&quot;&gt;&lt;SPAN STYLE='font-size:11pt'&gt;-- &lt;BR&gt;
Andrew R. Feller, Analyst&lt;BR&gt;
Information Technology Services&lt;BR&gt;
200 Fred Frey Building&lt;BR&gt;
Louisiana State University&lt;BR&gt;
Baton Rouge, LA 70803&lt;BR&gt;
(225) 578-3737 (Office)&lt;BR&gt;
(225) 578-6400 (Fax)&lt;BR&gt;
&lt;/SPAN&gt;&lt;/FONT&gt;
&lt;/BODY&gt;
&lt;/HTML&gt;

&lt;br /&gt;_______________________________________________
&lt;br&gt;Yale CAS mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19917546&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://tp.its.yale.edu/mailman/listinfo/cas&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tp.its.yale.edu/mailman/listinfo/cas&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/CAS-Users-f15449.html&quot; embed=&quot;fixTarget[15449]&quot; target=&quot;_top&quot; &gt;CAS Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Best-practice-for-CAS-load-balance-failover-tp19912100p19917546.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19917445</id>
	<title>Re: Building CAS</title>
	<published>2008-10-10T05:28:26Z</published>
	<updated>2008-10-10T05:28:26Z</updated>
	<author>
		<name>Matthew Jones-7</name>
	</author>
	<content type="html">Hi David,
&lt;br&gt;&lt;br&gt;&amp;gt; Also, did you configure the Maven build of the CAS server to include
&lt;br&gt;&amp;gt; the LDAP authentication module?
&lt;br&gt;&lt;br&gt;I have modified the pom.xml file to include:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;dependency&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;groupId&amp;gt;org.jasig.cas&amp;lt;/groupId&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;artifactId&amp;gt;cas-server-support-ldap&amp;lt;/artifactId&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;version&amp;gt;${project.version}&amp;lt;/version&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/dependency&amp;gt;
&lt;br&gt;I am not aware of any additional build (as opposed to deployment) 
&lt;br&gt;configuration that I need to do.
&lt;br&gt;&lt;br&gt;&amp;gt; If you didn't, I still recommend that
&lt;br&gt;&amp;gt; you deploy CAS unaltered first and then customize.
&lt;br&gt;&lt;br&gt;I have deployed the war file that is shipped with the 3.3 download and 
&lt;br&gt;then configured it to use LDAP and the Spring LDAP jars by manually 
&lt;br&gt;copying them. The changes I have made are identical to that system I had 
&lt;br&gt;running. The only difference now is that I am trying to build my own war 
&lt;br&gt;file and deploy that. I could just run a vanilla build and deploy the 
&lt;br&gt;resulting war file and see if that works but I had hoped that I was only 
&lt;br&gt;taking a small step. Indeed, I have had to upgrade maven to 2.09 and 
&lt;br&gt;then run the build. The log file was a change that I had forgotten about 
&lt;br&gt;and easily fixed. The war file I deploy does have the LDAP jars as part 
&lt;br&gt;of it which I was told would be added for me having changed to LDAP 
&lt;br&gt;authentication. Maven is not a system I have any previous experience 
&lt;br&gt;with but have assumed, form what I have been told, should just work once 
&lt;br&gt;you have the right version of course. Obviously, I am experiencing some 
&lt;br&gt;other basic error which I had hoped would be obvious from the log files.
&lt;br&gt;&lt;br&gt;Do you recommend that I do indeed try and build a vanilla 3.3 war file? 
&lt;br&gt;Obviously, that will need the change to the log file location to work 
&lt;br&gt;but shouldn't need anything else right?
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; Hi. &amp;nbsp;I've been implementing a CAS solution using 3.1.1 and LDAP to an
&lt;br&gt;&amp;gt;&amp;gt; Active Directory and unless you're a CAS expert I would recommend that
&lt;br&gt;&amp;gt;&amp;gt; you do things in steps.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; From your stacktrace, it's evident that you haven't configured
&lt;br&gt;&amp;gt;&amp;gt; something properly. &amp;nbsp;If you have the time, you should back up on
&lt;br&gt;&amp;gt;&amp;gt; customizing anything until you've successfully deployed CAS with the
&lt;br&gt;&amp;gt;&amp;gt; InMemoryDaoImpl (without LDAP) and been able to navigate to /cas/login
&lt;br&gt;&amp;gt;&amp;gt; and get a successful banner.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; If you do not want to do things in steps, you need to start with the
&lt;br&gt;&amp;gt;&amp;gt; trace. &amp;nbsp;Find the culprit Spring bean and start there. &amp;nbsp;It's not
&lt;br&gt;&amp;gt;&amp;gt; obvious from the trace what you've done wrong. &amp;nbsp;I'll say from
&lt;br&gt;&amp;gt;&amp;gt; experience that once you get CAS to work in it's default
&lt;br&gt;&amp;gt;&amp;gt; configuration, LDAP is next and it can be difficult. &amp;nbsp;I think too that
&lt;br&gt;&amp;gt;&amp;gt; everyone's situation is always a little different than the how-to's
&lt;br&gt;&amp;gt;&amp;gt; that you find in the wiki. &amp;nbsp;Or, you need to chose the right
&lt;br&gt;&amp;gt;&amp;gt; configuration for your house.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Post your deployerConfigContext.xml and cas.properties here and I'll
&lt;br&gt;&amp;gt;&amp;gt; try to help.
&lt;/div&gt;&lt;/div&gt;Attached - deployerConfigContext.xml has obscured URL &amp; OU (hence the 
&lt;br&gt;XXX extension).
&lt;br&gt;&lt;br&gt;In reality, I am trying to build a deployable .war file that has our 
&lt;br&gt;configuration in having already gone through the &amp;quot;pain&amp;quot; of getting that 
&lt;br&gt;&amp;nbsp; configuration to work. That is, the LDAP authentication handler is 
&lt;br&gt;working and with a changed image displayed on the login &amp; logout pages. 
&lt;br&gt;This is just the first step on the way to having to write a specific 
&lt;br&gt;authentication handler to deal with certificate &amp; username/password 
&lt;br&gt;credentials and properly skinning CAS.
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Matthew Jones
&lt;br&gt;Interactive Data Managed Solutions Ltd
&lt;br&gt;-----------------------------------------------------------------------
&lt;br&gt;Registered in England Company Number 3691868
&lt;br&gt;Registered Office: Fitzroy House, 13-17 Epworth Street, London, EC2A 4DL
&lt;br&gt;Tel: +44 (0)1242 694133 | Fax: +44 (0)1242 694109
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19917445&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matthew.jones@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.interactivedata-ms.com/694133&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.interactivedata-ms.com/694133&lt;/a&gt;&lt;br&gt;&lt;br&gt;This message (including any files transmitted with it) may contain 
&lt;br&gt;confidential and/or proprietary information, is the property of 
&lt;br&gt;Interactive Data Corporation and/or its subsidiaries, and is directed 
&lt;br&gt;only to the addressee(s). If you are not the designated recipient or 
&lt;br&gt;have reason to believe you received this message in error, please delete 
&lt;br&gt;this message from your system and notify the sender immediately. An 
&lt;br&gt;unintended recipient's disclosure, copying, distribution, or use of this 
&lt;br&gt;message or any attachments is prohibited and may be unlawful.
&lt;br&gt;Interactive Data (Europe) Ltd Registered No. 949387 England Registered 
&lt;br&gt;Office: Fitzroy House 13-17 Epworth Street. London. EC2A 4DL
&lt;br&gt;&lt;br&gt;&lt;br /&gt;cas.securityContext.serviceProperties.service=&lt;a href=&quot;https://localhost:8443/cas/services/j_acegi_cas_security_check&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://localhost:8443/cas/services/j_acegi_cas_security_check&lt;/a&gt;&lt;br&gt;cas.securityContext.casProcessingFilterEntryPoint.loginUrl=&lt;a href=&quot;https://localhost:8443/cas/login&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://localhost:8443/cas/login&lt;/a&gt;&lt;br&gt;cas.securityContext.ticketValidator.casServerUrlPrefix=&lt;a href=&quot;https://localhost:8443/cas&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://localhost:8443/cas&lt;/a&gt;&lt;br&gt;&lt;br&gt;cas.themeResolver.defaultThemeName=default
&lt;br&gt;cas.viewResolver.basename=default_views
&lt;br&gt;&lt;br&gt;host.name=cas
&lt;br&gt;&lt;br&gt;#database.hibernate.dialect=org.hibernate.dialect.OracleDialect
&lt;br&gt;#database.hibernate.dialect=org.hibernate.dialect.MySQLDialect
&lt;br&gt;database.hibernate.dialect=org.hibernate.dialect.HSQLDialect
&lt;br&gt;&lt;br /&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
&lt;br&gt;&amp;lt;!--
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | deployerConfigContext.xml centralizes into one file some of the declarative configuration that
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | all CAS deployers will need to modify.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | This file declares some of the Spring-managed JavaBeans that make up a CAS deployment. &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | The beans declared in this file are instantiated at context initialization time by the Spring 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | ContextLoaderListener declared in web.xml. &amp;nbsp;It finds this file because this
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | file is among those declared in the context parameter &amp;quot;contextConfigLocation&amp;quot;.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | By far the most common change you will need to make in this file is to change the last bean
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | declaration to replace the default SimpleTestUsernamePasswordAuthenticationHandler with
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | one implementing your approach for authenticating usernames and passwords.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; +--&amp;gt;
&lt;br&gt;&amp;lt;beans xmlns=&amp;quot;&lt;a href=&quot;http://www.springframework.org/schema/beans&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.springframework.org/schema/beans&lt;/a&gt;&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xmlns:xsi=&amp;quot;&lt;a href=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/a&gt;&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xmlns:p=&amp;quot;&lt;a href=&quot;http://www.springframework.org/schema/p&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.springframework.org/schema/p&lt;/a&gt;&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xsi:schemaLocation=&amp;quot;&lt;a href=&quot;http://www.springframework.org/schema/beans&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.springframework.org/schema/beans&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://www.springframework.org/schema/beans/spring-beans-2.0.xsd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.springframework.org/schema/beans/spring-beans-2.0.xsd&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!--
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | This bean declares our AuthenticationManager. &amp;nbsp;The CentralAuthenticationService service bean
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | declared in applicationContext.xml picks up this AuthenticationManager by reference to its id, 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;quot;authenticationManager&amp;quot;. &amp;nbsp;Most deployers will be able to use the default AuthenticationManager
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | implementation and so do not need to change the class of this bean. &amp;nbsp;We include the whole
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | AuthenticationManager here in the userConfigContext.xml so that you can see the things you will
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | need to change in context.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; +--&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;bean id=&amp;quot;authenticationManager&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; class=&amp;quot;org.jasig.cas.authentication.AuthenticationManagerImpl&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!--
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | This is the List of CredentialToPrincipalResolvers that identify what Principal is trying to authenticate.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | The AuthenticationManagerImpl considers them in order, finding a CredentialToPrincipalResolver which 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | supports the presented credentials.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | AuthenticationManagerImpl uses these resolvers for two purposes. &amp;nbsp;First, it uses them to identify the Principal
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | attempting to authenticate to CAS /login . &amp;nbsp;In the default configuration, it is the DefaultCredentialsToPrincipalResolver
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | that fills this role. &amp;nbsp;If you are using some other kind of credentials than UsernamePasswordCredentials, you will need to replace
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | DefaultCredentialsToPrincipalResolver with a CredentialsToPrincipalResolver that supports the credentials you are
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | using.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | Second, AuthenticationManagerImpl uses these resolvers to identify a service requesting a proxy granting ticket. 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | In the default configuration, it is the HttpBasedServiceCredentialsToPrincipalResolver that serves this purpose. 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | You will need to change this list if you are identifying services by something more or other than their callback URL.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; +--&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;credentialsToPrincipalResolvers&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;list&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!--
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | UsernamePasswordCredentialsToPrincipalResolver supports the UsernamePasswordCredentials that we use for /login 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | by default and produces SimplePrincipal instances conveying the username from the credentials.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | If you've changed your LoginFormAction to use credentials other than UsernamePasswordCredentials then you will also
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | need to change this bean declaration (or add additional declarations) to declare a CredentialsToPrincipalResolver that supports the
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | Credentials you are using.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; +--&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;bean
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; class=&amp;quot;org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!--
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | HttpBasedServiceCredentialsToPrincipalResolver supports HttpBasedCredentials. &amp;nbsp;It supports the CAS 2.0 approach of
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | authenticating services by SSL callback, extracting the callback URL from the Credentials and representing it as a
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | SimpleService identified by that callback URL.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | If you are representing services by something more or other than an HTTPS URL whereat they are able to
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | receive a proxy callback, you will need to change this bean declaration (or add additional declarations).
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; +--&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;bean
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; class=&amp;quot;org.jasig.cas.authentication.principal.HttpBasedServiceCredentialsToPrincipalResolver&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/list&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/property&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!--
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | Whereas CredentialsToPrincipalResolvers identify who it is some Credentials might authenticate, 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | AuthenticationHandlers actually authenticate credentials. &amp;nbsp;Here we declare the AuthenticationHandlers that
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | authenticate the Principals that the CredentialsToPrincipalResolvers identified. &amp;nbsp;CAS will try these handlers in turn
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | until it finds one that both supports the Credentials presented and succeeds in authenticating.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; +--&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;authenticationHandlers&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;list&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!--
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | This is the authentication handler that authenticates services by means of callback via SSL, thereby validating
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | a server side SSL certificate.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; +--&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;bean class=&amp;quot;org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p:httpClient-ref=&amp;quot;httpClient&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!--
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | This is the authentication handler specified in the CAS-LDAP documentaion
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; +--&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;bean class=&amp;quot;org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;filter&amp;quot; value=&amp;quot;uid=%u&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;searchBase&amp;quot; value=&amp;quot;ou=OUR-OU,dc=interactivedata,dc=com&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;contextSource&amp;quot; ref=&amp;quot;contextSource&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/bean&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/list&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/bean&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!--
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | This bean defines the security roles for the Services Management application. &amp;nbsp;Simple deployments can use the in-memory version.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | More robust deployments will want to use another option, such as the Jdbc version.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | The name of this should remain &amp;quot;userDetailsService&amp;quot; in order for Acegi to find it. 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | To use this, you should add an entry similar to the following between the two value tags:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | battags=notused,ROLE_ADMIN
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | where battags is the username you want to grant access to. &amp;nbsp;You can put one entry per line.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; +--&amp;gt;	
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;bean id=&amp;quot;userDetailsService&amp;quot; class=&amp;quot;org.acegisecurity.userdetails.memory.InMemoryDaoImpl&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;userMap&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/bean&amp;gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | Bean that defines the attributes that a service may return. &amp;nbsp;This example uses the Stub/Mock version. &amp;nbsp;A real implementation
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | may go against a database or LDAP server. &amp;nbsp;The id should remain &amp;quot;attributeRepository&amp;quot; though.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; +--&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;bean id=&amp;quot;attributeRepository&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; class=&amp;quot;org.jasig.services.persondir.support.StubPersonAttributeDao&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;backingMap&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;map&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;entry key=&amp;quot;uid&amp;quot; value=&amp;quot;uid&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;entry key=&amp;quot;eduPersonAffiliation&amp;quot; value=&amp;quot;eduPersonAffiliation&amp;quot; /&amp;gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;entry key=&amp;quot;groupMembership&amp;quot; value=&amp;quot;groupMembership&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/map&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/bean&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | Sample, in-memory data store for the ServiceRegistry. A real implementation
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | would probably want to replace this with the JPA-backed ServiceRegistry DAO
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | The name of this bean should remain &amp;quot;serviceRegistryDao&amp;quot;.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; +--&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;bean
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; id=&amp;quot;serviceRegistryDao&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; class=&amp;quot;org.jasig.cas.services.InMemoryServiceRegistryDaoImpl&amp;quot; /&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!--
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | This is the bean specified in the CAS-LDAP documentation
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; +--&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;bean id=&amp;quot;contextSource&amp;quot; class=&amp;quot;org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;pooled&amp;quot; value=&amp;quot;true&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;urls&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;list&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;value&amp;gt;ldaps://OUR-LDAP-SERVER-URL/&amp;lt;/value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/list&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;anonymousReadOnly&amp;quot; value=&amp;quot;false&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;userName&amp;quot; value=&amp;quot;uid=ldapbrowser,ou=idms,dc=interactivedata,dc=com&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;password&amp;quot; value=&amp;quot;br0ws3r$&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!--
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; +--&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;baseEnvironmentProperties&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;map&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;entry&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;key&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;value&amp;gt;java.naming.security.authentication&amp;lt;/value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/key&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;value&amp;gt;simple&amp;lt;/value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/entry&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/map&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/bean&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;/beans&amp;gt;
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Yale CAS mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19917445&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://tp.its.yale.edu/mailman/listinfo/cas&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tp.its.yale.edu/mailman/listinfo/cas&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;smime.p7s&lt;/strong&gt; (3K) &lt;a href=&quot;http://www.nabble.com/attachment/19917445/0/smime.p7s&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/CAS-Users-f15449.html&quot; embed=&quot;fixTarget[15449]&quot; target=&quot;_top&quot; &gt;CAS Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/mod_auth_cas%3A-CAS-behind-proxy-tp19838342p19917445.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19917113</id>
	<title>Re: Best practice for CAS load balance/failover</title>
	<published>2008-10-10T05:07:28Z</published>
	<updated>2008-10-10T05:07:28Z</updated>
	<author>
		<name>David Whitehurst</name>
	</author>
	<content type="html">Bin:
&lt;br&gt;&lt;br&gt;I don't know of any more information than what's already there on the
&lt;br&gt;CAS wiki, but if your list of CAS enabled applications is small, use
&lt;br&gt;an in-memory solution. &amp;nbsp;You can configure their registration on both
&lt;br&gt;machines and you're really not hurting much by duplicating an
&lt;br&gt;ArrayList e.g. with 8-10 applications on both servers.
&lt;br&gt;&lt;br&gt;A database registry would be a little trickier. &amp;nbsp;You'd probably have
&lt;br&gt;to customize the CAS code and develop something where the &amp;quot;keys&amp;quot; to
&lt;br&gt;your persisted registry were kept in session on both machines. &amp;nbsp;Then
&lt;br&gt;if one went out, the other would at least have the keys. &amp;nbsp;I'm not sure
&lt;br&gt;if CAS can do this and someone else may inteject here.
&lt;br&gt;&lt;br&gt;I would use in-memory storage if I could. &amp;nbsp;Also, remember that the
&lt;br&gt;data is not dynamic. &amp;nbsp;You, the server administrator know what apps are
&lt;br&gt;CASified. &amp;nbsp;This fixed number and their URL's can be held in memory
&lt;br&gt;very easily if you're not storing too many. &amp;nbsp;And, if you're
&lt;br&gt;clustering, I don't suppose the initial cluster was created for CAS.
&lt;br&gt;So, that would mean that if you have the hardware, you probably have
&lt;br&gt;the memory as well.
&lt;br&gt;&lt;br&gt;HTH
&lt;br&gt;&lt;br&gt;David
&lt;br&gt;On 10/10/08, Bin Rong &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19917113&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bin@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am a newbie to CAS, and in our production environment, we have two apahche
&lt;br&gt;&amp;gt; servers running behind a hardware load balancer, using ajp to balance
&lt;br&gt;&amp;gt; out to several tomcat instances. Sticky session is used, and only one of the
&lt;br&gt;&amp;gt; backend tomcat is used for CAS.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Now we want to load balance/failover CAS, the options are:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 1. Clustering CAS
&lt;br&gt;&amp;gt; 2. Have database-backed registry, so that multiple CAS can validate the
&lt;br&gt;&amp;gt; ticket vended by other CAS servers.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Just wondering what is the best practise?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; We think the database-backed is a good one, and I've searched the web, there
&lt;br&gt;&amp;gt; is very little information in this regard, except
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.ja-sig.org/wiki/display/CASUM/Clustering+CAS&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/CASUM/Clustering+CAS&lt;/a&gt;.
&lt;br&gt;&amp;gt; Could anyone point to any source of information or any detailed howto guide?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any advise is appreciated.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Bin
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Yale CAS mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19917113&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://tp.its.yale.edu/mailman/listinfo/cas&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tp.its.yale.edu/mailman/listinfo/cas&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;Yale CAS mailing list
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19917113&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://tp.its.yale.edu/mailman/listinfo/cas&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tp.its.yale.edu/mailman/listinfo/cas&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/CAS-Users-f15449.html&quot; embed=&quot;fixTarget[15449]&quot; target=&quot;_top&quot; &gt;CAS Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Best-practice-for-CAS-load-balance-failover-tp19912100p19917113.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19916903</id>
	<title>Re: Building CAS</title>
	<published>2008-10-10T04:48:28Z</published>
	<updated>2008-10-10T04:48:28Z</updated>
	<author>
		<name>David Whitehurst</name>
	</author>
	<content type="html">Also, did you configure the Maven build of the CAS server to include
&lt;br&gt;the LDAP authentication module? &amp;nbsp;If you didn't, I still recommend that
&lt;br&gt;you deploy CAS unaltered first and then customize.
&lt;br&gt;&lt;br&gt;&lt;br&gt;David
&lt;br&gt;&lt;br&gt;On 10/10/08, David Whitehurst &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19916903&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dlwhitehurst@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Matthew:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi. &amp;nbsp;I've been implementing a CAS solution using 3.1.1 and LDAP to an
&lt;br&gt;&amp;gt; Active Directory and unless you're a CAS expert I would recommend that
&lt;br&gt;&amp;gt; you do things in steps.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; From your stacktrace, it's evident that you haven't configured
&lt;br&gt;&amp;gt; something properly. &amp;nbsp;If you have the time, you should back up on
&lt;br&gt;&amp;gt; customizing anything until you've successfully deployed CAS with the
&lt;br&gt;&amp;gt; InMemoryDaoImpl (without LDAP) and been able to navigate to /cas/login
&lt;br&gt;&amp;gt; and get a successful banner.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If you do not want to do things in steps, you need to start with the
&lt;br&gt;&amp;gt; trace. &amp;nbsp;Find the culprit Spring bean and start there. &amp;nbsp;It's not
&lt;br&gt;&amp;gt; obvious from the trace what you've done wrong. &amp;nbsp;I'll say from
&lt;br&gt;&amp;gt; experience that once you get CAS to work in it's default
&lt;br&gt;&amp;gt; configuration, LDAP is next and it can be difficult. &amp;nbsp;I think too that
&lt;br&gt;&amp;gt; everyone's situation is always a little different than the how-to's
&lt;br&gt;&amp;gt; that you find in the wiki. &amp;nbsp;Or, you need to chose the right
&lt;br&gt;&amp;gt; configuration for your house.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Post your deployerConfigContext.xml and cas.properties here and I'll
&lt;br&gt;&amp;gt; try to help.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; David
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On 10/10/08, Matthew Jones &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19916903&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matthew.jones@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; I am still unable to successfully deploy the CAS server I have tried to
&lt;br&gt;&amp;gt; &amp;gt; build using Maven2. I enclose the details of my building and the errors from
&lt;br&gt;&amp;gt; &amp;gt; the logs when I try to run it. Please can anyone spot what I have missed out
&lt;br&gt;&amp;gt; &amp;gt; or forgotten to do? The LDAP authentication is identical to that of the
&lt;br&gt;&amp;gt; &amp;gt; downloaded .war file that previously had running.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Here is a find showing the files that I have changed under the
&lt;br&gt;&amp;gt; &amp;gt; cas-server-webapp directory where I run the build from:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; # find . -newer src -type f -print
&lt;br&gt;&amp;gt; &amp;gt; ./src/main/webapp/images/logo_IDC.jpg
&lt;br&gt;&amp;gt; &amp;gt; ./src/main/webapp/css/cas.css
&lt;br&gt;&amp;gt; &amp;gt; ./src/main/webapp/WEB-INF/classes/log4j.properties
&lt;br&gt;&amp;gt; &amp;gt; ./src/main/webapp/WEB-INF/deployerConfigContext.xml
&lt;br&gt;&amp;gt; &amp;gt; ./src/main/webapp/WEB-INF/view/jsp/default/ui/includes/bottom.jsp
&lt;br&gt;&amp;gt; &amp;gt; ./pom.xml
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I have hacked in a logo into the default scheme rather than properly
&lt;br&gt;&amp;gt; &amp;gt; skinning it. Other than that, I have changed the pom.xml and
&lt;br&gt;&amp;gt; &amp;gt; deployerConfixContext.xml files to use our LDAP server for authentication
&lt;br&gt;&amp;gt; &amp;gt; and put the correct value into log4j.properties so that cas.log appears in
&lt;br&gt;&amp;gt; &amp;gt; the same place as catalina.out (thus fixing the file create errors)
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Version information:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; # mvn --version
&lt;br&gt;&amp;gt; &amp;gt; Maven version: 2.0.9
&lt;br&gt;&amp;gt; &amp;gt; Java version: 1.6.0_06
&lt;br&gt;&amp;gt; &amp;gt; OS name: &amp;quot;linux&amp;quot; version: &amp;quot;2.6.24-19-generic&amp;quot; arch: &amp;quot;amd64&amp;quot; Family: &amp;quot;unix&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Now here is the build
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; # mvn package
&lt;br&gt;&amp;gt; &amp;gt; [INFO] Scanning for projects...
&lt;br&gt;&amp;gt; &amp;gt; [INFO]
&lt;br&gt;&amp;gt; &amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; [INFO] Building JA-SIG CAS Web Application
&lt;br&gt;&amp;gt; &amp;gt; [INFO] &amp;nbsp; &amp;nbsp;task-segment: [package]
&lt;br&gt;&amp;gt; &amp;gt; [INFO]
&lt;br&gt;&amp;gt; &amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; [INFO] [resources:resources]
&lt;br&gt;&amp;gt; &amp;gt; [INFO] Using default encoding to copy filtered resources.
&lt;br&gt;&amp;gt; &amp;gt; Downloading:
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://developer.ja-sig.org/maven2/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://developer.ja-sig.org/maven2/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; Downloading:
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://repo1.maven.org/maven2/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://repo1.maven.org/maven2/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; Downloading:
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://developer.ja-sig.org/maven2/org/opensaml/opensaml/1.1b/opensaml-1.1b.pom&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://developer.ja-sig.org/maven2/org/opensaml/opensaml/1.1b/opensaml-1.1b.pom&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; Downloading:
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://repo1.maven.org/maven2/org/opensaml/opensaml/1.1b/opensaml-1.1b.pom&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://repo1.maven.org/maven2/org/opensaml/opensaml/1.1b/opensaml-1.1b.pom&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; [INFO] [compiler:compile]
&lt;br&gt;&amp;gt; &amp;gt; [INFO] No sources to compile
&lt;br&gt;&amp;gt; &amp;gt; [INFO] [resources:testResources]
&lt;br&gt;&amp;gt; &amp;gt; [INFO] Using default encoding to copy filtered resources.
&lt;br&gt;&amp;gt; &amp;gt; [INFO] [compiler:testCompile]
&lt;br&gt;&amp;gt; &amp;gt; [INFO] No sources to compile
&lt;br&gt;&amp;gt; &amp;gt; [INFO] [surefire:test]
&lt;br&gt;&amp;gt; &amp;gt; [INFO] No tests to run.
&lt;br&gt;&amp;gt; &amp;gt; [INFO] [war:war]
&lt;br&gt;&amp;gt; &amp;gt; [INFO] Packaging webapp
&lt;br&gt;&amp;gt; &amp;gt; [INFO] Assembling webapp[cas-server-webapp] in
&lt;br&gt;&amp;gt; &amp;gt; [/home/dj/workspace/cas-server-3.3/cas-server-webapp/target/cas-server-webapp-3.3]
&lt;br&gt;&amp;gt; &amp;gt; [INFO] Processing war project
&lt;br&gt;&amp;gt; &amp;gt; [INFO] Webapp assembled in[1132 msecs]
&lt;br&gt;&amp;gt; &amp;gt; [INFO] Building war:
&lt;br&gt;&amp;gt; &amp;gt; /home/dj/workspace/cas-server-3.3/cas-server-webapp/target/cas.war
&lt;br&gt;&amp;gt; &amp;gt; [INFO] Preparing source:jar
&lt;br&gt;&amp;gt; &amp;gt; [WARNING] Removing: jar from forked lifecycle, to prevent recursive
&lt;br&gt;&amp;gt; &amp;gt; invocation.
&lt;br&gt;&amp;gt; &amp;gt; [INFO] No goals needed for project - skipping
&lt;br&gt;&amp;gt; &amp;gt; [INFO] [source:jar {execution: attach-sources}]
&lt;br&gt;&amp;gt; &amp;gt; [INFO] Building jar:
&lt;br&gt;&amp;gt; &amp;gt; /home/dj/workspace/cas-server-3.3/cas-server-webapp/target/cas-server-webapp-3.3-sources.jar
&lt;br&gt;&amp;gt; &amp;gt; [INFO]
&lt;br&gt;&amp;gt; &amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; [INFO] BUILD SUCCESSFUL
&lt;br&gt;&amp;gt; &amp;gt; [INFO]
&lt;br&gt;&amp;gt; &amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; [INFO] Total time: 15 seconds
&lt;br&gt;&amp;gt; &amp;gt; [INFO] Finished at: Fri Oct 10 11:17:25 BST 2008
&lt;br&gt;&amp;gt; &amp;gt; [INFO] Final Memory: 19M/47M
&lt;br&gt;&amp;gt; &amp;gt; [INFO]
&lt;br&gt;&amp;gt; &amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I then deploy the created file target/cas.war onto the server using the
&lt;br&gt;&amp;gt; &amp;gt; Tomcat Web Application Manager on the server (running CentOS 5.2, Tomcat
&lt;br&gt;&amp;gt; &amp;gt; 5.5.23 and Sun Java JVM 1.6.0_06-b02). Prior to doing this I have
&lt;br&gt;&amp;gt; &amp;gt; un-deployed any old versions of CAS that were running, stopped Tomcat and
&lt;br&gt;&amp;gt; &amp;gt; truncated the log files. I then start Tomcat again and check that it is
&lt;br&gt;&amp;gt; &amp;gt; running correctly. No errors in catalina.out and nothing in cas.log.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; The message displayed in the Tomcat Web Application Manager is 'OK' and the
&lt;br&gt;&amp;gt; &amp;gt; cas application appears at /cas but is not running.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Here is the contents of catalina.out from the start until the first error, I
&lt;br&gt;&amp;gt; &amp;gt; then remove the traceback information. The resulting errors are repeated
&lt;br&gt;&amp;gt; &amp;gt; too.
&lt;br&gt;&amp;gt; &amp;gt;
&