104105106107108109110111112113
@Override public boolean commit() throws LoginException { if (succeeded) { subject.getPrincipals().add(new SimplePrincipal(name)); return true; } return false; }