Results 1 to 4 of 4

Thread: Access web services using Spring protected by jasig CAS

  1. #1
    Join Date
    Aug 2007
    Posts
    9

    Default 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 ?

  2. #2
    Join Date
    Aug 2007
    Posts
    9

    Default

    I am trying to implement CasAuthenticationCommonsHttpInvokerRequestExecutor from this: http://forum.springsource.org/showth...ation&p=347818
    But so far it is not working.

  3. #3
    Join Date
    Aug 2007
    Posts
    9

    Default

    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 ?

  4. #4
    Join Date
    Aug 2007
    Posts
    9

    Default

    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
  •