[
https://issues.apache.org/jira/browse/OLTU-197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simone Tripodi resolved OLTU-197.
---------------------------------
Resolution: Fixed
Assignee: Simone Tripodi
Fix Version/s: oauth2-1.0.3
resolved in r1813300
> OAuthFilter looks for oauth.rs.provider-class init parameter in wrong place
> ---------------------------------------------------------------------------
>
> Key: OLTU-197
> URL: https://issues.apache.org/jira/browse/OLTU-197
> Project: Apache Oltu
> Issue Type: Bug
> Components: oauth2-resourceserver-filter
> Reporter: Peter Nehrer
> Assignee: Simone Tripodi
> Labels: review
> Fix For: oauth2-1.0.3
>
>
> When configuring OAuthFilter with oauth.rs.provider-class init parameter, the
> implementation looks for the parameter in application-wide context instead of
> filter's own init parameters.
> E.g., in OAuthUtils.loadObject():
> {code}
> String providerClassName = context.getInitParameter(classParamName);
> {code}
> Instead, filter's own ServletConfig.getInitParameter() should be used.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)