Berto Murillo created CXF-6489:
----------------------------------
Summary: Cannot set ClientSecretVerifier in AbstractTokenService
Key: CXF-6489
URL: https://issues.apache.org/jira/browse/CXF-6489
Project: CXF
Issue Type: Bug
Affects Versions: 3.1.1
Reporter: Berto Murillo
A field was added to
org.apache.cxf.rs.security.oauth2.services.AbstractTokenService:
{code}
private ClientSecretVerifier clientSecretVerifier;
{code}
But no setter was added with it. When I tried to set it via the context XML
like such:
{code}
<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>
{code}
I get a failure when the application attempts to start. Removing it resolves
the issue.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)