Announcement Announcement Module
Collapse
No announcement yet.
Access web services using Spring protected by jasig CAS Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    I am trying to implement CasAuthenticationCommonsHttpInvokerRequestExecutor from this: http://forum.springsource.org/showth...ation&p=347818
    But so far it is not working.

    Comment


    • #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 ?

      Comment


      • #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

        Comment

        Working...
        X