Loading cadcAccessControl-Server/src/ca/nrc/cadc/ac/server/ACScopeValidator.java +3 −6 Original line number Diff line number Diff line Loading @@ -93,15 +93,12 @@ public class ACScopeValidator extends DelegationToken.ScopeValidator try { // validate service endpoint if (RESET_PASSWORD_SCOPE == requestURI) { // validate allowed action for this service endpoint if (scope.toASCIIString().equals(RESET_PASSWORD_SCOPE)) if ((requestURI.endsWith(RESET_PASSWORD_SCOPE)) && (scope.toASCIIString().equals(RESET_PASSWORD_SCOPE))) { return; // OK } } } catch(Exception ignore) { } throw new InvalidDelegationTokenException("invalid scope: " + scope); Loading Loading
cadcAccessControl-Server/src/ca/nrc/cadc/ac/server/ACScopeValidator.java +3 −6 Original line number Diff line number Diff line Loading @@ -93,15 +93,12 @@ public class ACScopeValidator extends DelegationToken.ScopeValidator try { // validate service endpoint if (RESET_PASSWORD_SCOPE == requestURI) { // validate allowed action for this service endpoint if (scope.toASCIIString().equals(RESET_PASSWORD_SCOPE)) if ((requestURI.endsWith(RESET_PASSWORD_SCOPE)) && (scope.toASCIIString().equals(RESET_PASSWORD_SCOPE))) { return; // OK } } } catch(Exception ignore) { } throw new InvalidDelegationTokenException("invalid scope: " + scope); Loading