[
https://issues.apache.org/jira/browse/CXF-6489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Beryozkin updated CXF-6489:
----------------------------------
Component/s: JAX-RS Security
> Cannot set ClientSecretVerifier in AbstractTokenService
> -------------------------------------------------------
>
> Key: CXF-6489
> URL: https://issues.apache.org/jira/browse/CXF-6489
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS Security
> Affects Versions: 3.1.1
> Reporter: Berto Murillo
> Assignee: Sergey Beryozkin
> Labels: oauth2, security
> Fix For: 3.0.6, 3.1.2
>
>
> 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)