Uploaded image for project: 'Apache Oltu'
  1. Apache Oltu
  2. OLTU-197

OAuthFilter looks for oauth.rs.provider-class init parameter in wrong place

    XMLWordPrintableJSON

Details

    Description

      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():

              String providerClassName = context.getInitParameter(classParamName);
      

      Instead, filter's own ServletConfig.getInitParameter() should be used.

      Attachments

        Activity

          People

            simone.tripodi Simone Tripodi
            pnehrer Peter Nehrer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: