if (StringUtils.isEmpty(getPin())) {
if (!TapestryUtils.isValid((AbstractPage) getPage())) {
    protected void renderComponent(IMarkupWriter writer, IRequestCycle cycle) {        super.renderComponent(writer, cycle);                if (cycle.isRewinding()) {            // Don't allow the PIN to be empty.  If it is empty, bail out without            // reporting an error.  In some contexts an empty PIN is an error, in            // other contexts we just ignore it.  So leave it up to the guy using            // us to decide whether an empty PIN is an error or not.            if (StringUtils.isEmpty(getPin())) {                return;            }                        CoreContext core = getCoreContext();            getUser().setPin(getPin(), core.getAuthorizationRealm());        }    }