-
Jul 26th, 2011, 08:24 PM
#1
Access web services using Spring protected by jasig CAS
I have a web service that is protected by jasig CAS.
I need to pass a ticket as a parameter along with the execution of the web service.
Is there an example how this can be accomplished ?
-
Jul 26th, 2011, 09:13 PM
#2
I am trying to implement CasAuthenticationCommonsHttpInvokerRequestExecutor from this: http://forum.springsource.org/showth...ation&p=347818
But so far it is not working.
-
Jul 26th, 2011, 09:54 PM
#3
within the override of createPostMethod:
postMethod.addRequestHeader( "ThisIsWorking", "Yes" );
postMethod.addParameter( new org.apache.commons.httpclient.NameValuePair( "ThisIsNot", "Bad" ) );
Why are request headers able to be added and not Parameters ?
-
Jul 28th, 2011, 06:27 PM
#4
It seems that CasAuthenticationCommonsHttpInvokerRequestExecutor will not work against the current cas client for java.
A feature request has been submitted to support sending a ticket in via request header or cookie: https://issues.jasig.org/browse/CASC-154
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules