Permalink
Browse files

Merge pull request #97 from wfink/JDF-857

[JDF-857] ejb-security-interceptors deny login delegation with a hidd ArrayIndexOutOfBounds
  • Loading branch information...
2 parents 37f1c81 + da5d16c commit dc6e542b3e3ad7398410ee66d9cebdd1f959dc0e @ctomc ctomc committed Apr 28, 2016
@@ -140,7 +140,7 @@ protected boolean delegationAcceptable(String requestedUser, OuterUserCredential
}
String[] allowedMappings = loadPropertyValue(connectionUser.getName(), connectionUser.getRealm());
- if (allowedMappings.length == 1 && "*".equals(allowedMappings[1])) {
+ if (allowedMappings.length == 1 && "*".equals(allowedMappings[0])) {
// A wild card mapping was found.
return true;
}

0 comments on commit dc6e542

Please sign in to comment.