@Override
    public void handle(final Callback[] callbacks) {
        Arrays.stream(callbacks)
            .filter(WSPasswordCallback.class::isInstance)
            .map(WSPasswordCallback.class::cast)
            .forEach(callback -> {
                val identifier = callback.getIdentifier();
                LOGGER.trace("Evaluating [{}]", identifier);
                callback.setPassword(new String(this.password));
                LOGGER.debug("Authenticated [{}] successfully.", identifier);
            });
    }
This is {@link RealmPasswordVerificationCallbackHandler}.

@author Misagh Moayyed
@since 5.1.0
support/cas-server-support-ws-sts-api/src/main/java/org/apereo/cas/support/realm/RealmPasswordVerificationCallbackHandler.java