cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colm O hEigeartaigh (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CXF-6489) Cannot set ClientSecretVerifier in AbstractTokenService
Date Fri, 14 Oct 2016 14:28:22 GMT

     [ https://issues.apache.org/jira/browse/CXF-6489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Colm O hEigeartaigh closed CXF-6489.
------------------------------------

> 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)

Mime
View raw message