@JsonIgnore @Override public boolean isBypassEnabled() { buildGroovyMultifactorPolicyInstanceIfNeeded(); return this.groovyPolicyInstance.isBypassEnabled(); }
/** * Locate matching registered service property boolean. * * @param authentication the authentication * @param registeredService the registered service * @return true/false */ protected boolean locateMatchingRegisteredServiceForBypass(final Authentication authentication, final RegisteredService registeredService) { if (registeredService != null && registeredService.getMultifactorPolicy() != null) { return registeredService.getMultifactorPolicy().isBypassEnabled(); } return false; }