code: @Override
      public boolean commit() throws WSLoginFailedException {
          if (temporarySubject == null) {
              if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
                  Tr.event(tc, "Authentication did not occur for this login module, abstaining.");
              }
              return false;
          }
          setUpSubject();
          return true;
      }
docs: Commit the authentication (phase 2).
  
  <p>
  If the login module authentication attempted in phase 1 succeeded, then relevant principals and credentials
  are associated with the subject. If the authentication attempted in phase 1 failed, then this method
  removes/destroys any state that was originally saved.
  </p>
  
  @exception WSLoginFailedException if the commit fails
  
  @return true if this LoginModule's own login and commit attempts
  succeeded, or false otherwise.