@Override
    public boolean matches(final CharSequence rawPassword, final String encodedPassword) {
        return FunctionUtils.doUnchecked(() -> {
            val args = new Object[]{rawPassword, encodedPassword, LOGGER, this.applicationContext};
            return watchableScript.execute("matches", Boolean.class, args);
        });
    }
This is {@link GroovyPasswordEncoder}.

@author Misagh Moayyed
@since 5.2.0
core/cas-server-core-authentication-api/src/main/java/org/apereo/cas/authentication/support/password/GroovyPasswordEncoder.java