Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Bartel2014-07-17 04:21:22 -0400
committerJan Bartel2014-07-17 04:23:14 -0400
commit3975d1170a0694c9694a538b44c8f4ebbc90a6b3 (patch)
treec26aaa310a591447be53be99ff9d653da6ae409f /jetty-security/src/main/java/org/eclipse
parenta89419fd3f43729b83d78a6c0b2f1f69b53035ad (diff)
downloadorg.eclipse.jetty.project-3975d1170a0694c9694a538b44c8f4ebbc90a6b3.tar.gz
org.eclipse.jetty.project-3975d1170a0694c9694a538b44c8f4ebbc90a6b3.tar.xz
org.eclipse.jetty.project-3975d1170a0694c9694a538b44c8f4ebbc90a6b3.zip
439753 ConstraintSecurityHandler has dead code for processing constraints
Diffstat (limited to 'jetty-security/src/main/java/org/eclipse')
-rw-r--r--jetty-security/src/main/java/org/eclipse/jetty/security/ConstraintSecurityHandler.java15
1 files changed, 0 insertions, 15 deletions
diff --git a/jetty-security/src/main/java/org/eclipse/jetty/security/ConstraintSecurityHandler.java b/jetty-security/src/main/java/org/eclipse/jetty/security/ConstraintSecurityHandler.java
index 1bd2d52cd1..7b7f2a395e 100644
--- a/jetty-security/src/main/java/org/eclipse/jetty/security/ConstraintSecurityHandler.java
+++ b/jetty-security/src/main/java/org/eclipse/jetty/security/ConstraintSecurityHandler.java
@@ -511,21 +511,6 @@ public class ConstraintSecurityHandler extends SecurityHandler implements Constr
mappings.put(ALL_METHODS,roleInfo);
}
}
- else
- {
- //combine with any entry that covers all methods
- if (httpMethod == null)
- {
- for (Map.Entry<String, RoleInfo> entry : mappings.entrySet())
- {
- if (entry.getKey() != null)
- {
- RoleInfo specific = entry.getValue();
- specific.combine(roleInfo);
- }
- }
- }
- }
}
/* ------------------------------------------------------------ */

Back to the top