Dear Marvin,

Thank you so much for your response!!!!

This information that you are providing is really essential for me. Thank
you.

No, I was not using any CAS client. I was figuring out if I should test the
SAML support using a client or just assume things should be fine and jump
directly to integrate the SAML-aware-application, given the fact that my
new CAS 3.3.1 is working fine using the CAS protocol.

There is another reply to my email by Julien that gave me the key
information to do the SAML testing under Firefox, without having to go for
any "real" client. I have already tested my CAS using these steps, AND IT
IS WORKING FINE :-)))

I will take a look to the CAS Client. Thank you for confirming that the
exception is caused because the parameters have not been properly provided
and not necessarily because of another kind of deeper-error.

Thank you!!!!!!
unai

On Wed, 04 Mar 2009 10:05:58 -0500, Marvin Addison
<[email protected]> wrote:
>> 2009-03-04 14:50:43,318 ERROR
>>
[org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/cas].[cas]]
>> - <Servlet.service() for servlet cas threw exception>
>> java.lang.NullPointerException
>> at
>>
org.jasig.cas.web.view.Saml10FailureResponseView.renderMergedOutputModel(Saml10FailureResponseView.java:38)
>> at
>>
org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:257)
>> at
>>
org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1183)
>> at
>>
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:902)
>> ...
> 
> The error above is caused by failing to meet both of the following
> criteria:
> 
>  1. Request to /samlValidate must have TARGET querystring parameter
>  2. Request body must have properly formed SAML request payload, e.g.
> 
> <SOAP-ENV:Envelope
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";>
> <SOAP-ENV:Header/>
> <SOAP-ENV:Body>
> <samlp:Request
> xmlns:samlp="urn:oasis:names:tc:SAML:1.0:protocol"
> MajorVersion="1" MinorVersion="1"
> RequestID="_192.168.16.51.1024506224022"
> IssueInstant="2002-06-19T17:03:44.022Z">
> <samlp:AssertionArtifact>
>   ST-7-hqNf4nzSOBfHVTacMWVP-cas-dev.middleware.vt.edu
> </samlp:AssertionArtifact>
> </samlp:Request>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> 
> I will assume you're using the Java CAS client 3.1 or better, which is
> the only client that supports SAML.  If it is configured propertly,
> you should be meeting the criteria above.  Have you followed the
> instructions at
> http://www.ja-sig.org/wiki/display/CASC/CAS+Client+for+Java+3.1?
> 
> M

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

Reply via email to