Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Wilkins2015-06-19 02:48:53 -0400
committerGreg Wilkins2015-06-19 02:48:53 -0400
commit3e401a62e9e60accfa8550d7c45e0b659ff6ff88 (patch)
tree8ced9a866a0f07f6e60a63c77930bf009da20e2d /jetty-security/src/main/java/org/eclipse
parent9d8d56b401c3fdc20b8aa8b5bffacb5db2b3728a (diff)
downloadorg.eclipse.jetty.project-3e401a62e9e60accfa8550d7c45e0b659ff6ff88.tar.gz
org.eclipse.jetty.project-3e401a62e9e60accfa8550d7c45e0b659ff6ff88.tar.xz
org.eclipse.jetty.project-3e401a62e9e60accfa8550d7c45e0b659ff6ff88.zip
StringUtil.csvSplit(String)
Diffstat (limited to 'jetty-security/src/main/java/org/eclipse')
-rw-r--r--jetty-security/src/main/java/org/eclipse/jetty/security/PropertyUserStore.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/jetty-security/src/main/java/org/eclipse/jetty/security/PropertyUserStore.java b/jetty-security/src/main/java/org/eclipse/jetty/security/PropertyUserStore.java
index 7363748b62..0bab932957 100644
--- a/jetty-security/src/main/java/org/eclipse/jetty/security/PropertyUserStore.java
+++ b/jetty-security/src/main/java/org/eclipse/jetty/security/PropertyUserStore.java
@@ -38,6 +38,7 @@ import org.eclipse.jetty.security.MappedLoginService.RolePrincipal;
import org.eclipse.jetty.server.UserIdentity;
import org.eclipse.jetty.util.PathWatcher;
import org.eclipse.jetty.util.PathWatcher.PathWatchEvent;
+import org.eclipse.jetty.util.StringUtil;
import org.eclipse.jetty.util.component.AbstractLifeCycle;
import org.eclipse.jetty.util.log.Log;
import org.eclipse.jetty.util.log.Logger;
@@ -253,7 +254,7 @@ public class PropertyUserStore extends AbstractLifeCycle implements PathWatcher.
String[] roleArray = IdentityService.NO_ROLES;
if (roles != null && roles.length() > 0)
{
- roleArray = roles.split(",");
+ roleArray = StringUtil.csvSplit(roles);
}
known.add(username);
Credential credential = Credential.getCredential(credentials);

Back to the top