cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berto Murillo (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-6489) Cannot set ClientSecretVerifier in AbstractTokenService
Date Wed, 08 Jul 2015 14:30:06 GMT

    [ https://issues.apache.org/jira/browse/CXF-6489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14618688#comment-14618688
] 

Berto Murillo commented on CXF-6489:
------------------------------------

[~sergey_beryozkin]

> 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
>              Labels: oauth2, security
>
> 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