Yes Sir. the user is in my AD.
If I just browse to the cas server (e.g., 
https://shuauth01.sacredheart.edu:8443/cas/login), enter the same username 
and password. I get a proper authentication.
I get the error message when I try redirection.
For example, I browse to 
https://shuauth01.sacredheart.edu:8443/cas/login?service=https%3A%2F%2Fshuauth01.sacredheart.edu%3A8443%2Fmywebapp/
 
This gets me to the cas login page; but upon entering the username and 
password and clicking on login, I am redirected to:
https://shuauth01.sacredheart.edu:8443/mywebapp/?ticket=ST-4-cQ2Pw1U9c9rJgMDMTyR3-cas01.example.org
 
and get the error 500 page.

-Chip 


On Thursday, October 13, 2016 at 3:16:45 PM UTC-4, Patrick Gardella wrote:
>
> The user you are validating has a sAMAccountName in LDAP/AD, correct?
>
> On Thu, Oct 13, 2016 at 2:28 PM, Chip Work <[email protected] 
> <javascript:>> wrote:
>
>> Here is my deployConfigContext.xml file.
>> Thanx for your assistance.
>>
>> -Chip
>>
>> On Thursday, October 13, 2016 at 1:22:09 PM UTC-4, Patrick Gardella wrote:
>>>
>>> Can you post your deployerConfigContext.xml file? Specifically, 
>>> the ldapAuthenticationHandler bean section, if you don't want to post it 
>>> all.
>>>
>>> You are using old instructions.  Take a look at the new instructions at: 
>>>
>>> https://apereo.github.io/cas/4.2.x/installation/Maven-Overlay-Installation.html
>>>
>>> Patrick+
>>>
>>> On Thu, Oct 13, 2016 at 1:08 PM, Chip Work <[email protected] 
>>> <javascript:>> wrote:
>>>
>>>> I am using Tomcat 8 on Centos 7 with Java 8.
>>>> I have loaded the war file built with maven using CAS 4.2.5 including 
>>>> the ldap handler.
>>>> I have loaded the "mywebapp" war file built with maven as suggested in: 
>>>> https://wiki.jasig.org/display/CASC/JA-SIG+Java+Client+Simple+WebApp+Sample
>>>> I start tomcat and do not any significant errors in the catalina.out 
>>>> file or the cas.log file.
>>>> However when I test my cas deployment with the test site I get the 
>>>> following error:
>>>>
>>>> HTTP Status 500 - 
>>>> org.jasig.cas.client.validation.TicketValidationException: No principal 
>>>> was 
>>>> found in the response from the CAS server.
>>>>
>>>> *type* Exception report
>>>>
>>>> *message* *org.jasig.cas.client.validation.TicketValidationException: 
>>>> No principal was found in the response from the CAS server.*
>>>>
>>>> *description* *The server encountered an internal error that prevented 
>>>> it from fulfilling this request.*
>>>>
>>>> *exception*
>>>>
>>>> javax.servlet.ServletException: 
>>>> org.jasig.cas.client.validation.TicketValidationException: No principal 
>>>> was found in the response from the CAS server.
>>>>    
>>>> org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:152)
>>>>
>>>> *root cause*
>>>>
>>>> org.jasig.cas.client.validation.TicketValidationException: No principal 
>>>> was found in the response from the CAS server.
>>>>    
>>>> org.jasig.cas.client.validation.Cas20ServiceTicketValidator.parseResponseFromServer(Cas20ServiceTicketValidator.java:74)
>>>>    
>>>> org.jasig.cas.client.validation.AbstractUrlBasedTicketValidator.validate(AbstractUrlBasedTicketValidator.java:165)
>>>>    
>>>> org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:129)
>>>>  
>>>>
>>>> *note* *The full stack trace of the root cause is available in the 
>>>> Apache Tomcat/8.0.37 logs.*
>>>>
>>>> Pls advice me as to why I might get this message.
>>>> Thanx. 
>>>>
>>>> -- 
>>>> CAS gitter chatroom: https://gitter.im/apereo/cas
>>>> CAS mailing list guidelines: 
>>>> https://apereo.github.io/cas/Mailing-Lists.html
>>>> CAS documentation website: https://apereo.github.io/cas
>>>> CAS project website: https://github.com/apereo/cas
>>>> --- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "CAS Community" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected] <javascript:>.
>>>> To post to this group, send email to [email protected] <javascript:>.
>>>> Visit this group at 
>>>> https://groups.google.com/a/apereo.org/group/cas-user/.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/ddf60f75-96da-4d88-9e90-85c3ded3b955%40apereo.org
>>>>  
>>>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/ddf60f75-96da-4d88-9e90-85c3ded3b955%40apereo.org?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/a/apereo.org/d/optout
>>>> .
>>>>
>>>
>>> -- 
>> CAS gitter chatroom: https://gitter.im/apereo/cas
>> CAS mailing list guidelines: 
>> https://apereo.github.io/cas/Mailing-Lists.html
>> CAS documentation website: https://apereo.github.io/cas
>> CAS project website: https://github.com/apereo/cas
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "CAS Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] <javascript:>.
>> Visit this group at 
>> https://groups.google.com/a/apereo.org/group/cas-user/.
>> To view this discussion on the web visit 
>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/7d406a32-85e2-49b2-9dce-39b558c69a19%40apereo.org
>>  
>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/7d406a32-85e2-49b2-9dce-39b558c69a19%40apereo.org?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/a/apereo.org/d/optout.
>>
>
>

-- 
CAS gitter chatroom: https://gitter.im/apereo/cas
CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
CAS documentation website: https://apereo.github.io/cas
CAS project website: https://github.com/apereo/cas
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/8ec3973d-e55f-4f43-abc0-1696d5ee903e%40apereo.org.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

Reply via email to