code: @Override
      public PrincipalUser getUser(String username, String password) {
          requireNotDisposed();
          requireArgument(_isUsernameValid(username), MessageFormat.format("Invalid username: {0}", username));
  
          PrincipalUser result = null;
          String userDn = _findDNForUser(username);
  
          if (userDn != null && password != null) {
              result = _findPrincipalUser(userDn, username, password);
          }
          return result;
      }
docs: ~ Methods **************************************************************************************************************************************