Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-44969

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Blocker Blocker
    • cas-plugin
    • None
    • 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?

       

            fcrespel Fabien Crespel
            bacchella Fabrice Bacchella
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: