code: public boolean commit() {
      subject.getPrincipals().addAll(principals);
      subject.getPrivateCredentials().addAll(privateCredentials);
      subject.getPublicCredentials().addAll(publicCredentials);
      return true;
    }
docs: /* (non-Javadoc)
  @see javax.security.auth.spi.LoginModule#commit()