<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-15449</id>
	<title>Nabble - CAS Users</title>
	<updated>2009-10-20T23:18:34Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/CAS-Users-f15449.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/CAS-Users-f15449.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-25987076</id>
	<title>Re: mod_auth_cas: CAS behind proxy</title>
	<published>2009-10-20T23:18:34Z</published>
	<updated>2009-10-20T23:18:34Z</updated>
	<author>
		<name>RajaR</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I have my CAS setup in a dedicated Tomcat Server instance.
&lt;br&gt;&lt;br&gt;Can you pls. let me know what are the advantages of using mod_auth_cas.so from Apache to connect to my CAS above?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Raja
&lt;br&gt;&lt;br&gt;&lt;br&gt;What 
&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Matt Smith-21 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Currently, mod_auth_cas performs the service validation via direct
&lt;br&gt;socket calls, not an HTTP library. &amp;nbsp;So, the HTTP capabilities are
&lt;br&gt;limited to a very basic HTTP/1.0 GET . &amp;nbsp;There is no support for
&lt;br&gt;proxies or anything fancy.
&lt;br&gt;&lt;br&gt;We have discussed the possibility of using libcurl, which would offer
&lt;br&gt;much functionality at the expense of a new dependency, but have not
&lt;br&gt;had the time to do anything beyond bugfixes in a while.
&lt;br&gt;&lt;br&gt;-Matt
&lt;br&gt;&lt;br&gt;On Mon, Oct 6, 2008 at 9:28 AM, Volker Krebs &amp;lt;volker.krebs@abas.de&amp;gt; wrote:
&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt; I've set up my Apache using mod_auth_cas, everything works fine, great
&lt;br&gt;&amp;gt; module. Thank you for that!
&lt;br&gt;&amp;gt; But when my CAS moves behind a web-proxy I get an error
&lt;br&gt;&amp;gt; [error] [client 192.168.4.158] MOD_AUTH_CAS: connect() failed to
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://cas.example.com/sso/login?service=http%3a%2f%2fgeier%2fvk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://cas.example.com/sso/login?service=http%3a%2f%2fgeier%2fvk&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The Problem is, that I need a https_proxy varaible to connect to
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://cas.example.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://cas.example.com/&lt;/a&gt;. But I have no clue where to configure it in
&lt;br&gt;&amp;gt; apache or mod_auth_cas. I've tried setting the environment variable
&lt;br&gt;&amp;gt; https_proxy and http_proxy but apache or mod_auth_cas seem not to be
&lt;br&gt;&amp;gt; interested.
&lt;br&gt;&amp;gt; Any Ideas ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Yale CAS mailing list
&lt;br&gt;&amp;gt; cas@tp.its.yale.edu
&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;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;matt@forsetti.com
&lt;br&gt;Key ID:D6EEC5B5
&lt;br&gt;_______________________________________________
&lt;br&gt;Yale CAS mailing list
&lt;br&gt;cas@tp.its.yale.edu
&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;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/mod_auth_cas%3A-CAS-behind-proxy-tp19838342p25987076.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25968230</id>
	<title>Ensure the same credentials could be used only by one user at the     same time</title>
	<published>2009-10-19T18:03:20Z</published>
	<updated>2009-10-19T18:03:20Z</updated>
	<author>
		<name>Yuriy Zubarev-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;We have a business rule that forbids two different users to be logged
&lt;br&gt;in the system under the same set of credentials at the same time. Does
&lt;br&gt;CAS have a support for this?
&lt;br&gt;&lt;br&gt;Does this feature have a common name? &amp;quot;Non sharable credentials&amp;quot;, or
&lt;br&gt;something similar?
&lt;br&gt;&lt;br&gt;I tried to search archives to see if the question was already asked
&lt;br&gt;but WiscList is hardly usable.
&lt;br&gt;&lt;br&gt;Thank you,
&lt;br&gt;Yuriy Zubarev
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25968230&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25968230&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, change settings or access archives, see &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Ensure-the-same-credentials-could-be-used-only-by-one-user-at-the-----same-time-tp25968230p25968230.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25967798</id>
	<title>unable to get SSO working</title>
	<published>2009-10-19T16:50:53Z</published>
	<updated>2009-10-19T16:50:53Z</updated>
	<author>
		<name>David Jefferson</name>
	</author>
	<content type="html">Hi, I'm trying to CAS and a couple of apps (appA and appB) configured for SSO. Both appA and appB are configured to authenticate against CAS and in both cases authentication is working correctly. If I start with appA and login,I get authenticated and the CASTGC cookie gets set, same thing happens if I start with appB.
&lt;br&gt;&lt;br&gt;In my case an authenticated user in appA is able to click on a link and be redirected to appB. But when the user is redirected to appB they are challenged again for login creds. If enter the creds I can then get to appB. 
&lt;br&gt;&lt;br&gt;I assume it is just that I've not correctly configured something but in reading through the CAS docs I've found where I'm going wrong.
&lt;br&gt;&lt;br&gt;My web.xml configs are...
&lt;br&gt;&lt;br&gt;appA
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;lt;filter&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-name&amp;gt;CAS Authentication Filter&amp;lt;/filter-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-class&amp;gt;org.jasig.cas.client.authentication.AuthenticationFilter&amp;lt;/filter-class&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;init-param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;casServerLoginUrl&amp;lt;/param-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;&lt;a href=&quot;http://localhost:8080/login&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8080/login&lt;/a&gt;&amp;lt;/param-value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/init-param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;init-param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;serverName&amp;lt;/param-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;&lt;a href=&quot;http://localhost:8084&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8084&lt;/a&gt;&amp;lt;/param-value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/init-param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/filter&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;filter&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;filter-name&amp;gt;CAS Validation Filter&amp;lt;/filter-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;filter-class&amp;gt;org.jasig.cas.client.validation.Saml11TicketValidationFilter&amp;lt;/filter-class&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;init-param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;casServerUrlPrefix&amp;lt;/param-name&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;&lt;a href=&quot;http://localhost:8080&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8080&lt;/a&gt;&amp;lt;/param-value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/init-param&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;init-param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;serverName&amp;lt;/param-name&amp;gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;&lt;a href=&quot;http://localhost:8084&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8084&lt;/a&gt;&amp;lt;/param-value&amp;gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/init-param&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/filter&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;filter&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-name&amp;gt;CAS HttpServletRequest Wrapper Filter&amp;lt;/filter-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-class&amp;gt;org.jasig.cas.client.util.HttpServletRequestWrapperFilter&amp;lt;/filter-class&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/filter&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;filter&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-name&amp;gt;CAS Assertion Thread Local Filter&amp;lt;/filter-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-class&amp;gt;org.jasig.cas.client.util.AssertionThreadLocalFilter&amp;lt;/filter-class&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/filter&amp;gt;
&lt;br&gt;&amp;lt;&amp;lt;&amp;lt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;appB
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;filter&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-name&amp;gt;CAS Authentication Filter&amp;lt;/filter-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-class&amp;gt;org.jasig.cas.client.authentication.AuthenticationFilter&amp;lt;/filter-class&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;init-param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;casServerLoginUrl&amp;lt;/param-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;&lt;a href=&quot;http://localhost:8080/login&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8080/login&lt;/a&gt;&amp;lt;/param-value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/init-param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;init-param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;serverName&amp;lt;/param-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;&lt;a href=&quot;http://localhost:8081&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8081&lt;/a&gt;&amp;lt;/param-value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/init-param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/filter&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;filter&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;filter-name&amp;gt;CAS Validation Filter&amp;lt;/filter-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;filter-class&amp;gt;org.jasig.cas.client.validation.Saml11TicketValidationFilter&amp;lt;/filter-class&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;init-param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;casServerUrlPrefix&amp;lt;/param-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;&lt;a href=&quot;http://localhost:8080&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8080&lt;/a&gt;&amp;lt;/param-value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/init-param&amp;gt;
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;init-param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;serverName&amp;lt;/param-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;&lt;a href=&quot;http://localhost:8081&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8081&lt;/a&gt;&amp;lt;/param-value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/init-param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/filter&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;filter&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-name&amp;gt;CAS HttpServletRequest Wrapper Filter&amp;lt;/filter-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-class&amp;gt;org.jasig.cas.client.util.HttpServletRequestWrapperFilter&amp;lt;/filter-class&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/filter&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;filter&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-name&amp;gt;CAS Assertion Thread Local Filter&amp;lt;/filter-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-class&amp;gt;org.jasig.cas.client.util.AssertionThreadLocalFilter&amp;lt;/filter-class&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/filter&amp;gt;
&lt;br&gt;&amp;lt;&amp;lt;&amp;lt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;with some CAS server debug output thrown in for good measure
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&lt;br&gt;[java] DEBUG [2009-10-19 18:42:06,556] [http--8080-4$28137909] AuthenticationViaFormAction - Action 'AuthenticationViaFormAction' beginning execution
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:42:06,556] [http--8080-4$28137909] AuthenticationViaFormAction - Executing bind
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:42:06,556] [http--8080-4$28137909] AuthenticationViaFormAction - Found existing form object with name 'credentials' of type [class org.jasig.cas.authentication.principal.UsernamePasswordCredentials] in scope Flow
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:42:06,556] [http--8080-4$28137909] AuthenticationViaFormAction - No property editor registrar set, no custom editors to register
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:42:06,587] [http--8080-4$28137909] AuthenticationViaFormAction - Binding allowed request parameters in map['lt' -&amp;gt; '_c59B7F3F2-A126-45EB-19A3-E0B62629BA68_k20309474-3BCC-AC08-4A05-DA5AFEFD06E8', 'service' -&amp;gt; '&lt;a href=&quot;http://localho&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localho&lt;/a&gt;&lt;br&gt;t:8084/reviews/demo', 'username' -&amp;gt; '&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25967798&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;m.purple@...&lt;/a&gt;', '_eventId' -&amp;gt; 'submit', 'submit' -&amp;gt; 'Submit', 'password' -&amp;gt; '1Follow'] to form object with name 'credentials', pre-bind formObject toString = [username: null]
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:42:06,587] [http--8080-4$28137909] AuthenticationViaFormAction - (Any field is allowed)
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:42:06,603] [http--8080-4$28137909] AuthenticationViaFormAction - Binding completed for form object with name 'credentials', post-bind formObject toString = [username: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25967798&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;m.purple@...&lt;/a&gt;]
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:42:06,603] [http--8080-4$28137909] AuthenticationViaFormAction - There are [0] errors, details: []
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:42:06,603] [http--8080-4$28137909] AuthenticationViaFormAction - Executing validation
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:42:06,603] [http--8080-4$28137909] AuthenticationViaFormAction - Invoking validator org.jasig.cas.validation.UsernamePasswordCredentialsValidator@186330
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:42:06,603] [http--8080-4$28137909] AuthenticationViaFormAction - Validation completed for form object
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:42:06,603] [http--8080-4$28137909] AuthenticationViaFormAction - There are [0] errors, details: []
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:42:06,603] [http--8080-4$28137909] AuthenticationViaFormAction - Putting form errors instance in scope Flash
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:42:06,603] [http--8080-4$28137909] AuthenticationViaFormAction - Action 'AuthenticationViaFormAction' completed execution; result is 'success'
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:42:06,603] [http--8080-4$28137909] AuthenticationViaFormAction - Action 'AuthenticationViaFormAction' beginning execution
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:42:06,603] [http--8080-4$28137909] AuthenticationViaFormAction - Found existing form object with name 'credentials' of type [class org.jasig.cas.authentication.principal.UsernamePasswordCredentials] in scope Flow
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:42:06,680] [http--8080-4$28137909] CentralAuthenticationServiceImpl - Attempting to create TicketGrantingTicket for [username: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25967798&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;m.purple@...&lt;/a&gt;]
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] INFO &amp;nbsp;[2009-10-19 18:42:06,960] [http--8080-4$28137909] AuthenticationManagerImpl - AuthenticationHandler: com.homeaway.bluesun.cas.authentication.BluesunAuthenticationHandler successfully authenticated the user which provided the following cre
&lt;br&gt;entials: [username: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25967798&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;m.purple@...&lt;/a&gt;]
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:42:06,960] [http--8080-4$28137909] UsernamePasswordCredentialsToPrincipalResolver - Attempting to resolve a principal...
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:42:06,976] [http--8080-4$28137909] UsernamePasswordCredentialsToPrincipalResolver - Creating SimplePrincipal for [&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25967798&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;m.purple@...&lt;/a&gt;]
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:42:07,380] [http--8080-4$28137909] CookieRetrievingCookieGenerator - Removed cookie with name [CASPRIVACY]
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:42:07,380] [http--8080-4$28137909] AuthenticationViaFormAction - Action 'AuthenticationViaFormAction' completed execution; result is 'success'
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:42:07,380] [http--8080-4$28137909] SendTicketGrantingTicketAction - Action 'SendTicketGrantingTicketAction' beginning execution
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:42:07,380] [http--8080-4$28137909] CookieRetrievingCookieGenerator - Added cookie with name [CASTGC] and value [TGT-1-qY4l1fDjtUvYI6RLfPuvcpLVcG0EmfAe60nKduydDNhXeIhd6y-localhost:8080]
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:42:07,380] [http--8080-4$28137909] SendTicketGrantingTicketAction - Action 'SendTicketGrantingTicketAction' completed execution; result is 'success'
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:42:07,395] [http--8080-4$28137909] GenerateServiceTicketAction - Action 'GenerateServiceTicketAction' beginning execution
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] INFO &amp;nbsp;[2009-10-19 18:42:07,473] [http--8080-4$28137909] CentralAuthenticationServiceImpl - Granted service ticket [ST-1-SIy6TrgD7FbTdxKoANnU-localhost:8080] for service [&lt;a href=&quot;http://localhost:8084/reviews/demo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8084/reviews/demo&lt;/a&gt;] for user [&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25967798&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;m.purple@...&lt;/a&gt;]
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:42:07,519] [http--8080-4$28137909] GenerateServiceTicketAction - Action 'GenerateServiceTicketAction' completed execution; result is 'success'
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:42:07,675] [http--8080-11$30385692] SamlArgumentExtractor - Extractor generated service for: &lt;a href=&quot;http://localhost:8084/reviews/demo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8084/reviews/demo&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:43:20,449] [http--8080-10$24447827] InitialFlowSetupAction - Action 'InitialFlowSetupAction' beginning execution
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:43:20,449] [http--8080-10$24447827] CasArgumentExtractor - Extractor generated service for: &lt;a href=&quot;http://localhost:8081/secured/account/editAccount.htm&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8081/secured/account/editAccount.htm&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:43:20,449] [http--8080-10$24447827] InitialFlowSetupAction - Placing service in FlowScope: &lt;a href=&quot;http://localhost:8081/secured/account/editAccount.htm&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8081/secured/account/editAccount.htm&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:43:20,449] [http--8080-10$24447827] InitialFlowSetupAction - Action 'InitialFlowSetupAction' completed execution; result is 'success'
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:43:20,449] [http--8080-10$24447827] AuthenticationViaFormAction - Action 'AuthenticationViaFormAction' beginning execution
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:43:20,449] [http--8080-10$24447827] AuthenticationViaFormAction - Executing setupForm
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:43:20,449] [http--8080-10$24447827] AuthenticationViaFormAction - Creating new form object with name 'credentials'
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:43:20,449] [http--8080-10$24447827] AuthenticationViaFormAction - Creating new instance of form object class [class org.jasig.cas.authentication.principal.UsernamePasswordCredentials]
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:43:20,449] [http--8080-10$24447827] AuthenticationViaFormAction - Putting form object of type [class org.jasig.cas.authentication.principal.UsernamePasswordCredentials] in scope Flow with name 'credentials'
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:43:20,449] [http--8080-10$24447827] AuthenticationViaFormAction - Creating new form errors for object with name 'credentials'
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:43:20,449] [http--8080-10$24447827] AuthenticationViaFormAction - No property editor registrar set, no custom editors to register
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:43:20,449] [http--8080-10$24447827] AuthenticationViaFormAction - Putting form errors instance in scope Flash
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:43:20,449] [http--8080-10$24447827] AuthenticationViaFormAction - Action 'AuthenticationViaFormAction' completed execution; result is 'success'
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:43:20,480] [http--8080-10$24447827] AuthenticationViaFormAction - Action 'AuthenticationViaFormAction' beginning execution
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:43:20,480] [http--8080-10$24447827] AuthenticationViaFormAction - Action 'AuthenticationViaFormAction' completed execution; result is 'success'
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:45:18,943] [http--8080-12$2548297] InitialFlowSetupAction - Action 'InitialFlowSetupAction' beginning execution
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:45:18,943] [http--8080-12$2548297] CasArgumentExtractor - Extractor generated service for: &lt;a href=&quot;http://localhost:8081/secured/account/editAccount.htm&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8081/secured/account/editAccount.htm&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:45:18,943] [http--8080-12$2548297] InitialFlowSetupAction - Placing service in FlowScope: &lt;a href=&quot;http://localhost:8081/secured/account/editAccount.htm&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8081/secured/account/editAccount.htm&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:45:18,943] [http--8080-12$2548297] InitialFlowSetupAction - Action 'InitialFlowSetupAction' completed execution; result is 'success'
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:45:18,943] [http--8080-12$2548297] AuthenticationViaFormAction - Action 'AuthenticationViaFormAction' beginning execution
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:45:18,943] [http--8080-12$2548297] AuthenticationViaFormAction - Executing setupForm
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:45:18,943] [http--8080-12$2548297] AuthenticationViaFormAction - Creating new form object with name 'credentials'
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:45:18,943] [http--8080-12$2548297] AuthenticationViaFormAction - Creating new instance of form object class [class org.jasig.cas.authentication.principal.UsernamePasswordCredentials]
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:45:18,943] [http--8080-12$2548297] AuthenticationViaFormAction - Putting form object of type [class org.jasig.cas.authentication.principal.UsernamePasswordCredentials] in scope Flow with name 'credentials'
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:45:18,943] [http--8080-12$2548297] AuthenticationViaFormAction - Creating new form errors for object with name 'credentials'
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:45:18,974] [http--8080-12$2548297] AuthenticationViaFormAction - No property editor registrar set, no custom editors to register
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:45:18,974] [http--8080-12$2548297] AuthenticationViaFormAction - Putting form errors instance in scope Flash
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:45:18,974] [http--8080-12$2548297] AuthenticationViaFormAction - Action 'AuthenticationViaFormAction' completed execution; result is 'success'
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:45:18,974] [http--8080-12$2548297] AuthenticationViaFormAction - Action 'AuthenticationViaFormAction' beginning execution
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:45:18,974] [http--8080-12$2548297] AuthenticationViaFormAction - Action 'AuthenticationViaFormAction' completed execution; result is 'success'
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:45:21,283] [http--8080-12$31690392] InitialFlowSetupAction - Action 'InitialFlowSetupAction' beginning execution
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:45:21,283] [http--8080-12$31690392] CasArgumentExtractor - Extractor generated service for: &lt;a href=&quot;http://localhost:8081/secured/account/editAccount.htm&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8081/secured/account/editAccount.htm&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:45:21,283] [http--8080-12$31690392] InitialFlowSetupAction - Placing service in FlowScope: &lt;a href=&quot;http://localhost:8081/secured/account/editAccount.htm&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8081/secured/account/editAccount.htm&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:45:21,283] [http--8080-12$31690392] InitialFlowSetupAction - Action 'InitialFlowSetupAction' completed execution; result is 'success'
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:45:21,283] [http--8080-12$31690392] AuthenticationViaFormAction - Action 'AuthenticationViaFormAction' beginning execution
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:45:21,283] [http--8080-12$31690392] AuthenticationViaFormAction - Executing setupForm
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:45:21,283] [http--8080-12$31690392] AuthenticationViaFormAction - Creating new form object with name 'credentials'
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:45:21,283] [http--8080-12$31690392] AuthenticationViaFormAction - Creating new instance of form object class [class org.jasig.cas.authentication.principal.UsernamePasswordCredentials]
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:45:21,283] [http--8080-12$31690392] AuthenticationViaFormAction - Putting form object of type [class org.jasig.cas.authentication.principal.UsernamePasswordCredentials] in scope Flow with name 'credentials'
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:45:21,283] [http--8080-12$31690392] AuthenticationViaFormAction - Creating new form errors for object with name 'credentials'
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:45:21,283] [http--8080-12$31690392] AuthenticationViaFormAction - No property editor registrar set, no custom editors to register
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:45:21,283] [http--8080-12$31690392] AuthenticationViaFormAction - Putting form errors instance in scope Flash
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:45:21,283] [http--8080-12$31690392] AuthenticationViaFormAction - Action 'AuthenticationViaFormAction' completed execution; result is 'success'
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:45:21,314] [http--8080-12$31690392] AuthenticationViaFormAction - Action 'AuthenticationViaFormAction' beginning execution
&lt;br&gt;&amp;nbsp; &amp;nbsp; [java] DEBUG [2009-10-19 18:45:21,314] [http--8080-12$31690392] AuthenticationViaFormAction - Action 'AuthenticationViaFormAction' completed execution; result is 'success'
&lt;br&gt;&amp;lt;&amp;lt;&amp;lt;
&lt;br&gt;-- 
&lt;br&gt;You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25967798&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25967798&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, change settings or access archives, see &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/unable-to-get-SSO-working-tp25967798p25967798.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25966059</id>
	<title>What is your custom 500 error page like?</title>
	<published>2009-10-19T14:30:50Z</published>
	<updated>2009-10-19T14:30:50Z</updated>
	<author>
		<name>Kim Cary</name>
	</author>
	<content type="html">All,&lt;br&gt;&lt;br&gt;Wondering what you are using for your custom error pages on tomcat with your CAS server. Ideally, I&amp;#39;d like the page to email me the error. If you have something like that or even something simpler you use and like, I&amp;#39;d be interested.&lt;br&gt;

&lt;br&gt;Right now I&amp;#39;m looking at this in web.xml&lt;br&gt;&lt;font face=&quot;courier new,monospace&quot;&gt;...&lt;br&gt;    &amp;lt;error-page&amp;gt;&lt;br&gt;        &amp;lt;error-code&amp;gt;500&amp;lt;/error-code&amp;gt;&lt;br&gt;        &amp;lt;location&amp;gt;/server_error.html&amp;lt;/location&amp;gt;&lt;br&gt;

    &amp;lt;/error-page&amp;gt;&lt;br&gt;    &amp;lt;error-page&amp;gt;&lt;br&gt;        &amp;lt;error-code&amp;gt;404&amp;lt;/error-code&amp;gt;&lt;br&gt;        &amp;lt;location&amp;gt;/file_not_found.html&amp;lt;/location&amp;gt;&lt;br&gt;    &amp;lt;/error-page&amp;gt;   &lt;br&gt;&amp;lt;/web-app&amp;gt;&lt;br&gt;
&lt;font face=&quot;arial,helvetica,sans-serif&quot;&gt;but those could easily be jsp pages, I guess.&lt;br&gt;
&lt;br&gt;What are you folks doing for this? I assume most of you are trapping the ugly 500 errors, etc.&lt;br&gt;&lt;/font&gt;&lt;/font&gt;&lt;br clear=&quot;all&quot;&gt;Kim&lt;br&gt;

&lt;pre&gt;-- &lt;br /&gt;You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25966059&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25966059&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;&lt;br /&gt;To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/pre&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/What-is-your-custom-500-error-page-like--tp25966059p25966059.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25959434</id>
	<title>Re: help with - Step 5: CASify HelloWorld Servlet</title>
	<published>2009-10-19T07:35:32Z</published>
	<updated>2009-10-19T07:35:32Z</updated>
	<author>
		<name>Marvin Addison</name>
	</author>
	<content type="html">The error in your attached log
&lt;br&gt;&lt;br&gt;javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.h: PKIX path
&lt;br&gt;building failed: java.security.cert.CertPathBuilderException: unable
&lt;br&gt;to find valid certification path to requested target
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; com.ibm.jsse2.n.a(n.java:3)
&lt;br&gt;&lt;br&gt;is almost always caused SSL trust problems in the CAS client where the
&lt;br&gt;client does not trust the certificate/chain presented by the CAS
&lt;br&gt;server. &amp;nbsp;I am totally unfamiliar with the IBM JRE, but hopefully you
&lt;br&gt;can translate the instructions for the Sun JRE into your environment.
&lt;br&gt;Import the CAS server cert (or issuer cert if you have a PKI) into the
&lt;br&gt;truststore used by JRE of the CAS client; the default system
&lt;br&gt;truststore is $JAVA_HOME/jre/lib/security/cacerts. &amp;nbsp;We use keytool,
&lt;br&gt;&lt;a href=&quot;http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/keytool.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/keytool.html&lt;/a&gt;, for
&lt;br&gt;keystore management, but there are GUI tools avalilable (e.g.
&lt;br&gt;&lt;a href=&quot;http://portecle.sourceforge.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://portecle.sourceforge.net/&lt;/a&gt;) if you would prefer a graphical
&lt;br&gt;tool.
&lt;br&gt;&lt;br&gt;M
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25959434&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25959434&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, change settings or access archives, see &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/help-with---Step-5%3A-CASify-HelloWorld-Servlet-tp25933580p25959434.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25959278</id>
	<title>Re: Redirection (?) loop of &quot;Granting service ticket&quot;</title>
	<published>2009-10-19T07:26:11Z</published>
	<updated>2009-10-19T07:26:11Z</updated>
	<author>
		<name>Marvin Addison</name>
	</author>
	<content type="html">&amp;gt; Or is it maybe a configuration issue? Do I have to activate the certificate
&lt;br&gt;&amp;gt; check somewhere?
&lt;br&gt;&lt;br&gt;Yes. &amp;nbsp;Hopefully someone with Moodle experience can chime in here -- I
&lt;br&gt;didn't even realize Moodle used phpCAS. &amp;nbsp;Once you find the right place
&lt;br&gt;in Moodle to configure the phpCAS client,
&lt;br&gt;&lt;a href=&quot;http://www.ja-sig.org/wiki/display/CASC/phpCAS+examples&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/CASC/phpCAS+examples&lt;/a&gt;&amp;nbsp;give examples
&lt;br&gt;of both disabling the cert check (not recommended) and enabling an
&lt;br&gt;explicity trust check.
&lt;br&gt;&lt;br&gt;M
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25959278&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25959278&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, change settings or access archives, see &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Redirection-%28-%29-loop-of-%22Granting-service-ticket%22-tp25955255p25959278.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25958005</id>
	<title>Re: Redirection (?) loop of &quot;Granting service ticket&quot;</title>
	<published>2009-10-19T06:00:39Z</published>
	<updated>2009-10-19T06:00:39Z</updated>
	<author>
		<name>Giuseppe Sollazzo-2</name>
	</author>
	<content type="html">Ryan Fox wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; The user's interaction with the cas server was successful. &amp;nbsp;The problem is between the phpCAS client and CAS, when phpCAS is trying to verify the service ticket the user presented.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Specifically, phpCAS wants you to either call phpCAS::setCasServerCert() to give it a certificate which it should validate against the cert presented by the CAS server; or, call phpCAS::setNoCasServerValidation() to not do that check. &amp;nbsp;It's a much better idea to have the cas client check the cert properly.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Ryan
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;Uhm... this is something obscure to me so sorry if I ask more details.
&lt;br&gt;What do you mean when you say &amp;quot;phpCAS wants you to call ...&amp;quot;? I guess 
&lt;br&gt;it's moodle that should call one of these functions, or does the 
&lt;br&gt;implementation of CAS into moodle pass through writing code? &amp;quot;What must 
&lt;br&gt;be called by who, and where?&amp;quot; :-)
&lt;br&gt;Or is it maybe a configuration issue? Do I have to activate the 
&lt;br&gt;certificate check somewhere?
&lt;br&gt;&lt;br&gt;No tutorial mentioned this, so I guess there's something wrong about 
&lt;br&gt;this function call but can't tell what...
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Giuseppe
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Giuseppe Sollazzo
&lt;br&gt;Systems Developer / Administrator
&lt;br&gt;&lt;br&gt;Computing Services
&lt;br&gt;St. George's, University of London
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25958005&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25958005&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, change settings or access archives, see &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Redirection-%28-%29-loop-of-%22Granting-service-ticket%22-tp25955255p25958005.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25956815</id>
	<title>Re: Redirection (?) loop of &quot;Granting service ticket&quot;</title>
	<published>2009-10-19T04:34:56Z</published>
	<updated>2009-10-19T04:34:56Z</updated>
	<author>
		<name>Ryan Fox</name>
	</author>
	<content type="html">&lt;br&gt;----- &amp;quot;Giuseppe Sollazzo&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25956815&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gsollazz@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Ok - as you said I verified I was running phpCAS 1.0.1. Changed it to
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; phpCAS 1.0.0 and what I got is a new error:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; phpCAS error: phpCAS::checkAuthentication(): one of the methods 
&lt;br&gt;&amp;gt; phpCAS::setCasServerCert(), phpCAS::setCasServerCACert() or 
&lt;br&gt;&amp;gt; phpCAS::setNoCasServerValidation() must be called. in 
&lt;br&gt;&amp;gt; /www/moodle/auth/cas/auth.php on line 111
&lt;br&gt;&lt;br&gt;&lt;br&gt;The user's interaction with the cas server was successful. &amp;nbsp;The problem is between the phpCAS client and CAS, when phpCAS is trying to verify the service ticket the user presented.
&lt;br&gt;&lt;br&gt;Specifically, phpCAS wants you to either call phpCAS::setCasServerCert() to give it a certificate which it should validate against the cert presented by the CAS server; or, call phpCAS::setNoCasServerValidation() to not do that check. &amp;nbsp;It's a much better idea to have the cas client check the cert properly.
&lt;br&gt;&lt;br&gt;Ryan
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25956815&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25956815&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, change settings or access archives, see &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Redirection-%28-%29-loop-of-%22Granting-service-ticket%22-tp25955255p25956815.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25956467</id>
	<title>Re: Redirection (?) loop of &quot;Granting service ticket&quot;</title>
	<published>2009-10-19T04:07:03Z</published>
	<updated>2009-10-19T04:07:03Z</updated>
	<author>
		<name>Giuseppe Sollazzo-2</name>
	</author>
	<content type="html">Ok - as you said I verified I was running phpCAS 1.0.1. Changed it to 
&lt;br&gt;phpCAS 1.0.0 and what I got is a new error:
&lt;br&gt;&lt;br&gt;&lt;br&gt;phpCAS error: phpCAS::checkAuthentication(): one of the methods 
&lt;br&gt;phpCAS::setCasServerCert(), phpCAS::setCasServerCACert() or 
&lt;br&gt;phpCAS::setNoCasServerValidation() must be called. in 
&lt;br&gt;/www/moodle/auth/cas/auth.php on line 111
&lt;br&gt;&lt;br&gt;&lt;br&gt;The output of the CAS server looks &amp;quot;normal&amp;quot;, in a way:
&lt;br&gt;&lt;br&gt;2009-10-19 12:03:38,323 INFO 
&lt;br&gt;[org.jasig.cas.authentication.AuthenticationManagerImpl] - 
&lt;br&gt;&amp;lt;AuthenticationHandler: 
&lt;br&gt;org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler successfully 
&lt;br&gt;authenticated the user which provided the following credentials: 
&lt;br&gt;[username: user]&amp;gt;
&lt;br&gt;2009-10-19 12:03:38,328 INFO 
&lt;br&gt;[org.jasig.cas.CentralAuthenticationServiceImpl] - &amp;lt;Granted service 
&lt;br&gt;ticket [ST-1-s0gQhWMEptjvmuXN0Igy-cas] for service 
&lt;br&gt;[&lt;a href=&quot;https://myserver/devmoodle/login/index.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://myserver/devmoodle/login/index.php&lt;/a&gt;] for user [user]&amp;gt;
&lt;br&gt;&lt;br&gt;Line 111 of auth.php is simply the check on authentication method:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (phpCAS::checkAuthentication()) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $frm-&amp;gt;username=phpCAS::getUser();
&lt;br&gt;// &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (phpCAS::getUser()=='esup9992')
&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;$frm-&amp;gt;username='erhar0062';
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $frm-&amp;gt;password=&amp;quot;passwdCas&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;I wonder here if there's some issue with my certificate. Any idea?
&lt;br&gt;&lt;br&gt;Thanks a lot for any help!
&lt;br&gt;&lt;br&gt;Giuseppe
&lt;br&gt;&lt;br&gt;&lt;br&gt;Diego Benedicto wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; phpCAS downloads are in &lt;a href=&quot;http://www.ja-sig.org/downloads/cas-clients/php/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/downloads/cas-clients/php/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; You have a phpCAS configured in Moodle to CASifiy it, right?
&lt;br&gt;&amp;gt; So, you can try it with phpCAS 1.0.0 to check if your problem remains...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Giuseppe Sollazzo-2 wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Hi Diego,
&lt;br&gt;&amp;gt;&amp;gt; interesting question - I'm actually not sure as I think it came with 
&lt;br&gt;&amp;gt;&amp;gt; CAS? How can I check it?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; My setup was:
&lt;br&gt;&amp;gt;&amp;gt; 1) install moodle
&lt;br&gt;&amp;gt;&amp;gt; 2) install tomcat
&lt;br&gt;&amp;gt;&amp;gt; 3) deploy the CAS webapp
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt; Giuseppe
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Diego Benedicto wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I had the same problem CASifying Wordpress and Dokuwiki with phpCAS
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 1.0.1,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; but using phpCAS 1.0.0 it works perfectly
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Which phpCAS version are you using?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Giuseppe Sollazzo-2 wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I'm still trying to deal with this issue: when I try to authenticate 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; over CAS via moodle, I get a sequence of (incrementally numbered) 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;quot;Granting service tickets&amp;quot; that lead to nowhere (infinite loop on 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Explorer) or to a &amp;quot;Redirect loop&amp;quot; error on Firefox.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Has anyone any idea of where this originates? I've read somewhere that 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; it could depend of the self-signed certificate I'm currently using for 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; testing, but found no hint about this on the wiki.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Any help would be highly appreciated!
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Giuseppe
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -- 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Giuseppe Sollazzo
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Systems Developer / Administrator
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Computing Services
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; St. George's, University of London
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -- 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25956467&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25956467&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; To unsubscribe, change settings or access archives, see
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; -- 
&lt;br&gt;&amp;gt;&amp;gt; Giuseppe Sollazzo
&lt;br&gt;&amp;gt;&amp;gt; Systems Developer / Administrator
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Computing Services
&lt;br&gt;&amp;gt;&amp;gt; St. George's, University of London
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -- 
&lt;br&gt;&amp;gt;&amp;gt; You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25956467&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as:
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25956467&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe, change settings or access archives, see
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Giuseppe Sollazzo
&lt;br&gt;Systems Developer / Administrator
&lt;br&gt;&lt;br&gt;Computing Services
&lt;br&gt;St. George's, University of London
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25956467&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25956467&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, change settings or access archives, see &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Redirection-%28-%29-loop-of-%22Granting-service-ticket%22-tp25955255p25956467.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25956220</id>
	<title>Re: Redirection (?) loop of &quot;Granting service ticket&quot;</title>
	<published>2009-10-19T03:46:40Z</published>
	<updated>2009-10-19T03:46:40Z</updated>
	<author>
		<name>Diego Benedicto</name>
	</author>
	<content type="html">phpCAS downloads are in &lt;a href=&quot;http://www.ja-sig.org/downloads/cas-clients/php/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/downloads/cas-clients/php/&lt;/a&gt;&lt;br&gt;&lt;br&gt;You have a phpCAS configured in Moodle to CASifiy it, right?
&lt;br&gt;So, you can try it with phpCAS 1.0.0 to check if your problem remains...
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Giuseppe Sollazzo-2 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi Diego,
&lt;br&gt;interesting question - I'm actually not sure as I think it came with 
&lt;br&gt;CAS? How can I check it?
&lt;br&gt;&lt;br&gt;My setup was:
&lt;br&gt;1) install moodle
&lt;br&gt;2) install tomcat
&lt;br&gt;3) deploy the CAS webapp
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Giuseppe
&lt;br&gt;&lt;br&gt;Diego Benedicto wrote:
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I had the same problem CASifying Wordpress and Dokuwiki with phpCAS 1.0.1,
&lt;br&gt;&amp;gt; but using phpCAS 1.0.0 it works perfectly
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Which phpCAS version are you using?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Giuseppe Sollazzo-2 wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;&amp;gt; I'm still trying to deal with this issue: when I try to authenticate 
&lt;br&gt;&amp;gt;&amp;gt; over CAS via moodle, I get a sequence of (incrementally numbered) 
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;Granting service tickets&amp;quot; that lead to nowhere (infinite loop on 
&lt;br&gt;&amp;gt;&amp;gt; Explorer) or to a &amp;quot;Redirect loop&amp;quot; error on Firefox.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Has anyone any idea of where this originates? I've read somewhere that 
&lt;br&gt;&amp;gt;&amp;gt; it could depend of the self-signed certificate I'm currently using for 
&lt;br&gt;&amp;gt;&amp;gt; testing, but found no hint about this on the wiki.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Any help would be highly appreciated!
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt; Giuseppe
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -- 
&lt;br&gt;&amp;gt;&amp;gt; Giuseppe Sollazzo
&lt;br&gt;&amp;gt;&amp;gt; Systems Developer / Administrator
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Computing Services
&lt;br&gt;&amp;gt;&amp;gt; St. George's, University of London
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -- 
&lt;br&gt;&amp;gt;&amp;gt; You are currently subscribed to cas-user@lists.jasig.org as:
&lt;br&gt;&amp;gt;&amp;gt; lists@nabble.com
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe, change settings or access archives, see
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Giuseppe Sollazzo
&lt;br&gt;Systems Developer / Administrator
&lt;br&gt;&lt;br&gt;Computing Services
&lt;br&gt;St. George's, University of London
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;You are currently subscribed to cas-user@lists.jasig.org as: lists@nabble.com
&lt;br&gt;To unsubscribe, change settings or access archives, see &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Redirection-%28-%29-loop-of-%22Granting-service-ticket%22-tp25955255p25956220.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25956091</id>
	<title>Re: Redirection (?) loop of &quot;Granting service ticket&quot;</title>
	<published>2009-10-19T03:31:11Z</published>
	<updated>2009-10-19T03:31:11Z</updated>
	<author>
		<name>Giuseppe Sollazzo-2</name>
	</author>
	<content type="html">Hi Diego,
&lt;br&gt;interesting question - I'm actually not sure as I think it came with 
&lt;br&gt;CAS? How can I check it?
&lt;br&gt;&lt;br&gt;My setup was:
&lt;br&gt;1) install moodle
&lt;br&gt;2) install tomcat
&lt;br&gt;3) deploy the CAS webapp
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Giuseppe
&lt;br&gt;&lt;br&gt;Diego Benedicto wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I had the same problem CASifying Wordpress and Dokuwiki with phpCAS 1.0.1,
&lt;br&gt;&amp;gt; but using phpCAS 1.0.0 it works perfectly
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Which phpCAS version are you using?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Giuseppe Sollazzo-2 wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;&amp;gt; I'm still trying to deal with this issue: when I try to authenticate 
&lt;br&gt;&amp;gt;&amp;gt; over CAS via moodle, I get a sequence of (incrementally numbered) 
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;Granting service tickets&amp;quot; that lead to nowhere (infinite loop on 
&lt;br&gt;&amp;gt;&amp;gt; Explorer) or to a &amp;quot;Redirect loop&amp;quot; error on Firefox.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Has anyone any idea of where this originates? I've read somewhere that 
&lt;br&gt;&amp;gt;&amp;gt; it could depend of the self-signed certificate I'm currently using for 
&lt;br&gt;&amp;gt;&amp;gt; testing, but found no hint about this on the wiki.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Any help would be highly appreciated!
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt; Giuseppe
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -- 
&lt;br&gt;&amp;gt;&amp;gt; Giuseppe Sollazzo
&lt;br&gt;&amp;gt;&amp;gt; Systems Developer / Administrator
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Computing Services
&lt;br&gt;&amp;gt;&amp;gt; St. George's, University of London
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -- 
&lt;br&gt;&amp;gt;&amp;gt; You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25956091&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as:
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25956091&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe, change settings or access archives, see
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Giuseppe Sollazzo
&lt;br&gt;Systems Developer / Administrator
&lt;br&gt;&lt;br&gt;Computing Services
&lt;br&gt;St. George's, University of London
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25956091&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25956091&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, change settings or access archives, see &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Redirection-%28-%29-loop-of-%22Granting-service-ticket%22-tp25955255p25956091.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25955996</id>
	<title>Re: Redirection (?) loop of &quot;Granting service ticket&quot;</title>
	<published>2009-10-19T03:22:22Z</published>
	<updated>2009-10-19T03:22:22Z</updated>
	<author>
		<name>Diego Benedicto</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I had the same problem CASifying Wordpress and Dokuwiki with phpCAS 1.0.1, but using phpCAS 1.0.0 it works perfectly
&lt;br&gt;&lt;br&gt;Which phpCAS version are you using?
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Giuseppe Sollazzo-2 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi all,
&lt;br&gt;I'm still trying to deal with this issue: when I try to authenticate 
&lt;br&gt;over CAS via moodle, I get a sequence of (incrementally numbered) 
&lt;br&gt;&amp;quot;Granting service tickets&amp;quot; that lead to nowhere (infinite loop on 
&lt;br&gt;Explorer) or to a &amp;quot;Redirect loop&amp;quot; error on Firefox.
&lt;br&gt;&lt;br&gt;Has anyone any idea of where this originates? I've read somewhere that 
&lt;br&gt;it could depend of the self-signed certificate I'm currently using for 
&lt;br&gt;testing, but found no hint about this on the wiki.
&lt;br&gt;&lt;br&gt;Any help would be highly appreciated!
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Giuseppe
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Giuseppe Sollazzo
&lt;br&gt;Systems Developer / Administrator
&lt;br&gt;&lt;br&gt;Computing Services
&lt;br&gt;St. George's, University of London
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;You are currently subscribed to cas-user@lists.jasig.org as: lists@nabble.com
&lt;br&gt;To unsubscribe, change settings or access archives, see &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Redirection-%28-%29-loop-of-%22Granting-service-ticket%22-tp25955255p25955996.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25955255</id>
	<title>Redirection (?) loop of &quot;Granting service ticket&quot;</title>
	<published>2009-10-19T02:08:19Z</published>
	<updated>2009-10-19T02:08:19Z</updated>
	<author>
		<name>Giuseppe Sollazzo-2</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;I'm still trying to deal with this issue: when I try to authenticate 
&lt;br&gt;over CAS via moodle, I get a sequence of (incrementally numbered) 
&lt;br&gt;&amp;quot;Granting service tickets&amp;quot; that lead to nowhere (infinite loop on 
&lt;br&gt;Explorer) or to a &amp;quot;Redirect loop&amp;quot; error on Firefox.
&lt;br&gt;&lt;br&gt;Has anyone any idea of where this originates? I've read somewhere that 
&lt;br&gt;it could depend of the self-signed certificate I'm currently using for 
&lt;br&gt;testing, but found no hint about this on the wiki.
&lt;br&gt;&lt;br&gt;Any help would be highly appreciated!
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Giuseppe
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Giuseppe Sollazzo
&lt;br&gt;Systems Developer / Administrator
&lt;br&gt;&lt;br&gt;Computing Services
&lt;br&gt;St. George's, University of London
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25955255&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25955255&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, change settings or access archives, see &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Redirection-%28-%29-loop-of-%22Granting-service-ticket%22-tp25955255p25955255.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25950962</id>
	<title>Help using CAS web service using API from Java client</title>
	<published>2009-10-18T15:04:59Z</published>
	<updated>2009-10-18T15:04:59Z</updated>
	<author>
		<name>rn000</name>
	</author>
	<content type="html">Hi,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I have CAS server set up successfully and SSO login works without any issues. Now, I want to using a Java client to do single sign-on using the RESTful API and I am running into issues. Can you please help?&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;The documentation seems straight-forward but I can&amp;#39;t seem to get it to work. This is my configuration in CAS server - &lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Helvetica, Arial, sans-serif; font-size: 13px; line-height: 17px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; &quot;&gt;&lt;pre class=&quot;code-xml&quot; style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; text-align: left; overflow-x: auto; overflow-y: auto; font-family: &amp;#39;Courier New&amp;#39;, Courier, monospace; line-height: 1.3; &quot;&gt;
&lt;span class=&quot;code-tag&quot; style=&quot;color: rgb(0, 0, 145); background-color: inherit; &quot;&gt;&amp;lt;servlet&amp;gt;&lt;/span&gt;
	&lt;span class=&quot;code-tag&quot; style=&quot;color: rgb(0, 0, 145); background-color: inherit; &quot;&gt;&amp;lt;servlet-name&amp;gt;&lt;/span&gt;restlet&lt;span class=&quot;code-tag&quot; style=&quot;color: rgb(0, 0, 145); background-color: inherit; &quot;&gt;&amp;lt;/servlet-name&amp;gt;&lt;/span&gt;
	&lt;span class=&quot;code-tag&quot; style=&quot;color: rgb(0, 0, 145); background-color: inherit; &quot;&gt;&amp;lt;servlet-class&amp;gt;&lt;/span&gt;com.noelios.restlet.ext.spring.RestletFrameworkServlet&lt;span class=&quot;code-tag&quot; style=&quot;color: rgb(0, 0, 145); background-color: inherit; &quot;&gt;&amp;lt;/servlet-class&amp;gt;&lt;/span&gt;
	&lt;span class=&quot;code-tag&quot; style=&quot;color: rgb(0, 0, 145); background-color: inherit; &quot;&gt;&amp;lt;load-on-startup&amp;gt;&lt;/span&gt;1&lt;span class=&quot;code-tag&quot; style=&quot;color: rgb(0, 0, 145); background-color: inherit; &quot;&gt;&amp;lt;/load-on-startup&amp;gt;&lt;/span&gt;
&lt;span class=&quot;code-tag&quot; style=&quot;color: rgb(0, 0, 145); background-color: inherit; &quot;&gt;&amp;lt;/servlet&amp;gt;&lt;/span&gt;

&lt;span class=&quot;code-tag&quot; style=&quot;color: rgb(0, 0, 145); background-color: inherit; &quot;&gt;&amp;lt;servlet-mapping&amp;gt;&lt;/span&gt;
	&lt;span class=&quot;code-tag&quot; style=&quot;color: rgb(0, 0, 145); background-color: inherit; &quot;&gt;&amp;lt;servlet-name&amp;gt;&lt;/span&gt;restlet&lt;span class=&quot;code-tag&quot; style=&quot;color: rgb(0, 0, 145); background-color: inherit; &quot;&gt;&amp;lt;/servlet-name&amp;gt;&lt;/span&gt;
	&lt;span class=&quot;code-tag&quot; style=&quot;color: rgb(0, 0, 145); background-color: inherit; &quot;&gt;&amp;lt;url-pattern&amp;gt;&lt;/span&gt;/v1/*&lt;span class=&quot;code-tag&quot; style=&quot;color: rgb(0, 0, 145); background-color: inherit; &quot;&gt;&amp;lt;/url-pattern&amp;gt;&lt;/span&gt;
&lt;span class=&quot;code-tag&quot; style=&quot;color: rgb(0, 0, 145); background-color: inherit; &quot;&gt;&amp;lt;/servlet-mapping&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;code-xml&quot; style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; text-align: left; overflow-x: auto; overflow-y: auto; font-family: &amp;#39;Courier New&amp;#39;, Courier, monospace; line-height: 1.3; &quot;&gt;
&lt;font class=&quot;Apple-style-span&quot; color=&quot;#000091&quot;&gt;&lt;br&gt;&lt;/font&gt;&lt;/pre&gt;&lt;pre class=&quot;code-xml&quot; style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; text-align: left; overflow-x: auto; overflow-y: auto; font-family: &amp;#39;Courier New&amp;#39;, Courier, monospace; line-height: 1.3; &quot;&gt;
&lt;font class=&quot;Apple-style-span&quot; color=&quot;#000091&quot;&gt;In pom.xml, I have this &lt;/font&gt;&lt;/pre&gt;&lt;pre class=&quot;code-xml&quot; style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; text-align: left; overflow-x: auto; overflow-y: auto; font-family: &amp;#39;Courier New&amp;#39;, Courier, monospace; line-height: 1.3; &quot;&gt;
&lt;font class=&quot;Apple-style-span&quot; color=&quot;#000091&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(0, 0, 0); font-family: Helvetica, Arial, sans-serif; line-height: 17px; white-space: normal; &quot;&gt;&lt;pre class=&quot;code-xml&quot; style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; text-align: left; overflow-x: auto; overflow-y: auto; font-family: &amp;#39;Courier New&amp;#39;, Courier, monospace; line-height: 1.3; &quot;&gt;
&lt;span class=&quot;code-tag&quot; style=&quot;color: rgb(0, 0, 145); background-color: inherit; &quot;&gt;&amp;lt;dependency&amp;gt;&lt;/span&gt;
	&lt;span class=&quot;code-tag&quot; style=&quot;color: rgb(0, 0, 145); background-color: inherit; &quot;&gt;&amp;lt;groupId&amp;gt;&lt;/span&gt;org.jasig.cas&lt;span class=&quot;code-tag&quot; style=&quot;color: rgb(0, 0, 145); background-color: inherit; &quot;&gt;&amp;lt;/groupId&amp;gt;&lt;/span&gt;
	&lt;span class=&quot;code-tag&quot; style=&quot;color: rgb(0, 0, 145); background-color: inherit; &quot;&gt;&amp;lt;artifactId&amp;gt;&lt;/span&gt;cas-server-integration-restlet&lt;span class=&quot;code-tag&quot; style=&quot;color: rgb(0, 0, 145); background-color: inherit; &quot;&gt;&amp;lt;/artifactId&amp;gt;&lt;/span&gt;
	&lt;span class=&quot;code-tag&quot; style=&quot;color: rgb(0, 0, 145); background-color: inherit; &quot;&gt;&amp;lt;version&amp;gt;&lt;/span&gt;3.3.3&lt;span class=&quot;code-tag&quot; style=&quot;color: rgb(0, 0, 145); background-color: inherit; &quot;&gt;&amp;lt;/version&amp;gt;&lt;/span&gt;
	&lt;span class=&quot;code-tag&quot; style=&quot;color: rgb(0, 0, 145); background-color: inherit; &quot;&gt;&amp;lt;type&amp;gt;&lt;/span&gt;jar&lt;span class=&quot;code-tag&quot; style=&quot;color: rgb(0, 0, 145); background-color: inherit; &quot;&gt;&amp;lt;/type&amp;gt;&lt;/span&gt;
&lt;span class=&quot;code-tag&quot; style=&quot;color: rgb(0, 0, 145); background-color: inherit; &quot;&gt;&amp;lt;/dependency&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;code-xml&quot; style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; text-align: left; overflow-x: auto; overflow-y: auto; font-family: &amp;#39;Courier New&amp;#39;, Courier, monospace; line-height: 1.3; &quot;&gt;
&lt;font class=&quot;Apple-style-span&quot; color=&quot;#000091&quot;&gt;&lt;br&gt;&lt;/font&gt;&lt;/pre&gt;&lt;pre class=&quot;code-xml&quot; style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; text-align: left; overflow-x: auto; overflow-y: auto; font-family: &amp;#39;Courier New&amp;#39;, Courier, monospace; line-height: 1.3; &quot;&gt;
&lt;font class=&quot;Apple-style-span&quot; color=&quot;#000091&quot;&gt;I have cas server version 3.3.3. I use Apache Http client to do the posting like this - &lt;/font&gt;&lt;/pre&gt;&lt;pre class=&quot;code-xml&quot; style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; text-align: left; overflow-x: auto; overflow-y: auto; font-family: &amp;#39;Courier New&amp;#39;, Courier, monospace; line-height: 1.3; &quot;&gt;
&lt;font class=&quot;Apple-style-span&quot; color=&quot;#000091&quot;&gt;String data = &amp;quot;username=&amp;quot;+URLEncoder.encode(username) + &amp;quot;&amp;amp;password=&amp;quot; + URLEncoder.encode(password);&lt;/font&gt;&lt;/pre&gt;&lt;pre class=&quot;code-xml&quot; style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; text-align: left; overflow-x: auto; overflow-y: auto; font-family: &amp;#39;Courier New&amp;#39;, Courier, monospace; line-height: 1.3; &quot;&gt;
&lt;font class=&quot;Apple-style-span&quot; color=&quot;#000091&quot;&gt;HttpClient client = new HttpClient();
PostMethod post = new PostMethod(casServerUrl);

post.setRequestHeader(&amp;quot;Content-type&amp;quot;, &amp;quot;application/x-www-form-urlencoded&amp;quot;);
post.setRequestBody(data);
int tgtStatus = client.executeMethod(post);
		
String response = post.getResponseBodyAsString();	
&lt;br&gt;&lt;/font&gt;&lt;/pre&gt;&lt;pre class=&quot;code-xml&quot; style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; text-align: left; overflow-x: auto; overflow-y: auto; font-family: &amp;#39;Courier New&amp;#39;, Courier, monospace; line-height: 1.3; &quot;&gt;
&lt;font class=&quot;Apple-style-span&quot; color=&quot;#000091&quot;&gt;I am getting a http 302 status and an empty response back. I also tried constructing a http post using java URLConnection and I get the login page back as part of the response.&lt;/font&gt;&lt;/pre&gt;
&lt;pre class=&quot;code-xml&quot; style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; text-align: left; overflow-x: auto; overflow-y: auto; font-family: &amp;#39;Courier New&amp;#39;, Courier, monospace; line-height: 1.3; &quot;&gt;
&lt;font class=&quot;Apple-style-span&quot; color=&quot;#000091&quot;&gt;&lt;br&gt;&lt;/font&gt;&lt;/pre&gt;&lt;pre class=&quot;code-xml&quot; style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; text-align: left; overflow-x: auto; overflow-y: auto; font-family: &amp;#39;Courier New&amp;#39;, Courier, monospace; line-height: 1.3; &quot;&gt;
&lt;font class=&quot;Apple-style-span&quot; color=&quot;#000091&quot;&gt;In CAS client, I am posting to url - &lt;/font&gt;&lt;/pre&gt;&lt;pre class=&quot;code-xml&quot; style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; text-align: left; overflow-x: auto; overflow-y: auto; font-family: &amp;#39;Courier New&amp;#39;, Courier, monospace; line-height: 1.3; &quot;&gt;
&lt;font class=&quot;Apple-style-span&quot; color=&quot;#000091&quot;&gt;&lt;a href=&quot;https://casserver:8443/cas/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://casserver:8443/cas/&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt;v1/tickets&lt;/span&gt;&lt;/font&gt;&lt;/pre&gt;&lt;pre class=&quot;code-xml&quot; style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; text-align: left; overflow-x: auto; overflow-y: auto; font-family: &amp;#39;Courier New&amp;#39;, Courier, monospace; line-height: 1.3; &quot;&gt;
&lt;font class=&quot;Apple-style-span&quot; color=&quot;#000091&quot;&gt;&lt;br&gt;&lt;/font&gt;&lt;/pre&gt;&lt;pre class=&quot;code-xml&quot; style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; text-align: left; overflow-x: auto; overflow-y: auto; font-family: &amp;#39;Courier New&amp;#39;, Courier, monospace; line-height: 1.3; &quot;&gt;
&lt;font class=&quot;Apple-style-span&quot; color=&quot;#000091&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(0, 0, 145); &quot;&gt;am I doing something wrong?&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/pre&gt;
&lt;pre class=&quot;code-xml&quot; style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; text-align: left; overflow-x: auto; overflow-y: auto; font-family: &amp;#39;Courier New&amp;#39;, Courier, monospace; line-height: 1.3; &quot;&gt;
&lt;font class=&quot;Apple-style-span&quot; color=&quot;#000091&quot;&gt;&lt;br&gt;&lt;/font&gt;&lt;/pre&gt;&lt;pre class=&quot;code-xml&quot; style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; text-align: left; overflow-x: auto; overflow-y: auto; font-family: &amp;#39;Courier New&amp;#39;, Courier, monospace; line-height: 1.3; &quot;&gt;
&lt;font class=&quot;Apple-style-span&quot; color=&quot;#000091&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(0, 0, 145); &quot;&gt;thanks,&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/pre&gt;&lt;pre class=&quot;code-xml&quot; style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; text-align: left; overflow-x: auto; overflow-y: auto; font-family: &amp;#39;Courier New&amp;#39;, Courier, monospace; line-height: 1.3; &quot;&gt;
&lt;font class=&quot;Apple-style-span&quot; color=&quot;#000091&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(0, 0, 145); &quot;&gt;Ramya				&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/pre&gt;&lt;pre class=&quot;code-xml&quot; style=&quot;padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; text-align: left; overflow-x: auto; overflow-y: auto; font-family: &amp;#39;Courier New&amp;#39;, Courier, monospace; line-height: 1.3; &quot;&gt;
&lt;font class=&quot;Apple-style-span&quot; color=&quot;#000091&quot;&gt;						&lt;/font&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/font&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/div&gt;

&lt;pre&gt;-- &lt;br /&gt;You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25950962&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25950962&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;&lt;br /&gt;To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/pre&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Help-using-CAS-web-service-using-API-from-Java-client-tp25950962p25950962.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25950941</id>
	<title>spenego setup, kinit error</title>
	<published>2009-10-18T15:01:53Z</published>
	<updated>2009-10-18T15:01:53Z</updated>
	<author>
		<name>Dave Radtke</name>
	</author>
	<content type="html">I'm trying to configure spenego, and am having a problem when verifying the keytab file
&lt;br&gt;&lt;br&gt;When I test via kinit I get the krb_error 41 . &amp;nbsp;I have tried jdk 1.5.20 and 1.6.20 but I get the same error in both. &amp;nbsp;I have been googleing this error, and havent found any soltions. &amp;nbsp;I have verified the server and my PC's time are in sync. &amp;nbsp;If I tried in an invalid passowrd, or bogus user account I get diffents erros (ie, pre authenitcation failed)
&lt;br&gt;&lt;br&gt;I'm a bit confussed about the difference between a domain and a Realm. &amp;nbsp;in LDAP our domain is creata.com (I have this working in CAS) &amp;nbsp;But when I log into windows the domain is Creata, in siturations when I have to login and specify the domain I use creata\dradtk. &amp;nbsp;When looking at my account in AD, in the dropdown next to login name its @creata.com, but in the &amp;quot;login username (pre windows 2000)&amp;quot; its CREATA\ &amp;nbsp;We tried creating a keypass with &amp;quot;/princ HTTP/cpaus-dradtk.creata.com@CREATA.COM&amp;quot; &amp;nbsp;but I got the same error when testing
&lt;br&gt;&lt;br&gt;Does anyone have any ideas?
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;Dave
&lt;br&gt;&lt;br&gt;&lt;b&gt;Our Admin created the keytab&lt;/b&gt;&lt;br&gt;ktpass.exe /out cpaus-dradtk-tomcat.keytab /princ HTTP/cpaus-dradtk.creata.com@CREATA /pass ******** /mapuser cpaus-dradtk-tomcat /ptype krb5_nt_principal /crypto rc4-hmac-nt
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;b&gt;My Testing:&lt;/b&gt;&lt;br&gt;C:\Program Files\Java\jdk1.6.0_16\bin&amp;gt;klist -k
&lt;br&gt;&lt;br&gt;Key tab: D:\tmp\CAS\tomcat1\webapps\cas\WEB-INF\cpaus-dradtk-tomcat.keytab, 1 entry found.
&lt;br&gt;&lt;br&gt;[1] Service principal: HTTP/cpaus-dradtk.creata.com@CREATA
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;KVNO: 1
&lt;br&gt;&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;
&lt;br&gt;C:\Program Files\Java\jdk1.6.0_16\bin&amp;gt;kinit
&lt;br&gt;Password for dradtk@CREATA:
&lt;br&gt;Exception: krb_error 41 Message stream modified (41) Message stream modified
&lt;br&gt;KrbException: Message stream modified (41)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at sun.security.krb5.KrbKdcRep.check(KrbKdcRep.java:53)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at sun.security.krb5.KrbAsRep.&amp;lt;init&amp;gt;(KrbAsRep.java:96)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at sun.security.krb5.KrbAsReq.getReply(KrbAsReq.java:449)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at sun.security.krb5.KrbAsReq.getReply(KrbAsReq.java:407)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at sun.security.krb5.internal.tools.Kinit.sendASRequest(Kinit.java:316)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at sun.security.krb5.internal.tools.Kinit.&amp;lt;init&amp;gt;(Kinit.java:257)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at sun.security.krb5.internal.tools.Kinit.main(Kinit.java:107)
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;b&gt;C:\Windows\krb.ini (JDK 6)
&lt;br&gt;C:\winnt\krb.ini (JDK 5)&lt;/b&gt;&lt;br&gt;[logging]
&lt;br&gt;&amp;nbsp;default = FILE:C:\windows\krb5libs.log
&lt;br&gt;&amp;nbsp;kdc = FILE:C:\windows\krb5kdc.log
&lt;br&gt;&amp;nbsp;admin_server = FILE:C:\windows\kadmind.log
&lt;br&gt;&lt;br&gt;[libdefaults]
&lt;br&gt;&amp;nbsp;ticket_lifetime = 24000
&lt;br&gt;&amp;nbsp;default_realm = CREATA
&lt;br&gt;&amp;nbsp;default_keytab_name = D:\tmp\CAS\tomcat1\webapps\cas\WEB-INF\cpaus-dradtk-tomcat.keytab
&lt;br&gt;&amp;nbsp;dns_lookup_realm = false
&lt;br&gt;&amp;nbsp;dns_lookup_kdc = false
&lt;br&gt;&amp;nbsp;default_tkt_enctypes = rc4-hmac
&lt;br&gt;&amp;nbsp;default_tgs_enctypes = rc4-hmac
&lt;br&gt;&lt;br&gt;[realms]
&lt;br&gt;&amp;nbsp;CREATA = {
&lt;br&gt;&amp;nbsp; kdc = creataauad1.creata.com:88
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&lt;br&gt;[domain_realm]
&lt;br&gt;&amp;nbsp;.creata= CREATA
&lt;br&gt;&amp;nbsp;creata= CREATA
&lt;br&gt;&amp;nbsp;.creata.com= CREATA
&lt;br&gt;&amp;nbsp;creata.com= CREATA
&lt;br&gt;&lt;br&gt;&lt;b&gt;When Testing in CAS&lt;/b&gt;&lt;br&gt;2009-10-19 08:48:20,597 INFO [org.jasig.cas.authentication.AuthenticationManagerImpl] - &amp;lt;AuthenticationHandler: org.jasig.cas.support.spnego.authentication.handler.support.JCIFSSpnegoAuthenticationHandler failed to authenticate the user which provided the following credentials: Principal is null&amp;gt;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/spenego-setup%2C-kinit-error-tp25950941p25950941.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25935054</id>
	<title>Re: CAS 3.3.4 &amp; attributeRepository</title>
	<published>2009-10-16T20:13:14Z</published>
	<updated>2009-10-16T20:13:14Z</updated>
	<author>
		<name>scott_battaglia</name>
	</author>
	<content type="html">This JavaDoc should help:&lt;br&gt;&lt;a href=&quot;http://developer.jasig.org/projects/person-directory/1.5.0-RC6/apidocs/org/jasig/services/persondir/support/ldap/LdapPersonAttributeDao.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://developer.jasig.org/projects/person-directory/1.5.0-RC6/apidocs/org/jasig/services/persondir/support/ldap/LdapPersonAttributeDao.html&lt;/a&gt;&lt;br&gt;

&lt;br&gt;Cheers,&lt;br&gt;Scott&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Oct 15, 2009 at 10:23 AM, Pavlos Drandakis &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25935054&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pdrados@...&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 all,&lt;br&gt;
&lt;br&gt;
I am trying to deploy CAS server 3.3.4 using my old (CAS 3.3.3) deployerConfigContext.xml but I am getting these exceptions:&lt;br&gt;
&lt;br&gt;
Error creating bean with name &amp;#39;attributeRepository&amp;#39; defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property &amp;#39;query&amp;#39; of bean class [org.jasig.services.persondir.support.ldap.LdapPersonAttributeDao]: Bean property &amp;#39;query&amp;#39; is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?&lt;br&gt;


&lt;br&gt;
Error creating bean with name &amp;#39;attributeRepository&amp;#39; defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property &amp;#39;ldapAttributesToPortalAttributes&amp;#39; of bean class [org.jasig.services.persondir.support.ldap.LdapPersonAttributeDao]: Bean property &amp;#39;ldapAttributesToPortalAttributes&amp;#39; is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?&lt;br&gt;


&lt;br&gt;
This is what I have in my deployerConfigContext.xml about attributeRepository:&lt;br&gt;
&lt;br&gt;
&amp;lt;bean id=&amp;quot;attributeRepository&amp;quot; class=&amp;quot;org.jasig.services.persondir.support.ldap.LdapPersonAttributeDao&amp;quot;&amp;gt;&lt;br&gt;
               &amp;lt;property name=&amp;quot;baseDN&amp;quot; value=&amp;quot;dc=X,dc=Y&amp;quot; /&amp;gt;&lt;br&gt;
               &amp;lt;property name=&amp;quot;query&amp;quot; value=&amp;quot;(uid={0})&amp;quot; /&amp;gt;&lt;br&gt;
               &amp;lt;property name=&amp;quot;contextSource&amp;quot; ref=&amp;quot;contextSource&amp;quot;/&amp;gt;&lt;br&gt;
               &amp;lt;property name=&amp;quot;ldapAttributesToPortalAttributes&amp;quot;&amp;gt;&lt;br&gt;
                       &amp;lt;map&amp;gt;&lt;br&gt;
                               &amp;lt;entry key=&amp;quot;attribute1&amp;quot; value=&amp;quot;attribute1&amp;quot; /&amp;gt;&lt;br&gt;
                       &amp;lt;/map&amp;gt;&lt;br&gt;
               &amp;lt;/property&amp;gt;&lt;br&gt;
&amp;lt;/bean&amp;gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
As far as I can tell, this happens because of the new Person Directory API, that is used in this release... If true, what should be the appropriate configuration for attributeRepository bean?&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Pavlos&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;
&lt;br&gt;
-- &lt;br&gt;
You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25935054&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25935054&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;scott.battaglia@...&lt;/a&gt;&lt;br&gt;
To unsubscribe, change settings or access archives, see &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;

&lt;pre&gt;-- &lt;br /&gt;You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25935054&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25935054&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;&lt;br /&gt;To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/pre&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/CAS-3.3.4---attributeRepository-tp25909569p25935054.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25933580</id>
	<title>help with - Step 5: CASify HelloWorld Servlet</title>
	<published>2009-10-16T15:42:30Z</published>
	<updated>2009-10-16T15:42:30Z</updated>
	<author>
		<name>michael thorne-5</name>
	</author>
	<content type="html">I'm working through the Demo at 
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.ja-sig.org/wiki/display/CASUM/Demo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/CASUM/Demo&lt;/a&gt;&lt;br&gt;&lt;br&gt;and Tomcat is throwing a 500 error. &amp;nbsp; :-(
&lt;br&gt;&lt;br&gt;The server is running RHEL 5.3 with the IBM Java.
&lt;br&gt;&lt;br&gt;[~] $ java -version
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;java version &amp;quot;1.5.0&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp;Java(TM) 2 Runtime Environment, Standard Edition 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; (build pxa64dev-20090707 (SR10))
&lt;br&gt;&amp;nbsp; &amp;nbsp;IBM J9 VM build 2.3, J2RE 1.5.0 IBM J9 2.3 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Linux amd64-64 j9vmxa6423-20090707 (JIT enabled)
&lt;br&gt;&amp;nbsp; &amp;nbsp;J9VM - 20090706_38445_LHdSMr
&lt;br&gt;&amp;nbsp; &amp;nbsp;JIT &amp;nbsp;- 20090623_1334_r8
&lt;br&gt;&amp;nbsp; &amp;nbsp;GC &amp;nbsp; - 200906_09
&lt;br&gt;&amp;nbsp; &amp;nbsp;JCL &amp;nbsp;- 20090705
&lt;br&gt;&lt;br&gt;CAS is running I can use the default login/out URLs and 
&lt;br&gt;see the green &amp;quot;successful&amp;quot; messages.
&lt;br&gt;&lt;br&gt;&amp;nbsp;I've attached the web.xml file with the CAS filter 
&lt;br&gt;declarations and the 500 error message with the stack 
&lt;br&gt;trace.
&lt;br&gt;&lt;br&gt;&amp;nbsp; Something to do with the &amp;quot;PKIX path building failed&amp;quot; ... 
&lt;br&gt;&amp;quot;unable to find valid certification path to requested target&amp;quot;
&lt;br&gt;&lt;br&gt;???
&lt;br&gt;&lt;br&gt;Suggestions please.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25933580&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25933580&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, change settings or access archives, see &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br /&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;
&lt;br&gt;&amp;lt;!--
&lt;br&gt;&amp;nbsp;Licensed to the Apache Software Foundation (ASF) under one or more
&lt;br&gt;&amp;nbsp; contributor license agreements. &amp;nbsp;See the NOTICE file distributed with
&lt;br&gt;&amp;nbsp; this work for additional information regarding copyright ownership.
&lt;br&gt;&amp;nbsp; The ASF licenses this file to You under the Apache License, Version 2.0
&lt;br&gt;&amp;nbsp; (the &amp;quot;License&amp;quot;); you may not use this file except in compliance with
&lt;br&gt;&amp;nbsp; the License. &amp;nbsp;You may obtain a copy of the License at
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.apache.org/licenses/LICENSE-2.0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.apache.org/licenses/LICENSE-2.0&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; Unless required by applicable law or agreed to in writing, software
&lt;br&gt;&amp;nbsp; distributed under the License is distributed on an &amp;quot;AS IS&amp;quot; BASIS,
&lt;br&gt;&amp;nbsp; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
&lt;br&gt;&amp;nbsp; See the License for the specific language governing permissions and
&lt;br&gt;&amp;nbsp; limitations under the License.
&lt;br&gt;--&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;web-app xmlns=&amp;quot;&lt;a href=&quot;http://java.sun.com/xml/ns/j2ee&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/xml/ns/j2ee&lt;/a&gt;&amp;quot;
&lt;br&gt;&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; xsi:schemaLocation=&amp;quot;&lt;a href=&quot;http://java.sun.com/xml/ns/j2ee&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/xml/ns/j2ee&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd&lt;/a&gt;&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; version=&amp;quot;2.4&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;display-name&amp;gt;Servlet 2.4 Examples&amp;lt;/display-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;description&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Servlet 2.4 Examples.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/description&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;!-- Define servlet-mapped and path-mapped example filters --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;filter&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-name&amp;gt;Servlet Mapped Filter&amp;lt;/filter-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-class&amp;gt;filters.ExampleFilter&amp;lt;/filter-class&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;init-param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;attribute&amp;lt;/param-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;filters.ExampleFilter.SERVLET_MAPPED&amp;lt;/param-value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/init-param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/filter&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;filter&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-name&amp;gt;Path Mapped Filter&amp;lt;/filter-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-class&amp;gt;filters.ExampleFilter&amp;lt;/filter-class&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;init-param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;attribute&amp;lt;/param-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;filters.ExampleFilter.PATH_MAPPED&amp;lt;/param-value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/init-param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/filter&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;filter&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-name&amp;gt;Request Dumper Filter&amp;lt;/filter-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-class&amp;gt;filters.RequestDumperFilter&amp;lt;/filter-class&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/filter&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;!-- Example filter to set character encoding on each request --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;filter&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-name&amp;gt;Set Character Encoding&amp;lt;/filter-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-class&amp;gt;filters.SetCharacterEncodingFilter&amp;lt;/filter-class&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;init-param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;encoding&amp;lt;/param-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;EUC_JP&amp;lt;/param-value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/init-param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/filter&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;filter&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-name&amp;gt;Compression Filter&amp;lt;/filter-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-class&amp;gt;compressionFilters.CompressionFilter&amp;lt;/filter-class&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;init-param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;compressionThreshold&amp;lt;/param-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;10&amp;lt;/param-value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/init-param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;init-param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;debug&amp;lt;/param-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;0&amp;lt;/param-value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/init-param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/filter&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;filter&amp;gt;
&lt;br&gt;&amp;lt;filter-name&amp;gt;CAS Filter&amp;lt;/filter-name&amp;gt;
&lt;br&gt;&amp;lt;filter-class&amp;gt;edu.yale.its.tp.cas.client.filter.CASFilter&amp;lt;/filter-class&amp;gt;
&lt;br&gt;&amp;lt;init-param&amp;gt;
&lt;br&gt;&amp;lt;param-name&amp;gt;edu.yale.its.tp.cas.client.filter.loginUrl&amp;lt;/param-name&amp;gt;
&lt;br&gt;&amp;lt;param-value&amp;gt;&lt;a href=&quot;https://jordan.bccampus.ca/cas/login&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://jordan.bccampus.ca/cas/login&lt;/a&gt;&amp;lt;/param-value&amp;gt; &amp;lt;!-- :8443 --&amp;gt;
&lt;br&gt;&amp;lt;/init-param&amp;gt;
&lt;br&gt;&amp;lt;init-param&amp;gt;
&lt;br&gt;&amp;lt;param-name&amp;gt;edu.yale.its.tp.cas.client.filter.validateUrl&amp;lt;/param-name&amp;gt;
&lt;br&gt;&amp;lt;param-value&amp;gt;&lt;a href=&quot;https://jordan.bccampus.ca/cas/serviceValidate&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://jordan.bccampus.ca/cas/serviceValidate&lt;/a&gt;&amp;lt;/param-value&amp;gt; &amp;lt;!-- :8443 --&amp;gt;
&lt;br&gt;&amp;lt;/init-param&amp;gt;
&lt;br&gt;&amp;lt;init-param&amp;gt;
&lt;br&gt;&amp;lt;param-name&amp;gt;edu.yale.its.tp.cas.client.filter.serverName&amp;lt;/param-name&amp;gt;
&lt;br&gt;&amp;lt;param-value&amp;gt;jordan.bccampus.ca&amp;lt;/param-value&amp;gt; &amp;lt;!-- :8080 --&amp;gt;
&lt;br&gt;&amp;lt;/init-param&amp;gt;
&lt;br&gt;&amp;lt;/filter&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;!-- Define filter mappings for the defined filters --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;filter-mapping&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-name&amp;gt;Servlet Mapped Filter&amp;lt;/filter-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;invoker&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/filter-mapping&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;filter-mapping&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-name&amp;gt;Path Mapped Filter&amp;lt;/filter-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;url-pattern&amp;gt;/servlet/*&amp;lt;/url-pattern&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/filter-mapping&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;filter-mapping&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;filter-name&amp;gt;CAS Filter&amp;lt;/filter-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;url-pattern&amp;gt;/servlet/HelloWorldExample&amp;lt;/url-pattern&amp;gt;
&lt;br&gt;&amp;lt;/filter-mapping&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;lt;!-- Example filter mapping to apply the &amp;quot;Set Character Encoding&amp;quot; filter
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;to *all* requests processed by this web application --&amp;gt;
&lt;br&gt;&amp;lt;!--
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;filter-mapping&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-name&amp;gt;Set Character Encoding&amp;lt;/filter-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;url-pattern&amp;gt;/*&amp;lt;/url-pattern&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/filter-mapping&amp;gt;
&lt;br&gt;--&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;!--
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;filter-mapping&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-name&amp;gt;Compression Filter&amp;lt;/filter-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;url-pattern&amp;gt;/CompressionTest&amp;lt;/url-pattern&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/filter-mapping&amp;gt;
&lt;br&gt;--&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;!--
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;filter-mapping&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-name&amp;gt;Request Dumper Filter&amp;lt;/filter-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;url-pattern&amp;gt;/*&amp;lt;/url-pattern&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/filter-mapping&amp;gt;
&lt;br&gt;--&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;!-- Define example application events listeners --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;listener&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;listener-class&amp;gt;listeners.ContextListener&amp;lt;/listener-class&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/listener&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;listener&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;listener-class&amp;gt;listeners.SessionListener&amp;lt;/listener-class&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/listener&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;!-- Define servlets that are included in the example application --&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;servlet&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;CompressionFilterTestServlet&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-class&amp;gt;compressionFilters.CompressionFilterTestServlet&amp;lt;/servlet-class&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/servlet&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;servlet&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;HelloWorldExample&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-class&amp;gt;HelloWorldExample&amp;lt;/servlet-class&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/servlet&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;servlet&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;RequestInfoExample&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-class&amp;gt;RequestInfoExample&amp;lt;/servlet-class&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/servlet&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;servlet&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;RequestHeaderExample&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-class&amp;gt;RequestHeaderExample&amp;lt;/servlet-class&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/servlet&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;servlet&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;RequestParamExample&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-class&amp;gt;RequestParamExample&amp;lt;/servlet-class&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/servlet&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;servlet&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;CookieExample&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-class&amp;gt;CookieExample&amp;lt;/servlet-class&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/servlet&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;servlet&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;SessionExample&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-class&amp;gt;SessionExample&amp;lt;/servlet-class&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/servlet&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;servlet-mapping&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;CompressionFilterTestServlet&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;url-pattern&amp;gt;/CompressionTest&amp;lt;/url-pattern&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/servlet-mapping&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;servlet-mapping&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;HelloWorldExample&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;url-pattern&amp;gt;/servlet/HelloWorldExample&amp;lt;/url-pattern&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/servlet-mapping&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;servlet-mapping&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;RequestInfoExample&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;url-pattern&amp;gt;/servlet/RequestInfoExample/*&amp;lt;/url-pattern&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/servlet-mapping&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;servlet-mapping&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;RequestHeaderExample&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;url-pattern&amp;gt;/servlet/RequestHeaderExample&amp;lt;/url-pattern&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/servlet-mapping&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;servlet-mapping&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;RequestParamExample&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;url-pattern&amp;gt;/servlet/RequestParamExample&amp;lt;/url-pattern&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/servlet-mapping&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;servlet-mapping&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;CookieExample&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;url-pattern&amp;gt;/servlet/CookieExample&amp;lt;/url-pattern&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/servlet-mapping&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;servlet-mapping&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;SessionExample&amp;lt;/servlet-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;url-pattern&amp;gt;/servlet/SessionExample&amp;lt;/url-pattern&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/servlet-mapping&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;security-constraint&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;display-name&amp;gt;Example Security Constraint&amp;lt;/display-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;web-resource-collection&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;web-resource-name&amp;gt;Protected Area&amp;lt;/web-resource-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;!-- Define the context-relative URL(s) to be protected --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;url-pattern&amp;gt;/jsp/security/protected/*&amp;lt;/url-pattern&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;!-- If you list http methods, only those methods are protected --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;http-method&amp;gt;DELETE&amp;lt;/http-method&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;http-method&amp;gt;GET&amp;lt;/http-method&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;http-method&amp;gt;POST&amp;lt;/http-method&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;http-method&amp;gt;PUT&amp;lt;/http-method&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/web-resource-collection&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;auth-constraint&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;!-- Anyone with one of the listed roles may access this area --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;role-name&amp;gt;tomcat&amp;lt;/role-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;role-name&amp;gt;role1&amp;lt;/role-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/auth-constraint&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/security-constraint&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;!-- Default login configuration uses form-based authentication --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;login-config&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;auth-method&amp;gt;FORM&amp;lt;/auth-method&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;realm-name&amp;gt;Example Form-Based Authentication Area&amp;lt;/realm-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;form-login-config&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;form-login-page&amp;gt;/jsp/security/protected/login.jsp&amp;lt;/form-login-page&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;form-error-page&amp;gt;/jsp/security/protected/error.jsp&amp;lt;/form-error-page&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/form-login-config&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/login-config&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;!-- Security roles referenced by this web application --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;security-role&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;role-name&amp;gt;role1&amp;lt;/role-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/security-role&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;security-role&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;role-name&amp;gt;tomcat&amp;lt;/role-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/security-role&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;!-- Environment entry examples --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;!--env-entry&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;env-entry-description&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;The maximum number of tax exemptions allowed to be set.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/env-entry-description&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;env-entry-name&amp;gt;maxExemptions&amp;lt;/env-entry-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;env-entry-value&amp;gt;15&amp;lt;/env-entry-value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;env-entry-type&amp;gt;java.lang.Integer&amp;lt;/env-entry-type&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/env-entry--&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;env-entry&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;env-entry-name&amp;gt;minExemptions&amp;lt;/env-entry-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;env-entry-type&amp;gt;java.lang.Integer&amp;lt;/env-entry-type&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;env-entry-value&amp;gt;1&amp;lt;/env-entry-value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/env-entry&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;env-entry&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;env-entry-name&amp;gt;foo/name1&amp;lt;/env-entry-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;env-entry-type&amp;gt;java.lang.String&amp;lt;/env-entry-type&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;env-entry-value&amp;gt;value1&amp;lt;/env-entry-value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/env-entry&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;env-entry&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;env-entry-name&amp;gt;foo/bar/name2&amp;lt;/env-entry-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;env-entry-type&amp;gt;java.lang.Boolean&amp;lt;/env-entry-type&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;env-entry-value&amp;gt;true&amp;lt;/env-entry-value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/env-entry&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;env-entry&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;env-entry-name&amp;gt;name3&amp;lt;/env-entry-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;env-entry-type&amp;gt;java.lang.Integer&amp;lt;/env-entry-type&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;env-entry-value&amp;gt;1&amp;lt;/env-entry-value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/env-entry&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;env-entry&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;env-entry-name&amp;gt;foo/name4&amp;lt;/env-entry-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;env-entry-type&amp;gt;java.lang.Integer&amp;lt;/env-entry-type&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;env-entry-value&amp;gt;10&amp;lt;/env-entry-value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/env-entry&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;/web-app&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br /&gt;&lt;html&gt;&lt;head&gt;&lt;title&gt;Apache Tomcat/5.5.23 - Error report&lt;/title&gt; &lt;/head&gt;&lt;body&gt;&lt;h1&gt;HTTP Status 500 - &lt;/h1&gt;&lt;HR size=&quot;1&quot; noshade=&quot;noshade&quot;&gt;&lt;p&gt;&lt;b&gt;type&lt;/b&gt; Exception report&lt;/p&gt;&lt;p&gt;&lt;b&gt;message&lt;/b&gt; &lt;u&gt;&lt;/u&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;description&lt;/b&gt; &lt;u&gt;The server encountered an internal error () that prevented it from fulfilling this request.&lt;/u&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;exception&lt;/b&gt; &lt;pre&gt;javax.servlet.ServletException: Unable to validate ProxyTicketValidator [[edu.yale.its.tp.cas.client.ProxyTicketValidator proxyList=[null] [edu.yale.its.tp.cas.client.ServiceTicketValidator casValidateUrl=[https://jordan.bccampus.ca/cas/serviceValidate] ticket=[ST-6-nvCOGCdgwpJsIuLSeD21-cas] service=[http%3A%2F%2Fjordan.bccampus.ca%2Fservlets-examples%2Fservlet%2FHelloWorldExample] renew=false]]]
	edu.yale.its.tp.cas.client.filter.CASFilter.doFilter(CASFilter.java:381)
	filters.ExampleFilter.doFilter(ExampleFilter.java:102)
&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;root cause&lt;/b&gt; &lt;pre&gt;edu.yale.its.tp.cas.client.CASAuthenticationException: Unable to validate ProxyTicketValidator [[edu.yale.its.tp.cas.client.ProxyTicketValidator proxyList=[null] [edu.yale.its.tp.cas.client.ServiceTicketValidator casValidateUrl=[https://jordan.bccampus.ca/cas/serviceValidate] ticket=[ST-6-nvCOGCdgwpJsIuLSeD21-cas] service=[http%3A%2F%2Fjordan.bccampus.ca%2Fservlets-examples%2Fservlet%2FHelloWorldExample] renew=false]]]
	edu.yale.its.tp.cas.client.CASReceipt.getReceipt(CASReceipt.java:52)
	edu.yale.its.tp.cas.client.filter.CASFilter.getAuthenticatedUser(CASFilter.java:455)
	edu.yale.its.tp.cas.client.filter.CASFilter.doFilter(CASFilter.java:378)
	filters.ExampleFilter.doFilter(ExampleFilter.java:102)
&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;root cause&lt;/b&gt; &lt;pre&gt;javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.h: PKIX path building failed: java.security.cert.CertPathBuilderException: unable to find valid certification path to requested target
	com.ibm.jsse2.n.a(n.java:3)
	com.ibm.jsse2.jc.a(jc.java:501)
	com.ibm.jsse2.db.a(db.java:144)
	com.ibm.jsse2.db.a(db.java:416)
	com.ibm.jsse2.eb.a(eb.java:89)
	com.ibm.jsse2.eb.a(eb.java:291)
	com.ibm.jsse2.db.m(db.java:192)
	com.ibm.jsse2.db.a(db.java:79)
	com.ibm.jsse2.jc.a(jc.java:184)
	com.ibm.jsse2.jc.g(jc.java:257)
	com.ibm.jsse2.jc.a(jc.java:361)
	com.ibm.jsse2.jc.startHandshake(jc.java:304)
	com.ibm.net.ssl.www2.protocol.https.b.afterConnect(b.java:125)
	com.ibm.net.ssl.www2.protocol.https.c.connect(c.java:28)
	sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:959)
	com.ibm.net.ssl.www2.protocol.https.a.getInputStream(a.java:34)
	edu.yale.its.tp.cas.util.SecureURL.retrieve(SecureURL.java:84)
	edu.yale.its.tp.cas.client.ServiceTicketValidator.validate(ServiceTicketValidator.java:212)
	edu.yale.its.tp.cas.client.CASReceipt.getReceipt(CASReceipt.java:50)
	edu.yale.its.tp.cas.client.filter.CASFilter.getAuthenticatedUser(CASFilter.java:455)
	edu.yale.its.tp.cas.client.filter.CASFilter.doFilter(CASFilter.java:378)
	filters.ExampleFilter.doFilter(ExampleFilter.java:102)
&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;root cause&lt;/b&gt; &lt;pre&gt;com.ibm.jsse2.util.h: PKIX path building failed: java.security.cert.CertPathBuilderException: unable to find valid certification path to requested target
	com.ibm.jsse2.util.f.b(f.java:49)
	com.ibm.jsse2.util.f.b(f.java:16)
	com.ibm.jsse2.util.e.a(e.java:2)
	com.ibm.jsse2.yb.checkServerTrusted(yb.java:46)
	com.ibm.jsse2.hb.checkServerTrusted(hb.java:22)
	com.ibm.jsse2.eb.a(eb.java:8)
	com.ibm.jsse2.eb.a(eb.java:291)
	com.ibm.jsse2.db.m(db.java:192)
	com.ibm.jsse2.db.a(db.java:79)
	com.ibm.jsse2.jc.a(jc.java:184)
	com.ibm.jsse2.jc.g(jc.java:257)
	com.ibm.jsse2.jc.a(jc.java:361)
	com.ibm.jsse2.jc.startHandshake(jc.java:304)
	com.ibm.net.ssl.www2.protocol.https.b.afterConnect(b.java:125)
	com.ibm.net.ssl.www2.protocol.https.c.connect(c.java:28)
	sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:959)
	com.ibm.net.ssl.www2.protocol.https.a.getInputStream(a.java:34)
	edu.yale.its.tp.cas.util.SecureURL.retrieve(SecureURL.java:84)
	edu.yale.its.tp.cas.client.ServiceTicketValidator.validate(ServiceTicketValidator.java:212)
	edu.yale.its.tp.cas.client.CASReceipt.getReceipt(CASReceipt.java:50)
	edu.yale.its.tp.cas.client.filter.CASFilter.getAuthenticatedUser(CASFilter.java:455)
	edu.yale.its.tp.cas.client.filter.CASFilter.doFilter(CASFilter.java:378)
	filters.ExampleFilter.doFilter(ExampleFilter.java:102)
&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;root cause&lt;/b&gt; &lt;pre&gt;java.security.cert.CertPathBuilderException: unable to find valid certification path to requested target
	com.ibm.security.cert.PKIXCertPathBuilderImpl.buildCertPath(PKIXCertPathBuilderImpl.java:379)
	com.ibm.security.cert.PKIXCertPathBuilderImpl.engineBuild(PKIXCertPathBuilderImpl.java:195)
	java.security.cert.CertPathBuilder.build(CertPathBuilder.java:215)
	com.ibm.jsse2.util.f.b(f.java:82)
	com.ibm.jsse2.util.f.b(f.java:16)
	com.ibm.jsse2.util.e.a(e.java:2)
	com.ibm.jsse2.yb.checkServerTrusted(yb.java:46)
	com.ibm.jsse2.hb.checkServerTrusted(hb.java:22)
	com.ibm.jsse2.eb.a(eb.java:8)
	com.ibm.jsse2.eb.a(eb.java:291)
	com.ibm.jsse2.db.m(db.java:192)
	com.ibm.jsse2.db.a(db.java:79)
	com.ibm.jsse2.jc.a(jc.java:184)
	com.ibm.jsse2.jc.g(jc.java:257)
	com.ibm.jsse2.jc.a(jc.java:361)
	com.ibm.jsse2.jc.startHandshake(jc.java:304)
	com.ibm.net.ssl.www2.protocol.https.b.afterConnect(b.java:125)
	com.ibm.net.ssl.www2.protocol.https.c.connect(c.java:28)
	sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:959)
	com.ibm.net.ssl.www2.protocol.https.a.getInputStream(a.java:34)
	edu.yale.its.tp.cas.util.SecureURL.retrieve(SecureURL.java:84)
	edu.yale.its.tp.cas.client.ServiceTicketValidator.validate(ServiceTicketValidator.java:212)
	edu.yale.its.tp.cas.client.CASReceipt.getReceipt(CASReceipt.java:50)
	edu.yale.its.tp.cas.client.filter.CASFilter.getAuthenticatedUser(CASFilter.java:455)
	edu.yale.its.tp.cas.client.filter.CASFilter.doFilter(CASFilter.java:378)
	filters.ExampleFilter.doFilter(ExampleFilter.java:102)
&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;note&lt;/b&gt; &lt;u&gt;The full stack trace of the root cause is available in the Apache Tomcat/5.5.23 logs.&lt;/u&gt;&lt;/p&gt;&lt;HR size=&quot;1&quot; noshade=&quot;noshade&quot;&gt;&lt;h3&gt;Apache Tomcat/5.5.23&lt;/h3&gt;&lt;/body&gt;&lt;/html&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/help-with---Step-5%3A-CASify-HelloWorld-Servlet-tp25933580p25933580.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25919347</id>
	<title>Re: Hardware for CAS server</title>
	<published>2009-10-15T20:35:15Z</published>
	<updated>2009-10-15T20:35:15Z</updated>
	<author>
		<name>scott_battaglia</name>
	</author>
	<content type="html">Your ram and disk should be more than fine.  We generally deploy on Sun Hardware so I&amp;#39;m not sure I can compare the processors (if you&amp;#39;re familiar with both, then we use the Sun T5120)&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;

On Thu, Oct 15, 2009 at 11:58 AM, Gustavo Hartmann &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25919347&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gustavo.hartmann@...&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 link=&quot;blue&quot; vlink=&quot;purple&quot; lang=&quot;EN-GB&quot;&gt;

&lt;div&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot; lang=&quot;EN-US&quot;&gt;Hi,&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot; lang=&quot;EN-US&quot;&gt; &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot; lang=&quot;EN-US&quot;&gt;We’re buying new kit for our CAS server and
wondered what the right spec would be? These are the application requirements:&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot; lang=&quot;EN-US&quot;&gt; &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 18pt;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot; lang=&quot;EN-US&quot;&gt;&lt;span&gt;1)&lt;font size=&quot;1&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;&quot;&gt;     &lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot; lang=&quot;EN-US&quot;&gt;Total
30 thousand users in the system: peaks of 300 to 500 simultaneous logins&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 18pt;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot; lang=&quot;EN-US&quot;&gt;&lt;span&gt;2)&lt;font size=&quot;1&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;&quot;&gt;     &lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot; lang=&quot;EN-US&quot;&gt;We’re
using CentOS 64-bit and Tomcat&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 18pt;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot; lang=&quot;EN-US&quot;&gt;&lt;span&gt;3)&lt;font size=&quot;1&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;&quot;&gt;     &lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot; lang=&quot;EN-US&quot;&gt;Authentication
is based on a REST web service that talks to a MySQL database.&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left: 18pt;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot; lang=&quot;EN-US&quot;&gt;&lt;span&gt;4)&lt;font size=&quot;1&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;&quot;&gt;     &lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot; lang=&quot;EN-US&quot;&gt;Server
will not be dedicated as we will have other tomcat apps running on it&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot; lang=&quot;EN-US&quot;&gt; &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot; lang=&quot;EN-US&quot;&gt;This is what we were thinking in terms of hardware:&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot; lang=&quot;EN-US&quot;&gt; &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot; lang=&quot;PT-BR&quot;&gt;Dell Core2Duo E7300 (2x2.66GHz)&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;8GB of RAM&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;2x250GB SATA2 RAID1&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt; &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;Any thoughts are welcome. Not sure whether CPU, RAM or Disk is
the most important bit here.&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt; &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;Thanks,&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;Gustavo&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;/div&gt;


&lt;pre&gt;-- &lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25919347&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25919347&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;scott.battaglia@...&lt;/a&gt;&lt;br&gt;

To unsubscribe, change settings or access archives, see &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;/font&gt;&lt;/pre&gt;
&lt;/div&gt;


&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;

&lt;pre&gt;-- &lt;br /&gt;You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25919347&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25919347&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;&lt;br /&gt;To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/pre&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Hardware-for-CAS-server-tp25911243p25919347.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25912967</id>
	<title>Re: cas+ldap [beginner's?] problem</title>
	<published>2009-10-15T10:40:40Z</published>
	<updated>2009-10-15T10:40:40Z</updated>
	<author>
		<name>Technolithic</name>
	</author>
	<content type="html">Sorry guys, I think I'm going to give up on trying to understand this. &amp;nbsp;
&lt;br&gt;&amp;nbsp; There's too many holes in my understanding and I'm getting into a &amp;nbsp;
&lt;br&gt;rut of frustration with it.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Quoting &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25912967&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ashj@...&lt;/a&gt;:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Thanks, Marvin, I found the protocol documents which helped. &amp;nbsp;I &amp;nbsp;
&lt;br&gt;&amp;gt; agree with incorporating diagrams into the protocol documents and I &amp;nbsp;
&lt;br&gt;&amp;gt; agree with adding more links if they help to clear up the &amp;nbsp;
&lt;br&gt;&amp;gt; information already provided.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Here is a sequence diagram in as much as I understand about using &amp;nbsp;
&lt;br&gt;&amp;gt; CAS with an SSO solution. &amp;nbsp;In my scenario the back-end service is an &amp;nbsp;
&lt;br&gt;&amp;gt; LDAP server. &amp;nbsp;Client is the browser, Service is the WebApp, and &amp;nbsp;
&lt;br&gt;&amp;gt; Server is the CAS Server. &amp;nbsp;I'm lacking confidence that this is 100% &amp;nbsp;
&lt;br&gt;&amp;gt; correct.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------- &amp;nbsp; ----------- &amp;nbsp; ---------- &amp;nbsp; --------------------
&lt;br&gt;&amp;gt; | Client | &amp;nbsp; | Service | &amp;nbsp; | Server | &amp;nbsp; | Back-end Service |
&lt;br&gt;&amp;gt; ---------- &amp;nbsp; ----------- &amp;nbsp; ---------- &amp;nbsp; --------------------
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;|Request for webpage &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;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;|-----------&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;nbsp; &amp;nbsp; |
&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;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;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;|Redirect to login url, provides ServiceID &amp;nbsp; |
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;lt;-----------| &amp;nbsp; &amp;nbsp; &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;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; |
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;|Request login page, sends ServiceID (and ticket granting &amp;nbsp;
&lt;br&gt;&amp;gt; cookie if already logged in)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;|-------------------------&amp;gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |
&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;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;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;|redirect to requested webpage (if already logged in)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;lt;-------------------------| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |
&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;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;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;|GET request with service &amp;quot;ticket&amp;quot; as parameter (if already logged in)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;|-----------&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;nbsp; &amp;nbsp; |
&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;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;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;|Requested webpage (if already logged in) &amp;nbsp; &amp;nbsp;|
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;lt;-----------| &amp;nbsp; &amp;nbsp; &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;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; |
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;|Login Landing Page (if not logged in) or error page
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;lt;-------------------------| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |
&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;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;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;|POST credentials (username and password)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;|-------------------------&amp;gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |
&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;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;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; |Validates Username and Password
&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;nbsp; &amp;nbsp; &amp;nbsp; |----------------&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;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;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; |Validation result|
&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;nbsp; &amp;nbsp; &amp;nbsp; |&amp;lt;----------------|
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;|Error page (on fail) &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;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;lt;-------------------------| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;|Redirect to service with service ticket (on success)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;lt;-------------------------| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |
&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;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;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;|GET request for service &amp;quot;ticket&amp;quot; as parameter (on success)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;|-----------&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;nbsp; &amp;nbsp; |
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;|Requested webpage (on success) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;lt;-----------| &amp;nbsp; &amp;nbsp; &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;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; |
&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;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;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; |
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Quoting Marvin Addison &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25912967&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;marvin.addison@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; diagram that illustrates the most
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; current version of CAS and describes, in detail, the intricacies of
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; the relationships between components in a typical SSO solution
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The best place for a CAS SSO workflow diagram is in the protocol
&lt;br&gt;&amp;gt;&amp;gt; documents. &amp;nbsp;I don't believe they contain a diagram currently, but I
&lt;br&gt;&amp;gt;&amp;gt; agree that a good diagram could be helpful to augment the verbal
&lt;br&gt;&amp;gt;&amp;gt; description of protocol interactions.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; If you would like to discuss SSO workflows in general, which is what I
&lt;br&gt;&amp;gt;&amp;gt; understand from the phrase &amp;quot;typical SSO solution,&amp;quot; then that would be
&lt;br&gt;&amp;gt;&amp;gt; out of scope of the protocol documents. &amp;nbsp;I would argue that a general
&lt;br&gt;&amp;gt;&amp;gt; discussion of SSO belongs on a general reference like Wikipedia, and
&lt;br&gt;&amp;gt;&amp;gt; that CAS deployers need to come to the CAS wiki with this background
&lt;br&gt;&amp;gt;&amp;gt; before diving into the details of CAS deployment. &amp;nbsp;I believe a
&lt;br&gt;&amp;gt;&amp;gt; thoughtful bibliography of links to general SSO resources would better
&lt;br&gt;&amp;gt;&amp;gt; serve our audience on the CASUM wiki.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; M
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25912967&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25912967&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ashj@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe, change settings or access archives, see &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25912967&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &amp;nbsp;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25912967&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ashj@...&lt;/a&gt;
&lt;br&gt;&amp;gt; To unsubscribe, change settings or access archives, see &amp;nbsp;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25912967&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25912967&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, change settings or access archives, see &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/cas%2Bldap--beginner%27s---problem-tp25888126p25912967.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25911243</id>
	<title>Hardware for CAS server</title>
	<published>2009-10-15T08:58:26Z</published>
	<updated>2009-10-15T08:58:26Z</updated>
	<author>
		<name>Gustavo Hartmann</name>
	</author>
	<content type="html">&lt;html xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;meta http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 11 (filtered medium)&quot;&gt;


&lt;/head&gt;

&lt;body lang=EN-GB link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-US style='font-size:
10.0pt;font-family:Arial'&gt;Hi,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-US style='font-size:
10.0pt;font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-US style='font-size:
10.0pt;font-family:Arial'&gt;We&amp;#8217;re buying new kit for our CAS server and
wondered what the right spec would be? These are the application requirements:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-US style='font-size:
10.0pt;font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='margin-left:18.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1'&gt;&lt;![if !supportLists]&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Arial'&gt;&lt;span style='mso-list:Ignore'&gt;1)&lt;font size=1 face=&quot;Times New Roman&quot;&gt;&lt;span style='font:7.0pt &quot;Times New Roman&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;![endif]&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Arial'&gt;Total
30 thousand users in the system: peaks of 300 to 500 simultaneous logins&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='margin-left:18.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1'&gt;&lt;![if !supportLists]&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Arial'&gt;&lt;span style='mso-list:Ignore'&gt;2)&lt;font size=1 face=&quot;Times New Roman&quot;&gt;&lt;span style='font:7.0pt &quot;Times New Roman&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;![endif]&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Arial'&gt;We&amp;#8217;re
using CentOS 64-bit and Tomcat&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='margin-left:18.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1'&gt;&lt;![if !supportLists]&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Arial'&gt;&lt;span style='mso-list:Ignore'&gt;3)&lt;font size=1 face=&quot;Times New Roman&quot;&gt;&lt;span style='font:7.0pt &quot;Times New Roman&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;![endif]&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Arial'&gt;Authentication
is based on a REST web service that talks to a MySQL database.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='margin-left:18.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1'&gt;&lt;![if !supportLists]&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Arial'&gt;&lt;span style='mso-list:Ignore'&gt;4)&lt;font size=1 face=&quot;Times New Roman&quot;&gt;&lt;span style='font:7.0pt &quot;Times New Roman&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;![endif]&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Arial'&gt;Server
will not be dedicated as we will have other tomcat apps running on it&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-US style='font-size:
10.0pt;font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-US style='font-size:
10.0pt;font-family:Arial'&gt;This is what we were thinking in terms of hardware:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-US style='font-size:
10.0pt;font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=PT-BR style='font-size:
10.0pt;font-family:Arial'&gt;Dell Core2Duo E7300 (2x2.66GHz)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;8GB of RAM&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;2x250GB SATA2 RAID1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Any thoughts are welcome. Not sure whether CPU, RAM or Disk is
the most important bit here.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Thanks,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Gustavo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;/div&gt;


&lt;pre&gt;-- &lt;br /&gt;You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25911243&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25911243&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;&lt;br /&gt;To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/pre&gt;
&lt;/BODY&gt;

&lt;/html&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Hardware-for-CAS-server-tp25911243p25911243.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25910914</id>
	<title>Re: Does the JPA Ticket Registry stuff work for CAS 3.3.4?</title>
	<published>2009-10-15T08:40:24Z</published>
	<updated>2009-10-15T08:40:24Z</updated>
	<author>
		<name>Curtis Garman</name>
	</author>
	<content type="html">the wiki should probably be updated with a different bean name than
&lt;br&gt;&amp;quot;datasource&amp;quot; so that others don't get the collision between
&lt;br&gt;datasources...especially if no error is produced on startup to flag
&lt;br&gt;the issue.
&lt;br&gt;&lt;br&gt;On Thu, Oct 15, 2009 at 10:38 AM, Curtis Garman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25910914&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;curt.garman@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Ok, I found out why it created the tables in the portal database but a
&lt;br&gt;&amp;gt; couple things are still a little fuzzy. I found a datasource in the
&lt;br&gt;&amp;gt; deployerConfigContext.xml pointing to it...but I didn't put it
&lt;br&gt;&amp;gt; there...it looks like it copied the credentials from the
&lt;br&gt;&amp;gt; datasource.properties file of the portal so two things
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 1) I ended up with two beans with dataSource as their id (both the
&lt;br&gt;&amp;gt; default one in deployerConfigContext.xml and the one in the
&lt;br&gt;&amp;gt; ticketRegistry.xml file that were included in the configuration on the
&lt;br&gt;&amp;gt; wiki) and I don't understand why spring didn't complain about trying
&lt;br&gt;&amp;gt; to have two beans with the same id.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2) why does cas by default have a datasource bean when the default
&lt;br&gt;&amp;gt; configuration doesn't use it...hmm...but upon further exploration it
&lt;br&gt;&amp;gt; appears this datasource is nescessary to authenticate fragment owner
&lt;br&gt;&amp;gt; accounts and such
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I fixed the issue by changing the name of the datasource jpa uses to
&lt;br&gt;&amp;gt; casDataSource and changing the name of the bean being injected into
&lt;br&gt;&amp;gt; the entityManagerFactory...this seems to have fixed the problem.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Thu, Oct 15, 2009 at 8:49 AM, Curtis Garman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25910914&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;curt.garman@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; Ok...I'm actually testing 3.1.1 on both a windows machine (laptop) and
&lt;br&gt;&amp;gt;&amp;gt; a linux server...I was trying to get it to work on my laptop...I tried
&lt;br&gt;&amp;gt;&amp;gt; the setup on the linux box and it worked fine...except (even though I
&lt;br&gt;&amp;gt;&amp;gt; pointed it to a different database) it still created the tables in my
&lt;br&gt;&amp;gt;&amp;gt; portal database. Any reason why this would happen? I couldn't see
&lt;br&gt;&amp;gt;&amp;gt; anything and as far as I know cas shouldn't even know my portal
&lt;br&gt;&amp;gt;&amp;gt; database exists
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Mon, Oct 12, 2009 at 10:38 AM, Marvin Addison
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25910914&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;marvin.addison@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; it actually looks like the cause of everything is the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; java.io.FileNotFoundException
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Caused by: java.io.FileNotFoundException:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; C:\Program%20Files\Apache%20Software%20Foundation\tomcat\6.0.18\jvm1\webapps\cas\WEB-INF\lib\cas-server-core-3.3.4.jar
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; (The system cannot find the path specified)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;        at java.util.zip.ZipFile.open(Native Method)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;        at java.util.zip.ZipFile.&amp;lt;init&amp;gt;(ZipFile.java:114)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;        at java.util.jar.JarFile.&amp;lt;init&amp;gt;(JarFile.java:133)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;        at java.util.jar.JarFile.&amp;lt;init&amp;gt;(JarFile.java:97)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;        at org.jboss.util.file.JarArchiveBrowser.&amp;lt;init&amp;gt;(JarArchiveBrowser.java:69)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;        ... 64 more
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://opensource.atlassian.com/projects/hibernate/browse/EJB-337&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.atlassian.com/projects/hibernate/browse/EJB-337&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; looks like a potential cause.  Can you move your Tomcat such that the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; path above would not contain spaces and try again?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; M
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25910914&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25910914&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;curt.garman@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; To unsubscribe, change settings or access archives, see &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; Curtis Garman
&lt;br&gt;&amp;gt;&amp;gt; Web Programmer
&lt;br&gt;&amp;gt;&amp;gt; Heartland Community College
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Curtis Garman
&lt;br&gt;&amp;gt; Web Programmer
&lt;br&gt;&amp;gt; Heartland Community College
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Curtis Garman
&lt;br&gt;Web Programmer
&lt;br&gt;Heartland Community College
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25910914&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25910914&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, change settings or access archives, see &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Does-the-JPA-Ticket-Registry-stuff-work-for-CAS-3.3.4--tp25826721p25910914.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25910893</id>
	<title>Re: Does the JPA Ticket Registry stuff work for CAS 3.3.4?</title>
	<published>2009-10-15T08:38:51Z</published>
	<updated>2009-10-15T08:38:51Z</updated>
	<author>
		<name>Curtis Garman</name>
	</author>
	<content type="html">Ok, I found out why it created the tables in the portal database but a
&lt;br&gt;couple things are still a little fuzzy. I found a datasource in the
&lt;br&gt;deployerConfigContext.xml pointing to it...but I didn't put it
&lt;br&gt;there...it looks like it copied the credentials from the
&lt;br&gt;datasource.properties file of the portal so two things
&lt;br&gt;&lt;br&gt;1) I ended up with two beans with dataSource as their id (both the
&lt;br&gt;default one in deployerConfigContext.xml and the one in the
&lt;br&gt;ticketRegistry.xml file that were included in the configuration on the
&lt;br&gt;wiki) and I don't understand why spring didn't complain about trying
&lt;br&gt;to have two beans with the same id.
&lt;br&gt;&lt;br&gt;2) why does cas by default have a datasource bean when the default
&lt;br&gt;configuration doesn't use it...hmm...but upon further exploration it
&lt;br&gt;appears this datasource is nescessary to authenticate fragment owner
&lt;br&gt;accounts and such
&lt;br&gt;&lt;br&gt;I fixed the issue by changing the name of the datasource jpa uses to
&lt;br&gt;casDataSource and changing the name of the bean being injected into
&lt;br&gt;the entityManagerFactory...this seems to have fixed the problem.
&lt;br&gt;&lt;br&gt;On Thu, Oct 15, 2009 at 8:49 AM, Curtis Garman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25910893&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;curt.garman@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Ok...I'm actually testing 3.1.1 on both a windows machine (laptop) and
&lt;br&gt;&amp;gt; a linux server...I was trying to get it to work on my laptop...I tried
&lt;br&gt;&amp;gt; the setup on the linux box and it worked fine...except (even though I
&lt;br&gt;&amp;gt; pointed it to a different database) it still created the tables in my
&lt;br&gt;&amp;gt; portal database. Any reason why this would happen? I couldn't see
&lt;br&gt;&amp;gt; anything and as far as I know cas shouldn't even know my portal
&lt;br&gt;&amp;gt; database exists
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Mon, Oct 12, 2009 at 10:38 AM, Marvin Addison
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25910893&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;marvin.addison@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; it actually looks like the cause of everything is the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; java.io.FileNotFoundException
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Caused by: java.io.FileNotFoundException:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; C:\Program%20Files\Apache%20Software%20Foundation\tomcat\6.0.18\jvm1\webapps\cas\WEB-INF\lib\cas-server-core-3.3.4.jar
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; (The system cannot find the path specified)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;        at java.util.zip.ZipFile.open(Native Method)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;        at java.util.zip.ZipFile.&amp;lt;init&amp;gt;(ZipFile.java:114)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;        at java.util.jar.JarFile.&amp;lt;init&amp;gt;(JarFile.java:133)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;        at java.util.jar.JarFile.&amp;lt;init&amp;gt;(JarFile.java:97)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;        at org.jboss.util.file.JarArchiveBrowser.&amp;lt;init&amp;gt;(JarArchiveBrowser.java:69)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;        ... 64 more
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://opensource.atlassian.com/projects/hibernate/browse/EJB-337&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.atlassian.com/projects/hibernate/browse/EJB-337&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; looks like a potential cause.  Can you move your Tomcat such that the
&lt;br&gt;&amp;gt;&amp;gt; path above would not contain spaces and try again?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; M
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25910893&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25910893&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;curt.garman@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe, change settings or access archives, see &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Curtis Garman
&lt;br&gt;&amp;gt; Web Programmer
&lt;br&gt;&amp;gt; Heartland Community College
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Curtis Garman
&lt;br&gt;Web Programmer
&lt;br&gt;Heartland Community College
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25910893&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25910893&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, change settings or access archives, see &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Does-the-JPA-Ticket-Registry-stuff-work-for-CAS-3.3.4--tp25826721p25910893.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25910447</id>
	<title>Re: Does the JPA Ticket Registry stuff work for CAS 3.3.4?</title>
	<published>2009-10-15T08:00:41Z</published>
	<updated>2009-10-15T08:00:41Z</updated>
	<author>
		<name>Marvin Addison</name>
	</author>
	<content type="html">&amp;gt; except (even though I
&lt;br&gt;&amp;gt; pointed it to a different database) it still created the tables in my
&lt;br&gt;&amp;gt; portal database. Any reason why this would happen?
&lt;br&gt;&lt;br&gt;You're using the wrong JDBC URL in your CAS DataSource definition?
&lt;br&gt;&lt;br&gt;M
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25910447&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25910447&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, change settings or access archives, see &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Does-the-JPA-Ticket-Registry-stuff-work-for-CAS-3.3.4--tp25826721p25910447.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25909569</id>
	<title>CAS 3.3.4 &amp; attributeRepository</title>
	<published>2009-10-15T07:23:36Z</published>
	<updated>2009-10-15T07:23:36Z</updated>
	<author>
		<name>Pavlos Drandakis-2</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;I am trying to deploy CAS server 3.3.4 using my old (CAS 3.3.3) 
&lt;br&gt;deployerConfigContext.xml but I am getting these exceptions:
&lt;br&gt;&lt;br&gt;Error creating bean with name 'attributeRepository' defined in 
&lt;br&gt;ServletContext resource [/WEB-INF/deployerConfigContext.xml]: Error 
&lt;br&gt;setting property values; nested exception is 
&lt;br&gt;org.springframework.beans.NotWritablePropertyException: Invalid property 
&lt;br&gt;'query' of bean class 
&lt;br&gt;[org.jasig.services.persondir.support.ldap.LdapPersonAttributeDao]: Bean 
&lt;br&gt;property 'query' is not writable or has an invalid setter method. Does 
&lt;br&gt;the parameter type of the setter match the return type of the getter?
&lt;br&gt;&lt;br&gt;Error creating bean with name 'attributeRepository' defined in 
&lt;br&gt;ServletContext resource [/WEB-INF/deployerConfigContext.xml]: Error 
&lt;br&gt;setting property values; nested exception is 
&lt;br&gt;org.springframework.beans.NotWritablePropertyException: Invalid property 
&lt;br&gt;'ldapAttributesToPortalAttributes' of bean class 
&lt;br&gt;[org.jasig.services.persondir.support.ldap.LdapPersonAttributeDao]: Bean 
&lt;br&gt;property 'ldapAttributesToPortalAttributes' is not writable or has an 
&lt;br&gt;invalid setter method. Does the parameter type of the setter match the 
&lt;br&gt;return type of the getter?
&lt;br&gt;&lt;br&gt;This is what I have in my deployerConfigContext.xml about 
&lt;br&gt;attributeRepository:
&lt;br&gt;&lt;br&gt;&amp;lt;bean id=&amp;quot;attributeRepository&amp;quot; 
&lt;br&gt;class=&amp;quot;org.jasig.services.persondir.support.ldap.LdapPersonAttributeDao&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;baseDN&amp;quot; value=&amp;quot;dc=X,dc=Y&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;query&amp;quot; value=&amp;quot;(uid={0})&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;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;lt;property name=&amp;quot;ldapAttributesToPortalAttributes&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;attribute1&amp;quot; 
&lt;br&gt;value=&amp;quot;attribute1&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;lt;/bean&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;As far as I can tell, this happens because of the new Person Directory 
&lt;br&gt;API, that is used in this release... If true, what should be the 
&lt;br&gt;appropriate configuration for attributeRepository bean?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Pavlos
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25909569&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25909569&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, change settings or access archives, see &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/CAS-3.3.4---attributeRepository-tp25909569p25909569.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25908995</id>
	<title>Re: Does the JPA Ticket Registry stuff work for CAS 3.3.4?</title>
	<published>2009-10-15T06:49:09Z</published>
	<updated>2009-10-15T06:49:09Z</updated>
	<author>
		<name>Curtis Garman</name>
	</author>
	<content type="html">Ok...I'm actually testing 3.1.1 on both a windows machine (laptop) and
&lt;br&gt;a linux server...I was trying to get it to work on my laptop...I tried
&lt;br&gt;the setup on the linux box and it worked fine...except (even though I
&lt;br&gt;pointed it to a different database) it still created the tables in my
&lt;br&gt;portal database. Any reason why this would happen? I couldn't see
&lt;br&gt;anything and as far as I know cas shouldn't even know my portal
&lt;br&gt;database exists
&lt;br&gt;&lt;br&gt;On Mon, Oct 12, 2009 at 10:38 AM, Marvin Addison
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25908995&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;marvin.addison@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; it actually looks like the cause of everything is the
&lt;br&gt;&amp;gt;&amp;gt; java.io.FileNotFoundException
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Caused by: java.io.FileNotFoundException:
&lt;br&gt;&amp;gt;&amp;gt; C:\Program%20Files\Apache%20Software%20Foundation\tomcat\6.0.18\jvm1\webapps\cas\WEB-INF\lib\cas-server-core-3.3.4.jar
&lt;br&gt;&amp;gt;&amp;gt; (The system cannot find the path specified)
&lt;br&gt;&amp;gt;&amp;gt;        at java.util.zip.ZipFile.open(Native Method)
&lt;br&gt;&amp;gt;&amp;gt;        at java.util.zip.ZipFile.&amp;lt;init&amp;gt;(ZipFile.java:114)
&lt;br&gt;&amp;gt;&amp;gt;        at java.util.jar.JarFile.&amp;lt;init&amp;gt;(JarFile.java:133)
&lt;br&gt;&amp;gt;&amp;gt;        at java.util.jar.JarFile.&amp;lt;init&amp;gt;(JarFile.java:97)
&lt;br&gt;&amp;gt;&amp;gt;        at org.jboss.util.file.JarArchiveBrowser.&amp;lt;init&amp;gt;(JarArchiveBrowser.java:69)
&lt;br&gt;&amp;gt;&amp;gt;        ... 64 more
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://opensource.atlassian.com/projects/hibernate/browse/EJB-337&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.atlassian.com/projects/hibernate/browse/EJB-337&lt;/a&gt;&lt;br&gt;&amp;gt; looks like a potential cause.  Can you move your Tomcat such that the
&lt;br&gt;&amp;gt; path above would not contain spaces and try again?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; M
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25908995&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25908995&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;curt.garman@...&lt;/a&gt;
&lt;br&gt;&amp;gt; To unsubscribe, change settings or access archives, see &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Curtis Garman
&lt;br&gt;Web Programmer
&lt;br&gt;Heartland Community College
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25908995&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25908995&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, change settings or access archives, see &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Does-the-JPA-Ticket-Registry-stuff-work-for-CAS-3.3.4--tp25826721p25908995.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25908879</id>
	<title>Loop of granting service ticket (was Re: cas+ldap [beginner's?] problem)</title>
	<published>2009-10-15T06:42:21Z</published>
	<updated>2009-10-15T06:42:21Z</updated>
	<author>
		<name>Giuseppe Sollazzo-2</name>
	</author>
	<content type="html">Hi Marvin,
&lt;br&gt;as we have many different DNs, for the moment being I cannot use the 
&lt;br&gt;FastBindLdapAuthenticationHandler due to limitations on our system.
&lt;br&gt;So that's why I have to use the BindLdap, for which I seem to get to the 
&lt;br&gt;point outlined in my last e-mail: an infinite sequence of (incrementally 
&lt;br&gt;numbered) &amp;quot;Granting service tickets&amp;quot; that lead to nowhere (on Explorer) 
&lt;br&gt;or to a &amp;quot;Redirect loop&amp;quot; error on Firefox.
&lt;br&gt;&lt;br&gt;Is this something happened to anyone?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Giuseppe
&lt;br&gt;&lt;br&gt;Marvin Addison wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; Here was my misunderstanding: there is a need for fully qualified identifier
&lt;br&gt;&amp;gt;&amp;gt; for the user who binds, not for the one we're searching
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This is only true if you are using the BindLdapAuthenticationHandler,
&lt;br&gt;&amp;gt; but I see you're using FastBind. &amp;nbsp;I see from the XML snippets you
&lt;br&gt;&amp;gt; shared that you are defining manager bind credentials in the context,
&lt;br&gt;&amp;gt; then using the FastBind handler which does not need them. &amp;nbsp;Let me
&lt;br&gt;&amp;gt; outline the use cases for Bind and FastBind:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Use BindLdapAuthenticationHandler when you _cannot_ construct the full
&lt;br&gt;&amp;gt; DN of a user from the username given in the CAS login screen. &amp;nbsp;That
&lt;br&gt;&amp;gt; is, you must perform a search based on some other attribute, e.g.
&lt;br&gt;&amp;gt; mail, in order to determine the DN. &amp;nbsp;This handler performs
&lt;br&gt;&amp;gt; authentication for each user in three steps: admin bind, search, user
&lt;br&gt;&amp;gt; bind.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; FastBindLdapAuthenticationHandler is more efficient and preferable
&lt;br&gt;&amp;gt; when you can construct the DN from the username in the login form,
&lt;br&gt;&amp;gt; e.g. uid=%s,ou=People,dc=vt,dc=edu. &amp;nbsp;The
&lt;br&gt;&amp;gt; FastBindLdapAuthenticationHandler will immediately construct the user
&lt;br&gt;&amp;gt; DN and use it with the password provided on the login form to perform
&lt;br&gt;&amp;gt; an LDAP bind operation.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hopefully this will clear up what you need to do for your environment.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; M
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Giuseppe Sollazzo
&lt;br&gt;Systems Developer / Administrator
&lt;br&gt;&lt;br&gt;Computing Services
&lt;br&gt;St. George's, University of London
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25908879&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25908879&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, change settings or access archives, see &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/cas%2Bldap--beginner%27s---problem-tp25888126p25908879.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25908779</id>
	<title>Re: cas+ldap [beginner's?] problem</title>
	<published>2009-10-15T06:37:30Z</published>
	<updated>2009-10-15T06:37:30Z</updated>
	<author>
		<name>Marvin Addison</name>
	</author>
	<content type="html">&amp;gt; Here was my misunderstanding: there is a need for fully qualified identifier
&lt;br&gt;&amp;gt; for the user who binds, not for the one we're searching
&lt;br&gt;&lt;br&gt;This is only true if you are using the BindLdapAuthenticationHandler,
&lt;br&gt;but I see you're using FastBind. &amp;nbsp;I see from the XML snippets you
&lt;br&gt;shared that you are defining manager bind credentials in the context,
&lt;br&gt;then using the FastBind handler which does not need them. &amp;nbsp;Let me
&lt;br&gt;outline the use cases for Bind and FastBind:
&lt;br&gt;&lt;br&gt;Use BindLdapAuthenticationHandler when you _cannot_ construct the full
&lt;br&gt;DN of a user from the username given in the CAS login screen. &amp;nbsp;That
&lt;br&gt;is, you must perform a search based on some other attribute, e.g.
&lt;br&gt;mail, in order to determine the DN. &amp;nbsp;This handler performs
&lt;br&gt;authentication for each user in three steps: admin bind, search, user
&lt;br&gt;bind.
&lt;br&gt;&lt;br&gt;FastBindLdapAuthenticationHandler is more efficient and preferable
&lt;br&gt;when you can construct the DN from the username in the login form,
&lt;br&gt;e.g. uid=%s,ou=People,dc=vt,dc=edu. &amp;nbsp;The
&lt;br&gt;FastBindLdapAuthenticationHandler will immediately construct the user
&lt;br&gt;DN and use it with the password provided on the login form to perform
&lt;br&gt;an LDAP bind operation.
&lt;br&gt;&lt;br&gt;Hopefully this will clear up what you need to do for your environment.
&lt;br&gt;&lt;br&gt;M
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25908779&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25908779&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, change settings or access archives, see &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/cas%2Bldap--beginner%27s---problem-tp25888126p25908779.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25908683</id>
	<title>Re: cas+ldap [beginner's?] problem</title>
	<published>2009-10-15T06:30:32Z</published>
	<updated>2009-10-15T06:30:32Z</updated>
	<author>
		<name>Giuseppe Sollazzo-2</name>
	</author>
	<content type="html">A little update...
&lt;br&gt;I managed to get something different using the BindLdap instead of the 
&lt;br&gt;FastBind.
&lt;br&gt;&lt;br&gt;What I get this time is:
&lt;br&gt;&lt;br&gt;2009-10-15 14:28:03,472 INFO 
&lt;br&gt;[org.jasig.cas.authentication.AuthenticationManagerImpl] - 
&lt;br&gt;&amp;lt;AuthenticationHandler: 
&lt;br&gt;org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler successfully 
&lt;br&gt;authenticated the user which provided the following credentials: 
&lt;br&gt;[username: user]&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;followed by an eternal sequence of:
&lt;br&gt;&lt;br&gt;2009-10-15 14:28:03,477 INFO 
&lt;br&gt;[org.jasig.cas.CentralAuthenticationServiceImpl] - &amp;lt;Granted service 
&lt;br&gt;ticket [ST-1-OVG5l4krlYLR9q0Xl5Jl-cas] for service 
&lt;br&gt;[&lt;a href=&quot;https://moodle.sgul.ac.uk/devmoodle/login/index.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://moodle.sgul.ac.uk/devmoodle/login/index.php&lt;/a&gt;] for user [user]&amp;gt;
&lt;br&gt;2009-10-15 14:28:04,229 INFO 
&lt;br&gt;[org.jasig.cas.CentralAuthenticationServiceImpl] - &amp;lt;Granted service 
&lt;br&gt;ticket [ST-2-RBc0et7WkjCTqduVaPcK-cas] for service 
&lt;br&gt;[&lt;a href=&quot;https://moodle.sgul.ac.uk/devmoodle/login/index.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://moodle.sgul.ac.uk/devmoodle/login/index.php&lt;/a&gt;] for user [user]&amp;gt;
&lt;br&gt;...
&lt;br&gt;2009-10-15 14:28:16,812 INFO 
&lt;br&gt;[org.jasig.cas.CentralAuthenticationServiceImpl] - &amp;lt;Granted service 
&lt;br&gt;ticket [ST-31-y1i0RQ5mfqS2zOzokAtx-cas] for service 
&lt;br&gt;[&lt;a href=&quot;https://moodle.sgul.ac.uk/devmoodle/login/index.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://moodle.sgul.ac.uk/devmoodle/login/index.php&lt;/a&gt;] for user [user]&amp;gt;
&lt;br&gt;2009-10-15 14:28:17,231 INFO 
&lt;br&gt;[org.jasig.cas.CentralAuthenticationServiceImpl] - &amp;lt;Granted ser...
&lt;br&gt;...
&lt;br&gt;(and counting :P)
&lt;br&gt;&lt;br&gt;I guess something is moving in the right direction but there are still 
&lt;br&gt;some issues?
&lt;br&gt;&lt;br&gt;Thanks for any help,
&lt;br&gt;Giuseppe
&lt;br&gt;&lt;br&gt;Giuseppe Sollazzo wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Ryan,
&lt;br&gt;&amp;gt; yes the way I get it to work is by giving the fully qualified id
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ldapsearch -H ldap://my.ldap.server -x -Z -b o=Y -D 
&lt;br&gt;&amp;gt; &amp;quot;uid=user,ou=a,ou=b,ou=c,ou=X,o=Y,o=Z&amp;quot; -W uid=user
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Here was my misunderstanding: there is a need for fully qualified 
&lt;br&gt;&amp;gt; identifier for the user who binds, not for the one we're searching 
&lt;br&gt;&amp;gt; (yep - I know it wouldn't make sense otherwise but it was not 
&lt;br&gt;&amp;gt; extremely clear to me).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So, what happens now is that by adjusting the xml to look like
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;bean id=&amp;quot;contextSource&amp;quot; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; class=&amp;quot;org.springframework.ldap.core.support.LdapContextSource&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &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;gt; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;urls&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;list&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;value&amp;gt;ldap://my.ldap.server&amp;lt;/value&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/list&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;/property&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;userDn&amp;quot; value=&amp;quot;uid=user,ou=a,ou=b,ou=c,ou=X,o=Y,o=Z&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;password&amp;quot; value=&amp;quot;pass&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;baseEnvironmentProperties&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;map&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;entry key=&amp;quot;java.naming.security.authentication&amp;quot; 
&lt;br&gt;&amp;gt; value=&amp;quot;simple&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/map&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;/property&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/bean&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; and
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;property name=&amp;quot;authenticationHandlers&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;list&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;bean 
&lt;br&gt;&amp;gt; class=&amp;quot;org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler&amp;quot; 
&lt;br&gt;&amp;gt; p:httpClient-ref=&amp;quot;httpClient&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;bean 
&lt;br&gt;&amp;gt; class=&amp;quot;org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler&amp;quot; &amp;gt;
&lt;br&gt;&amp;gt; &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,o=Y&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt; &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;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/bean&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;/list&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/property&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; is that I still get kicked out when I try to authenticate with CAS on 
&lt;br&gt;&amp;gt; moodle. Just to summarize:
&lt;br&gt;&amp;gt; - I activated CAS in the Authentication settings
&lt;br&gt;&amp;gt; - I moved CAS on top of LDAP and Moodle Network Authentication
&lt;br&gt;&amp;gt; - Logged out
&lt;br&gt;&amp;gt; - clicked on Login, entered a username (in this case &amp;quot;user&amp;quot; itself, as 
&lt;br&gt;&amp;gt; given the execution of ldapsearch it should work).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any idea?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Giuseppe
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Ryan Fox wrote:
&lt;br&gt;&amp;gt;&amp;gt; Sorry... now that I've read more of the thread, I can offer more help. &amp;nbsp;Funny how that works.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The err=32 means that the dn you are binding with doesn't exist. &amp;nbsp;If you look, that is the uid=user,ou=X,o=Y,o=Z.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; First of all, I discovered I was being silly, using a wrong user. Only
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; the Directory Manager is allowed to search ldap in my current
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; configuration, so I managed to get info for &amp;quot;username&amp;quot; running this
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; command:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; You need 
&lt;br&gt;&amp;gt;&amp;gt; ldapsearch -H ldap://my.ldap.server -x -Z -b ou=X,o=Y,o=Z -D &amp;quot;uid=user,ou=X,o=Y,o=Z&amp;quot; -W uid=user
&lt;br&gt;&amp;gt;&amp;gt; to succeed. &amp;nbsp;I can't tell from your e-mail if it will or not, as I don't know what ACL's you have on your ldap. &amp;nbsp;The FastBindLdapAuthenticationHandler binds to your ldap as the user, and uses the result (success/error) to judge the validity of the credentials. The ldapsearch above is a good analogue for that. &amp;nbsp;Once that works, CAS auth should work (or at least progress farther). &amp;nbsp;:)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Ryan
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ----- &amp;quot;Giuseppe Sollazzo&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25908683&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gsollazz@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; The ldapsearch tool (provided by ldap-utils package on Debian) is
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; invaluable for diagnosing LDAP bind problems. &amp;nbsp;Execute the following
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; command which attempts to bind as the user above:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ldapsearch -H ldap://your.ldap.host -x -Z -b ou=X,o=Y,o=Z -D
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; uid=username,ou=X,o=Y,o=Z -W uid=user
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Omit the -Z argument if you use an ldaps URL (SSL) to talk to your
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; LDAP host.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi Marvin,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; your help is being amazingly invaluable!
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; First of all, I discovered I was being silly, using a wrong user. Only
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; the Directory Manager is allowed to search ldap in my current
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; configuration, so I managed to get info for &amp;quot;username&amp;quot; running this
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; command:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ldapsearch -H ldap://my.ldap.server -x -Z -b ou=X,o=Y,o=Z -D
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;quot;cn=Directory Manager&amp;quot; -W uid=user
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; So I adapted the deployerConfigContext.xml accordingly:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;bean id=&amp;quot;contextSource&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; class=&amp;quot;org.springframework.ldap.core.support.LdapContextSource&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;property name=&amp;quot;pooled&amp;quot; value=&amp;quot;true&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;property name=&amp;quot;urls&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;list&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;value&amp;gt;ldap://my.ldap.server&amp;lt;/value&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;/list&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;/property&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;property name=&amp;quot;userDn&amp;quot; value=&amp;quot;cn=Directory Manager&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;property name=&amp;quot;password&amp;quot; value=&amp;quot;HISPASSWORD&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;property name=&amp;quot;baseEnvironmentProperties&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;map&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;entry key=&amp;quot;java.naming.security.authentication&amp;quot; value=&amp;quot;simple&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;/map&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;/property&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;/bean&amp;gt; and
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;bean id=&amp;quot;authenticationManager&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; class=&amp;quot;org.jasig.cas.authentication.AuthenticationManagerImpl&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; [...]
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;property name=&amp;quot;authenticationHandlers&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;list&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;bean
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; class=&amp;quot;org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; p:httpClient-ref=&amp;quot;httpClient&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;bean
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; class=&amp;quot;org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;property name=&amp;quot;filter&amp;quot; value=&amp;quot;uid=%u,ou=X,o=Y,o=Z&amp;quot; /&amp;gt; // [I also
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; tried with username=%u, as it's called in our ldap]
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;property name=&amp;quot;contextSource&amp;quot; ref=&amp;quot;contextSource&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;/bean&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;/list&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;/property&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; [...]
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;/bind&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; The result when I try to authenticate with username &amp;quot;user&amp;quot; is always
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; as follows:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; [15/Oct/2009:10:43:11 +0100] conn=374073 op=0 msgId=1 - BIND
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; dn=&amp;quot;username=user,ou=people,o=sghms.ac.uk,o=sghms.ac.uk&amp;quot; method=128
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; version=3
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; [15/Oct/2009:10:43:11 +0100] conn=374073 op=0 msgId=1 - RESULT err=32
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; tag=97 nentries=0 etime=0
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; (or uid=... in place of username)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I'm wondering if I'm getting something wrong elsewhere in the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; deployerConfigContext.xml?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Thanks again for your help,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Giuseppe
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Giuseppe Sollazzo
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Systems Developer / Administrator
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Computing Services
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; St. George's, University of London --
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25908683&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25908683&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rfox@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; To unsubscribe, change settings or access archives, see
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; Giuseppe Sollazzo
&lt;br&gt;&amp;gt; Systems Developer / Administrator
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Computing Services
&lt;br&gt;&amp;gt; St. George's, University of London
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25908683&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25908683&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gsollazz@...&lt;/a&gt;
&lt;br&gt;&amp;gt; To unsubscribe, change settings or access archives, see &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Giuseppe Sollazzo
&lt;br&gt;Systems Developer / Administrator
&lt;br&gt;&lt;br&gt;Computing Services
&lt;br&gt;St. George's, University of London
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25908683&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25908683&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, change settings or access archives, see &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/cas%2Bldap--beginner%27s---problem-tp25888126p25908683.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25908632</id>
	<title>Re: cas+ldap [beginner's?] problem</title>
	<published>2009-10-15T06:28:08Z</published>
	<updated>2009-10-15T06:28:08Z</updated>
	<author>
		<name>Marvin Addison</name>
	</author>
	<content type="html">Can you repost this on a new thread? &amp;nbsp;I can see we're muddying the
&lt;br&gt;waters on solving this LDAP auth problem.
&lt;br&gt;&lt;br&gt;M
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25908632&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25908632&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, change settings or access archives, see &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/cas%2Bldap--beginner%27s---problem-tp25888126p25908632.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25908508</id>
	<title>Re: cas+ldap [beginner's?] problem</title>
	<published>2009-10-15T06:19:12Z</published>
	<updated>2009-10-15T06:19:12Z</updated>
	<author>
		<name>Giuseppe Sollazzo-2</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html;charset=UTF-8&quot; http-equiv=&quot;Content-Type&quot;&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
Hi Ryan,&lt;br&gt;
yes the way I get it to work is by giving the fully qualified id&lt;br&gt;
&lt;tt&gt;&lt;br&gt;
ldapsearch -H ldap://my.ldap.server -x -Z -b o=Y -D
&quot;uid=user,ou=a,ou=b,ou=c,ou=X,o=Y,o=Z&quot; -W uid=user&lt;/tt&gt;&lt;br&gt;
&lt;br&gt;
Here was my misunderstanding: there is a need for fully qualified
identifier for the user who binds, not for the one we're searching (yep
- I know it wouldn't make sense otherwise but it was not extremely
clear to me).&lt;br&gt;
&lt;br&gt;
So, what happens now is that by adjusting the xml to look like&lt;br&gt;
&lt;br&gt;
&lt;tt&gt;&amp;lt;bean id=&quot;contextSource&quot;  &lt;br&gt;
    class=&quot;org.springframework.ldap.core.support.LdapContextSource&quot;&amp;gt;&lt;br&gt;
    &amp;lt;property name=&quot;pooled&quot; value=&quot;true&quot;/&amp;gt;&lt;br&gt;
    &amp;lt;property name=&quot;urls&quot;&amp;gt;&lt;br&gt;
        &amp;lt;list&amp;gt;&lt;br&gt;
            &amp;lt;value&amp;gt;ldap://my.ldap.server&amp;lt;/value&amp;gt;&lt;br&gt;
        &amp;lt;/list&amp;gt;&lt;br&gt;
    &amp;lt;/property&amp;gt;&lt;br&gt;
    &amp;lt;property name=&quot;userDn&quot;
value=&quot;uid=user,ou=a,ou=b,ou=c,ou=X,o=Y,o=Z&quot;/&amp;gt;&lt;br&gt;
    &amp;lt;property name=&quot;password&quot; value=&quot;pass&quot;/&amp;gt;&lt;br&gt;
    &amp;lt;property name=&quot;baseEnvironmentProperties&quot;&amp;gt;&lt;br&gt;
        &amp;lt;map&amp;gt;&lt;br&gt;
            &amp;lt;entry key=&quot;java.naming.security.authentication&quot;
value=&quot;simple&quot; /&amp;gt;&lt;br&gt;
        &amp;lt;/map&amp;gt;&lt;br&gt;
    &amp;lt;/property&amp;gt;&lt;br&gt;
&amp;lt;/bean&amp;gt;&lt;/tt&gt;&lt;br&gt;
&lt;br&gt;
and&lt;tt&gt;&lt;br&gt;
&lt;br&gt;
&amp;lt;property name=&quot;authenticationHandlers&quot;&amp;gt;&lt;br&gt;
    &amp;lt;list&amp;gt;&lt;br&gt;
        &amp;lt;bean
class=&quot;org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler&quot;
p:httpClient-ref=&quot;httpClient&quot; /&amp;gt;&lt;br&gt;
        &amp;lt;bean
class=&quot;org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler&quot;
&amp;gt;&lt;br&gt;
            &amp;lt;property name=&quot;filter&quot; value=&quot;uid=%u,o=Y&quot; /&amp;gt;&lt;br&gt;
            &amp;lt;property name=&quot;contextSource&quot; ref=&quot;contextSource&quot; /&amp;gt;&lt;br&gt;
        &amp;lt;/bean&amp;gt;&lt;br&gt;
    &amp;lt;/list&amp;gt;&lt;br&gt;
&amp;lt;/property&amp;gt;&lt;/tt&gt;&lt;br&gt;
&lt;br&gt;
is that I still get kicked out when I try to authenticate with CAS on
moodle. Just to summarize:&lt;br&gt;
- I activated CAS in the Authentication settings&lt;br&gt;
- I moved CAS on top of LDAP and Moodle Network Authentication&lt;br&gt;
- Logged out&lt;br&gt;
- clicked on Login, entered a username (in this case &quot;user&quot; itself, as
given the execution of ldapsearch it should work).&lt;br&gt;
&lt;br&gt;
Any idea?&lt;br&gt;
&lt;br&gt;
Thanks, &lt;br&gt;
Giuseppe&lt;br&gt;
&lt;br&gt;
Ryan Fox wrote:
&lt;blockquote cite=&quot;mid:10600200.8741255610764910.JavaMail.rfox@rfox-maclt.fs.findlay.edu&quot; type=&quot;cite&quot;&gt;
  &lt;pre wrap=&quot;&quot;&gt;Sorry... now that I've read more of the thread, I can offer more help.  Funny how that works.

The err=32 means that the dn you are binding with doesn't exist.  If you look, that is the uid=user,ou=X,o=Y,o=Z.

  &lt;/pre&gt;
  &lt;blockquote type=&quot;cite&quot;&gt;
    &lt;pre wrap=&quot;&quot;&gt;First of all, I discovered I was being silly, using a wrong user. Only
the Directory Manager is allowed to search ldap in my current
configuration, so I managed to get info for &quot;username&quot; running this
command:
    &lt;/pre&gt;
  &lt;/blockquote&gt;
  &lt;pre wrap=&quot;&quot;&gt;&lt;!----&gt;
You need 
ldapsearch -H ldap://my.ldap.server -x -Z -b ou=X,o=Y,o=Z -D &quot;uid=user,ou=X,o=Y,o=Z&quot; -W uid=user
to succeed.  I can't tell from your e-mail if it will or not, as I don't know what ACL's you have on your ldap.  The FastBindLdapAuthenticationHandler binds to your ldap as the user, and uses the result (success/error) to judge the validity of the credentials. The ldapsearch above is a good analogue for that.  Once that works, CAS auth should work (or at least progress farther).  :)

Ryan


----- &quot;Giuseppe Sollazzo&quot; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25908508&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gsollazz@...&lt;/a&gt; wrote:

  &lt;/pre&gt;
  &lt;blockquote type=&quot;cite&quot;&gt;
    &lt;pre wrap=&quot;&quot;&gt;The ldapsearch tool (provided by ldap-utils package on Debian) is
invaluable for diagnosing LDAP bind problems.  Execute the following
command which attempts to bind as the user above:

ldapsearch -H ldap://your.ldap.host -x -Z -b ou=X,o=Y,o=Z -D
uid=username,ou=X,o=Y,o=Z -W uid=user

Omit the -Z argument if you use an ldaps URL (SSL) to talk to your
LDAP host.
Hi Marvin,
your help is being amazingly invaluable!

First of all, I discovered I was being silly, using a wrong user. Only
the Directory Manager is allowed to search ldap in my current
configuration, so I managed to get info for &quot;username&quot; running this
command:

ldapsearch -H ldap://my.ldap.server -x -Z -b ou=X,o=Y,o=Z -D
&quot;cn=Directory Manager&quot; -W uid=user
So I adapted the deployerConfigContext.xml accordingly:

&amp;lt;bean id=&quot;contextSource&quot;
class=&quot;org.springframework.ldap.core.support.LdapContextSource&quot;&amp;gt;
&amp;lt;property name=&quot;pooled&quot; value=&quot;true&quot;/&amp;gt;
&amp;lt;property name=&quot;urls&quot;&amp;gt;
&amp;lt;list&amp;gt;
&amp;lt;value&amp;gt;ldap://my.ldap.server&amp;lt;/value&amp;gt;
&amp;lt;/list&amp;gt;
&amp;lt;/property&amp;gt;
&amp;lt;property name=&quot;userDn&quot; value=&quot;cn=Directory Manager&quot;/&amp;gt;
&amp;lt;property name=&quot;password&quot; value=&quot;HISPASSWORD&quot;/&amp;gt;
&amp;lt;property name=&quot;baseEnvironmentProperties&quot;&amp;gt;
&amp;lt;map&amp;gt;
&amp;lt;entry key=&quot;java.naming.security.authentication&quot; value=&quot;simple&quot; /&amp;gt;
&amp;lt;/map&amp;gt;
&amp;lt;/property&amp;gt;
&amp;lt;/bean&amp;gt; and

&amp;lt;bean id=&quot;authenticationManager&quot;
class=&quot;org.jasig.cas.authentication.AuthenticationManagerImpl&quot;&amp;gt;
[...]
&amp;lt;property name=&quot;authenticationHandlers&quot;&amp;gt;
&amp;lt;list&amp;gt;
&amp;lt;bean
class=&quot;org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler&quot;
p:httpClient-ref=&quot;httpClient&quot; /&amp;gt;
&amp;lt;bean
class=&quot;org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler&quot;
    &lt;/pre&gt;
    &lt;pre wrap=&quot;&quot;&gt;&amp;lt;property name=&quot;filter&quot; value=&quot;uid=%u,ou=X,o=Y,o=Z&quot; /&amp;gt; // [I also
tried with username=%u, as it's called in our ldap]
&amp;lt;property name=&quot;contextSource&quot; ref=&quot;contextSource&quot; /&amp;gt;
&amp;lt;/bean&amp;gt;

&amp;lt;/list&amp;gt;
&amp;lt;/property&amp;gt;
[...]
&amp;lt;/bind&amp;gt;

The result when I try to authenticate with username &quot;user&quot; is always
as follows:

[15/Oct/2009:10:43:11 +0100] conn=374073 op=0 msgId=1 - BIND
dn=&quot;username=user,ou=people,o=sghms.ac.uk,o=sghms.ac.uk&quot; method=128
version=3
[15/Oct/2009:10:43:11 +0100] conn=374073 op=0 msgId=1 - RESULT err=32
tag=97 nentries=0 etime=0

(or uid=... in place of username)

I'm wondering if I'm getting something wrong elsewhere in the
deployerConfigContext.xml?

Thanks again for your help,
Giuseppe

--
Giuseppe Sollazzo
Systems Developer / Administrator

Computing Services
St. George's, University of London --
You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25908508&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as:
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25908508&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rfox@...&lt;/a&gt;
To unsubscribe, change settings or access archives, see
&lt;a class=&quot;moz-txt-link-freetext&quot; href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;
    &lt;/pre&gt;
  &lt;/blockquote&gt;
  &lt;pre wrap=&quot;&quot;&gt;&lt;!----&gt;
  &lt;/pre&gt;
&lt;/blockquote&gt;
&lt;br&gt;
&lt;br&gt;
&lt;pre class=&quot;moz-signature&quot; cols=&quot;72&quot;&gt;-- 
Giuseppe Sollazzo
Systems Developer / Administrator

Computing Services
St. George's, University of London
&lt;/pre&gt;

&lt;pre&gt;-- &lt;br /&gt;You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25908508&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25908508&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;&lt;br /&gt;To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/pre&gt;
&lt;/BODY&gt;
&lt;/html&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/cas%2Bldap--beginner%27s---problem-tp25888126p25908508.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25907944</id>
	<title>Re: cas+ldap [beginner's?] problem</title>
	<published>2009-10-15T05:46:09Z</published>
	<updated>2009-10-15T05:46:09Z</updated>
	<author>
		<name>Ryan Fox</name>
	</author>
	<content type="html">Sorry... now that I've read more of the thread, I can offer more help. &amp;nbsp;Funny how that works.
&lt;br&gt;&lt;br&gt;The err=32 means that the dn you are binding with doesn't exist. &amp;nbsp;If you look, that is the uid=user,ou=X,o=Y,o=Z.
&lt;br&gt;&lt;br&gt;&amp;gt; First of all, I discovered I was being silly, using a wrong user. Only
&lt;br&gt;&amp;gt; the Directory Manager is allowed to search ldap in my current
&lt;br&gt;&amp;gt; configuration, so I managed to get info for &amp;quot;username&amp;quot; running this
&lt;br&gt;&amp;gt; command:
&lt;br&gt;&lt;br&gt;You need 
&lt;br&gt;ldapsearch -H ldap://my.ldap.server -x -Z -b ou=X,o=Y,o=Z -D &amp;quot;uid=user,ou=X,o=Y,o=Z&amp;quot; -W uid=user
&lt;br&gt;to succeed. &amp;nbsp;I can't tell from your e-mail if it will or not, as I don't know what ACL's you have on your ldap. &amp;nbsp;The FastBindLdapAuthenticationHandler binds to your ldap as the user, and uses the result (success/error) to judge the validity of the credentials. The ldapsearch above is a good analogue for that. &amp;nbsp;Once that works, CAS auth should work (or at least progress farther). &amp;nbsp;:)
&lt;br&gt;&lt;br&gt;Ryan
&lt;br&gt;&lt;br&gt;&lt;br&gt;----- &amp;quot;Giuseppe Sollazzo&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25907944&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gsollazz@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; The ldapsearch tool (provided by ldap-utils package on Debian) is
&lt;br&gt;&amp;gt; invaluable for diagnosing LDAP bind problems. &amp;nbsp;Execute the following
&lt;br&gt;&amp;gt; command which attempts to bind as the user above:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ldapsearch -H ldap://your.ldap.host -x -Z -b ou=X,o=Y,o=Z -D
&lt;br&gt;&amp;gt; uid=username,ou=X,o=Y,o=Z -W uid=user
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Omit the -Z argument if you use an ldaps URL (SSL) to talk to your
&lt;br&gt;&amp;gt; LDAP host.
&lt;br&gt;&amp;gt; Hi Marvin,
&lt;br&gt;&amp;gt; your help is being amazingly invaluable!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; First of all, I discovered I was being silly, using a wrong user. Only
&lt;br&gt;&amp;gt; the Directory Manager is allowed to search ldap in my current
&lt;br&gt;&amp;gt; configuration, so I managed to get info for &amp;quot;username&amp;quot; running this
&lt;br&gt;&amp;gt; command:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ldapsearch -H ldap://my.ldap.server -x -Z -b ou=X,o=Y,o=Z -D
&lt;br&gt;&amp;gt; &amp;quot;cn=Directory Manager&amp;quot; -W uid=user
&lt;br&gt;&amp;gt; So I adapted the deployerConfigContext.xml accordingly:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;lt;bean id=&amp;quot;contextSource&amp;quot;
&lt;br&gt;&amp;gt; class=&amp;quot;org.springframework.ldap.core.support.LdapContextSource&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;property name=&amp;quot;pooled&amp;quot; value=&amp;quot;true&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;property name=&amp;quot;urls&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;list&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;value&amp;gt;ldap://my.ldap.server&amp;lt;/value&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/list&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/property&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;property name=&amp;quot;userDn&amp;quot; value=&amp;quot;cn=Directory Manager&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;property name=&amp;quot;password&amp;quot; value=&amp;quot;HISPASSWORD&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;property name=&amp;quot;baseEnvironmentProperties&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;map&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;entry key=&amp;quot;java.naming.security.authentication&amp;quot; value=&amp;quot;simple&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/map&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/property&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/bean&amp;gt; and
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;lt;bean id=&amp;quot;authenticationManager&amp;quot;
&lt;br&gt;&amp;gt; class=&amp;quot;org.jasig.cas.authentication.AuthenticationManagerImpl&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; [...]
&lt;br&gt;&amp;gt; &amp;lt;property name=&amp;quot;authenticationHandlers&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;list&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;bean
&lt;br&gt;&amp;gt; class=&amp;quot;org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler&amp;quot;
&lt;br&gt;&amp;gt; p:httpClient-ref=&amp;quot;httpClient&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;bean
&lt;br&gt;&amp;gt; class=&amp;quot;org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;property name=&amp;quot;filter&amp;quot; value=&amp;quot;uid=%u,ou=X,o=Y,o=Z&amp;quot; /&amp;gt; // [I also
&lt;br&gt;&amp;gt; tried with username=%u, as it's called in our ldap]
&lt;br&gt;&amp;gt; &amp;lt;property name=&amp;quot;contextSource&amp;quot; ref=&amp;quot;contextSource&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/bean&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;lt;/list&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/property&amp;gt;
&lt;br&gt;&amp;gt; [...]
&lt;br&gt;&amp;gt; &amp;lt;/bind&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The result when I try to authenticate with username &amp;quot;user&amp;quot; is always
&lt;br&gt;&amp;gt; as follows:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; [15/Oct/2009:10:43:11 +0100] conn=374073 op=0 msgId=1 - BIND
&lt;br&gt;&amp;gt; dn=&amp;quot;username=user,ou=people,o=sghms.ac.uk,o=sghms.ac.uk&amp;quot; method=128
&lt;br&gt;&amp;gt; version=3
&lt;br&gt;&amp;gt; [15/Oct/2009:10:43:11 +0100] conn=374073 op=0 msgId=1 - RESULT err=32
&lt;br&gt;&amp;gt; tag=97 nentries=0 etime=0
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; (or uid=... in place of username)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm wondering if I'm getting something wrong elsewhere in the
&lt;br&gt;&amp;gt; deployerConfigContext.xml?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks again for your help,
&lt;br&gt;&amp;gt; Giuseppe
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Giuseppe Sollazzo
&lt;br&gt;&amp;gt; Systems Developer / Administrator
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Computing Services
&lt;br&gt;&amp;gt; St. George's, University of London --
&lt;br&gt;&amp;gt; You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25907944&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25907944&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rfox@...&lt;/a&gt;
&lt;br&gt;&amp;gt; To unsubscribe, change settings or access archives, see
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;br&gt;Ryan Fox
&lt;br&gt;The University of Findlay
&lt;br&gt;1000 N Main St - Findlay, OH 45840
&lt;br&gt;419-434-4348
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25907944&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25907944&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, change settings or access archives, see &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/cas%2Bldap--beginner%27s---problem-tp25888126p25907944.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25907907</id>
	<title>CAS SSO with Multiple applications running on remote systems</title>
	<published>2009-10-15T05:43:15Z</published>
	<updated>2009-10-15T05:43:15Z</updated>
	<author>
		<name>Albert EINstEIN</name>
	</author>
	<content type="html">Hello Folks,
&lt;br&gt;&lt;br&gt;I am new to CAS. We have a requirement to provide SSO for remote applications.
&lt;br&gt;&lt;br&gt;I am explaining the requirement i.e., 
&lt;br&gt;&lt;br&gt;&lt;b&gt;Scenario: &lt;/b&gt;There are three Systems ie.., CAS &amp;nbsp;is running on System_A, ApplicationOne is running on System_B, and ApplicationeTwo is running on System_C. &amp;nbsp;
&lt;br&gt;&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; CAS is running in JBoss 4.0.5 on System_A. We have provided the self signed certificate for Jboss application server by referring the CAS User Manaual.We have configured the SSO in JBoss server i.e., server.xml. &amp;nbsp;We have configured the CAS with LDAP.If multiple applications are running in only one server i.e.,(JBoss 4.0.5) then SSO is working properly without any issues. 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue 1: &amp;nbsp;When we are accessing ApplicationOne i.e., on System_B , we are successfully authenticating with CAS. We have provided a link to access the ApplicationTwo to check the SSO in ApplicationOne. When I am trying to access ApplicationTwo again it is redirecting to CAS Login Form.
&lt;br&gt;&lt;br&gt;We are using Spring webflow,Spring security, LDAP in our application. &amp;nbsp; &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;Please help us. It is urgent. 
&lt;br&gt;&lt;br&gt;Any help would be appreciated...........................
&lt;br&gt;&lt;br&gt;Thanks in advance.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&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;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&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; 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; </content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/CAS-SSO-with-Multiple-applications-running-on-remote-systems-tp25907907p25907907.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25907792</id>
	<title>Re: cas+ldap [beginner's?] problem</title>
	<published>2009-10-15T05:36:52Z</published>
	<updated>2009-10-15T05:36:52Z</updated>
	<author>
		<name>Ryan Fox</name>
	</author>
	<content type="html">&lt;br&gt;----- &amp;quot;Giuseppe Sollazzo&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25907792&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gsollazz@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Giuseppe Sollazzo wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; The result when I try to authenticate with username &amp;quot;user&amp;quot; is always
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; as follows:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; [15/Oct/2009:10:43:11 +0100] conn=374073 op=0 msgId=1 - BIND 
&lt;br&gt;&amp;gt; &amp;gt; dn=&amp;quot;username=user,ou=people,o=sghms.ac.uk,o=sghms.ac.uk&amp;quot; method=128
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; version=3
&lt;br&gt;&amp;gt; &amp;gt; [15/Oct/2009:10:43:11 +0100] conn=374073 op=0 msgId=1 - RESULT
&lt;br&gt;&amp;gt; err=32 
&lt;br&gt;&amp;gt; &amp;gt; tag=97 nentries=0 etime=0
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Erm..of course I left the original output of our domain, where it
&lt;br&gt;&amp;gt; should 
&lt;br&gt;&amp;gt; have been dn=&amp;quot;username=user,ou=X,o=Y,o=Z&amp;quot;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;LDAP err=32 means the object couldn't be found. &amp;nbsp;That is, the dn you are binding with doesn't exist.
&lt;br&gt;&lt;br&gt;Ryan
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25907792&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25907792&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, change settings or access archives, see &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/cas%2Bldap--beginner%27s---problem-tp25888126p25907792.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25905869</id>
	<title>Re: cas+ldap [beginner's?] problem</title>
	<published>2009-10-15T02:51:47Z</published>
	<updated>2009-10-15T02:51:47Z</updated>
	<author>
		<name>Giuseppe Sollazzo-2</name>
	</author>
	<content type="html">Giuseppe Sollazzo wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The result when I try to authenticate with username &amp;quot;user&amp;quot; is always 
&lt;br&gt;&amp;gt; as follows:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [15/Oct/2009:10:43:11 +0100] conn=374073 op=0 msgId=1 - BIND 
&lt;br&gt;&amp;gt; dn=&amp;quot;username=user,ou=people,o=sghms.ac.uk,o=sghms.ac.uk&amp;quot; method=128 
&lt;br&gt;&amp;gt; version=3
&lt;br&gt;&amp;gt; [15/Oct/2009:10:43:11 +0100] conn=374073 op=0 msgId=1 - RESULT err=32 
&lt;br&gt;&amp;gt; tag=97 nentries=0 etime=0
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Erm..of course I left the original output of our domain, where it should 
&lt;br&gt;have been dn=&amp;quot;username=user,ou=X,o=Y,o=Z&amp;quot;
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Giuseppe Sollazzo
&lt;br&gt;Systems Developer / Administrator
&lt;br&gt;&lt;br&gt;Computing Services
&lt;br&gt;St. George's, University of London
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25905869&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25905869&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, change settings or access archives, see &lt;a href=&quot;http://www.ja-sig.org/wiki/display/JSG/cas-user&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/cas%2Bldap--beginner%27s---problem-tp25888126p25905869.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25905797</id>
	<title>Re: cas+ldap [beginner's?] problem</title>
	<published>2009-10-15T02:47:47Z</published>
	<updated>2009-10-15T02:47:47Z</updated>
	<author>
		<name>Giuseppe Sollazzo-2</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html;charset=ISO-8859-1&quot; http-equiv=&quot;Content-Type&quot;&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
&lt;!----&gt;&lt;br&gt;
&lt;blockquote cite=&quot;mid:6bb3d46a0910140751n16d7b5fendb0b339ad91eeccd@mail.gmail.com&quot; type=&quot;cite&quot;&gt;
  &lt;pre wrap=&quot;&quot;&gt;The ldapsearch tool (provided by ldap-utils package on Debian) is
invaluable for diagnosing LDAP bind problems.  Execute the following
command which attempts to bind as the user above:

ldapsearch -H ldap://your.ldap.host -x -Z -b ou=X,o=Y,o=Z -D
uid=username,ou=X,o=Y,o=Z -W uid=user

Omit the -Z argument if you use an ldaps URL (SSL) to talk to your LDAP host.

  &lt;/pre&gt;
&lt;/blockquote&gt;
&lt;br&gt;
Hi Marvin, &lt;br&gt;
your help is being amazingly invaluable!&lt;br&gt;
&lt;br&gt;
First of all, I discovered I was being silly, using a wrong user. Only
the Directory Manager is allowed to search ldap in my current
configuration, so I managed to get info for &quot;username&quot; running this
command:&lt;br&gt;
&lt;br&gt;
&lt;pre&gt;ldapsearch -H ldap://my.ldap.server -x -Z -b ou=X,o=Y,o=Z -D &quot;cn=Directory Manager&quot; -W uid=user&lt;/pre&gt;
&lt;br&gt;
So I adapted the deployerConfigContext.xml accordingly:&lt;br&gt;
&lt;br&gt;
&lt;tt&gt;&amp;lt;bean id=&quot;contextSource&quot;&amp;nbsp; &lt;/tt&gt;&lt;br&gt;
&lt;tt&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;
class=&quot;org.springframework.ldap.core.support.LdapContextSource&quot;&amp;gt;&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name=&quot;pooled&quot; value=&quot;true&quot;/&amp;gt;&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name=&quot;urls&quot;&amp;gt;&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;&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;/tt&gt;&lt;br&gt;
&lt;tt&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;lt;value&amp;gt;ldap://my.ldap.server&amp;lt;/value&amp;gt;&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;&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;/tt&gt;&lt;br&gt;
&lt;tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name=&quot;userDn&quot; value=&quot;cn=Directory
Manager&quot;/&amp;gt;&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name=&quot;password&quot; value=&quot;HISPASSWORD&quot;/&amp;gt;&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name=&quot;baseEnvironmentProperties&quot;&amp;gt;&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;&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;/tt&gt;&lt;br&gt;
&lt;tt&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;lt;entry key=&quot;java.naming.security.authentication&quot;
value=&quot;simple&quot; /&amp;gt;&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;&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;/tt&gt;&lt;br&gt;
&lt;tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;&amp;lt;/bean&amp;gt;&lt;/tt&gt;
&lt;pre&gt;&lt;/pre&gt;
and&lt;br&gt;
&lt;br&gt;
&lt;tt&gt;&amp;lt;bean id=&quot;authenticationManager&quot;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; class=&quot;org.jasig.cas.authentication.AuthenticationManagerImpl&quot;&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; [...]&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name=&quot;authenticationHandlers&quot;&amp;gt;&lt;br&gt;
&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;lt;bean
class=&quot;org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler&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; p:httpClient-ref=&quot;httpClient&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;lt;bean
class=&quot;org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler&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;lt;property name=&quot;filter&quot; value=&quot;uid=%u,ou=X,o=Y,o=Z&quot;
/&amp;gt; // [I also tried with username=%u, as it's called in our ldap]&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;lt;property name=&quot;contextSource&quot; ref=&quot;contextSource&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;lt;/bean&amp;gt;&lt;br&gt;
&lt;br&gt;
&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;lt;/property&amp;gt;&lt;br&gt;
[...]&lt;br&gt;
&amp;lt;/bind&amp;gt;&lt;/tt&gt;&lt;br&gt;
&lt;br&gt;
The result when I try to authenticate with username &quot;user&quot; is always as
follows:&lt;br&gt;
&lt;br&gt;
&lt;tt&gt;[15/Oct/2009:10:43:11 +0100] conn=374073 op=0 msgId=1 - BIND
dn=&quot;username=user,ou=people,o=sghms.ac.uk,o=sghms.ac.uk&quot; method=128
version=3&lt;br&gt;
[15/Oct/2009:10:43:11 +0100] conn=374073 op=0 msgId=1 - RESULT err=32
tag=97 nentries=0 etime=0&lt;/tt&gt;&lt;br&gt;
&lt;br&gt;
(or uid=... in place of username)&lt;br&gt;
&lt;br&gt;
I'm wondering if I'm getting something wrong elsewhere in the
deployerConfigContext.xml?&lt;br&gt;
&lt;br&gt;
Thanks again for your help,&lt;br&gt;
Giuseppe&lt;br&gt;
&lt;br&gt;
&lt;pre class=&quot;moz-signature&quot; cols=&quot;72&quot;&gt;-- 
Giuseppe Sollazzo
Systems Developer / Administrator

Computing Services
St. George's, University of London
&lt;/pre&gt;

&lt;pre&gt;-- &lt;br /&gt;You are currently subscribed to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25905797&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cas-user@...&lt;/a&gt; as: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25905797&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lists@...&lt;/a&gt;&lt;br /&gt;To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user&lt;/pre&gt;
&lt;/BODY&gt;
&lt;/html&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/cas%2Bldap--beginner%27s---problem-tp25888126p25905797.html" />
</entry>

</feed>
