public void setDelegate(final PasswordService delegate) {
        CommonHelper.assertNotNull("delegate", delegate);
        this.delegate = delegate;
    }
<p>Setter for the field <code>delegate</code>.</p>

@param delegate a {@link PasswordService} object
pac4j-core/src/main/java/org/pac4j/core/credentials/password/ShiroPasswordEncoder.java