Last CAS plugin broken with jenkins 2.66 with Invalid property 'casServerUrlPrefix'

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: Blocker
    • Component/s: cas-plugin
    • None
    • Environment:
      tomcat 7.0.69 on Centos 7.3. Cas plugin updated

      I reset jenkins security to:

      <useSecurity>true</useSecurity>
      <authorizationStrategy class="hudson.security.AuthorizationStrategy$Unsecured"/>
      <securityRealm class="hudson.security.SecurityRealm$None"/>

       
      As soon as i try to configure cas, I'm getting:


      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'casFilter': Cannot create inner bean '(inner bean)' of type [org.jenkinsci.plugins.cas.spring.security.CasSingleSignOutFilter] while setting bean property 'filters' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#3': Cannot create inner bean '(inner bean)' of type [org.jasig.cas.client.session.SingleSignOutHandler] while setting bean property 'singleSignOutHandler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#3': Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'casServerUrlPrefix' of bean class [org.jasig.cas.client.session.SingleSignOutHandler]: Bean property 'casServerUrlPrefix' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?

       

            Assignee:
            Fabien Crespel
            Reporter:
            Fabrice Bacchella
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: