Merge pull request #809 from janakamarasena/high-priority-fixes-2

Fixes NPE when using Access Token grant handler
revert-70aa11f8
Madhawa Perera 8 years ago committed by GitHub
commit 6adc8e6aef

@ -51,7 +51,7 @@ public class AccessTokenGrantHandler extends AbstractAuthorizationGrantHandler {
public AccessTokenGrantHandler() { public AccessTokenGrantHandler() {
try { try {
// tokenValidator = OAuthValidatorFactory.getValidator(); tokenValidator = new LocalOAuthValidator();
} catch (IllegalArgumentException e) { } catch (IllegalArgumentException e) {
log.error("Failed to initialise Authenticator", e); log.error("Failed to initialise Authenticator", e);
} }

Loading…
Cancel
Save