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)

Reply via email to