Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6489

Cannot set ClientSecretVerifier in AbstractTokenService

    Details

    • Estimated Complexity:
      Unknown

      Description

      A field was added to org.apache.cxf.rs.security.oauth2.services.AbstractTokenService:

      private ClientSecretVerifier clientSecretVerifier;
      

      But no setter was added with it. When I tried to set it via the context XML like such:

          <bean id="hashedSecretVerifier" class="org.apache.cxf.rs.security.oauth2.provider.ClientSecretHashVerifier" />
      
          <bean id="accessTokenService" class="org.apache.cxf.rs.security.oauth2.services.AccessTokenService">
              ...
              <property name="clientSecretVerifier" ref="hashedSecretVerifier" />
              ...
          </bean>
      

      I get a failure when the application attempts to start. Removing it resolves the issue.

        Attachments

          Activity

            People

            • Assignee:
              sergey_beryozkin Sergey Beryozkin
              Reporter:
              mstberto Berto Murillo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: