Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngel Avila2015-08-06 22:24:44 +0000
committerRyan Brooks2015-08-11 00:04:36 +0000
commit4a2faec6b5c7441328d64a2ff92e9211a19061ee (patch)
tree7a25a5c26ca918bbfbf242ab44476cbbe81daa25 /plugins/org.eclipse.osee.jaxrs.server
parentccbccb975f048f74b66ab0cfc1f36eb43b0dc570 (diff)
downloadorg.eclipse.osee-4a2faec6b5c7441328d64a2ff92e9211a19061ee.tar.gz
org.eclipse.osee-4a2faec6b5c7441328d64a2ff92e9211a19061ee.tar.xz
org.eclipse.osee-4a2faec6b5c7441328d64a2ff92e9211a19061ee.zip
bug: Allow Dispo REST calls to pass through OAuth2 Filter
Diffstat (limited to 'plugins/org.eclipse.osee.jaxrs.server')
-rw-r--r--plugins/org.eclipse.osee.jaxrs.server/src/org/eclipse/osee/jaxrs/server/internal/security/oauth2/provider/OAuth2RequestFilter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.jaxrs.server/src/org/eclipse/osee/jaxrs/server/internal/security/oauth2/provider/OAuth2RequestFilter.java b/plugins/org.eclipse.osee.jaxrs.server/src/org/eclipse/osee/jaxrs/server/internal/security/oauth2/provider/OAuth2RequestFilter.java
index c451038ca14..eb77c37831a 100644
--- a/plugins/org.eclipse.osee.jaxrs.server/src/org/eclipse/osee/jaxrs/server/internal/security/oauth2/provider/OAuth2RequestFilter.java
+++ b/plugins/org.eclipse.osee.jaxrs.server/src/org/eclipse/osee/jaxrs/server/internal/security/oauth2/provider/OAuth2RequestFilter.java
@@ -88,7 +88,7 @@ public class OAuth2RequestFilter extends OAuthRequestFilter {
boolean isSecurePath = isPathSecure(context);
UriInfo uriInfo = context.getUriInfo();
String path = uriInfo.getAbsolutePath().getPath();
- if (isSecurePath && (path.contains("dispo") || path.contains("oauth2")) || path.contains("accounts/self")) {
+ if (isSecurePath && (path.contains("oauth2")) || path.contains("accounts/self")) {
if (isResourceOwnerRequest(context)) {
handleResourceOwnerRequest(context);
} else {

Back to the top