String token;
int i = 0;
while (tokenizer.hasMoreTokens()) {
token = tokenizer.nextToken();
if (token.indexOf(MultipleRoleMatcher.ROLE_SEPARATOR) == -1) {
result[i] = new SingleRoleMatcher(token);
} else {
result[i] = new MultipleRoleMatcher(token);
}
i++;
}