|
@@ -168,6 +168,11 @@ public class PrepRequestProcessor extends Thread implements RequestProcessor {
|
|
if (acl == null || acl.size() == 0) {
|
|
if (acl == null || acl.size() == 0) {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
+ for (Id authId : ids) {
|
|
|
|
+ if (authId.getScheme().equals("super")) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
for (ACL a : acl) {
|
|
for (ACL a : acl) {
|
|
Id id = a.getId();
|
|
Id id = a.getId();
|
|
if ((a.getPerms() & perm) != 0) {
|
|
if ((a.getPerms() & perm) != 0) {
|
|
@@ -178,10 +183,7 @@ public class PrepRequestProcessor extends Thread implements RequestProcessor {
|
|
AuthenticationProvider ap = ProviderRegistry.getProvider(id
|
|
AuthenticationProvider ap = ProviderRegistry.getProvider(id
|
|
.getScheme());
|
|
.getScheme());
|
|
if (ap != null) {
|
|
if (ap != null) {
|
|
- for (Id authId : ids) {
|
|
|
|
- if (authId.getScheme().equals("super")) {
|
|
|
|
- return;
|
|
|
|
- }
|
|
|
|
|
|
+ for (Id authId : ids) {
|
|
if (authId.getScheme().equals(id.getScheme())
|
|
if (authId.getScheme().equals(id.getScheme())
|
|
&& ap.matches(authId.getId(), id.getId())) {
|
|
&& ap.matches(authId.getId(), id.getId())) {
|
|
return;
|
|
return;
|