[cas-dev] CAS 3.1-M1 SAMLException

Marvin Addison serac at vt.edu
Mon Feb 5 17:04:34 EST 2007


I have deployed the 3.1-M1 client and server in a test environment to
test passing attributes in SAML between client and server.  I have
configured the client to validate at the samlValidate URL by configuring
the Saml10TicketValidator in the client web.xml.  I can authenticate
successfully, but it throws an exception on the client:

org.opensaml.SAMLException: Success

I turned on logging for the org.jasig.cas.client package to see the SAML
message, which added to the confusion:

<?xml version="1.0" encoding="UTF-8"?><Response
xmlns="urn:oasis:names:tc:SAML:1.0:protocol"
xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion"
xmlns:samlp="urn:oasis:names:tc:SAML:1.0:protocol"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
InResponseTo="ST-11-3c7LaxsTAJPViKG7TGIiwDTPxmdyrhFgyC4-20"
IssueInstant="2007-02-05T21:36:47.639Z" MajorVersion="1"
MinorVersion="1" Recipient="http://localhost:8080/pidgen/"
ResponseID="_0c6767075d2ba5bb782152c2747beec2"><Status><StatusCode
Value="samlp:Responder"></StatusCode><StatusMessage>Success</StatusMessage></Status></Response>

The response appears to indicate a successful ticket validation, but it
appears to be SAML 1.0.  I was expecting SAML 1.1 containing an
AuthenticationStatement element with information about the auth method.

A few questions about this:

- Is the response above what I'm supposed to be seeing for a successful
SAML ticket validation?  
- If so, where is the information about auth method?  
- Suggestions to resolve the SAMLException I'm getting?

Thanks,
Marvin Addison
-- 
Applications Programming Analyst
Collaborative Technologies Unit
Virginia Tech



More information about the cas-dev mailing list