[cas-dev] CAS 3.1-M1 SAMLException

Marvin Addison serac at vt.edu
Fri Feb 9 12:00:55 EST 2007


Scott,

Don't know if you've checked in a fix for this yet, but here's my $0.02.
Replace the helper method
AbstractUrlBasedTicketValidator.getEncodedService(Service service) with
a more generic one:

AbstractUrlBasedTicketValidator.urlEncode(String s).  Then the call in
Saml10TicketValidator.constructURL would look like the following:

return getCasServerUrl() 
	+ "/samlValidate?SAMLart=" + urlEncode(ticketId) 
	+ "&TARGET=" + urlEncode(service.getId());

Regards,
Marvin


More information about the cas-dev mailing list