oltu-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Nehrer (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OLTU-197) OAuthFilter looks for oauth.rs.provider-class init parameter in wrong place
Date Tue, 03 May 2016 18:50:12 GMT
Peter Nehrer created OLTU-197:
---------------------------------

             Summary: 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


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.3.4#6332)

Mime
View raw message