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

Antonio Sanso updated OLTU-197:
-------------------------------
    Labels: review  (was: )

> 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
>              Labels: review
>
> 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)

Reply via email to