Thanks for the response At first glance it seems to be that. But I've followed this guide to code my php cas client ( https://github.com/Jasig/phpCAS/blob/master/docs/examples/example_advanced_saml11.php ):
... // Initialize phpCAS phpCAS::client(*SAML_VERSION_1_1*, $cas_host, $cas_port, $cas_context); // Force CAS authentication on any page that includes this file //phpCAS:: forceAuthentication(); .... So I'm stuck :( I'd really appreciate if you can shed some light on this Thnx very much 2014-09-03 15:12 GMT+02:00 Waldbieser, Carl <[email protected]>: > Baldur, > > It sounds like when you are using the .NET client you are using the SAML > protocol [1], and when you are using the PHP client you are using the CAS > protocol [2][3]. > > Thanks, > Carl Waldbieser > Systems Programmer > Lafayette College > > [1] > https://github.com/Jasig/cas/blob/master/cas-server-protocol/3.0/cas_protocol_3_0.md#421-parameters > [2] > https://github.com/Jasig/cas/blob/master/cas-server-protocol/3.0/cas_protocol_3_0.md#24-validate-cas-10 > [3] > https://github.com/Jasig/cas/blob/master/cas-server-protocol/3.0/cas_protocol_3_0.md#251-parameters > > ----- Original Message ----- > From: "Baldur Dae" <[email protected]> > To: [email protected] > Sent: Wednesday, September 3, 2014 3:53:14 AM > Subject: Re: [cas-user] How to remove TARGET parameter > > Thanks very much for the answer :) > > However, it's really curious the difference between php and java. As noted > here (https://wiki.jasig.org/display/casc/.net+cas+client) the last > comment > indicates: "...the query string passed to the CAS logon page is different > when using the .NET client; the redirect URL query string parameter has a > name of TARGET, whereas when using the php CAS client it has a name of > service". This is just my case. Currently I use php cas client in gateway > mode and I don't get redirected with the TARGET parameter in the URL. So > I'm trying to do the same thing replacing php with java. > > Is that posible? or is just a feature of the java client? > > > > 2014-09-02 15:02 GMT+02:00 Marvin Addison <[email protected]>: > > > > I always get the TARGET parameter in the url until the > > > user authenticates. How can I remove this TARGET parameter? > > > > TARGET == ticket for the SAML feature in CAS, so it's naturally > > present until you authenticate. That's to say you can't and shouldn't > > remove it. > > > > 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 > > > > -- > 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 > > -- > 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 > -- 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
