Uploaded image for project: 'Opencast'
  1. MH-8561

Cannot install CAS because default cas authentication is missing 3 lines from default spring security configuration

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed and reviewed
    • Affects versions: 1.3
    • Fix versions: 1.3
    • Labels:
      None
    • Severity:
      Non Functioning
    • Steps to reproduce:
      Hide
      Steps to reproduce:
      1. Try to use CAS authentication
      2. Follow instructions to install
      3. Keep getting denied for any url including urls that should be accessible by anonymous /info/me.jsonh
       
       Workaround (if any):
      Change:
       <bean name="oAuthConsumerDetailsService" class="org.opencastproject.kernel.security.OAuthSingleConsumerDetailsService">
      <constructor-arg index="0" ref="userDetailsService"/>
      </bean>

      to:

       <bean name="oAuthConsumerDetailsService" class="org.opencastproject.kernel.security.OAuthSingleConsumerDetailsService">
      <constructor-arg index="0" ref="userDetailsService"/>
      <constructor-arg index="1" value="consumerkey"/>
      <constructor-arg index="2" value="consumersecret"/>
      <constructor-arg index="3" value="constructorName"/>
      </bean>
      Show
      Steps to reproduce: 1. Try to use CAS authentication 2. Follow instructions to install 3. Keep getting denied for any url including urls that should be accessible by anonymous /info/me.jsonh    Workaround (if any): Change:  <bean name="oAuthConsumerDetailsService" class="org.opencastproject.kernel.security.OAuthSingleConsumerDetailsService"> <constructor-arg index="0" ref="userDetailsService"/> </bean> to:  <bean name="oAuthConsumerDetailsService" class="org.opencastproject.kernel.security.OAuthSingleConsumerDetailsService"> <constructor-arg index="0" ref="userDetailsService"/> <constructor-arg index="1" value="consumerkey"/> <constructor-arg index="2" value="consumersecret"/> <constructor-arg index="3" value="constructorName"/> </bean>

      TestRail: Results

        Attachments

          Activity

            People

            • Assignee:
              akm220 Adam McKenzie
              Reporter:
              akm220 Adam McKenzie
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                TestRail: Cases