oltu-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Sanso (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OLTU-197) OAuthFilter looks for oauth.rs.provider-class init parameter in wrong place
Date Wed, 25 Oct 2017 13:11:00 GMT

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

Mime
View raw message