docs: private String getSubjectString(Subject subject) {
  
          String returnVal = null;
  
          if (subject != null) {
  
              if (System.getSecurityManager() != null) {
  
                  // Java 2 Security enabled
                  final Subject newSubject = subject;
                  PrivilegedExceptionAction privExAction = new PrivilegedExceptionAction() {
                      @Override
                      public Object run() throws Exception {
                          return newSubject.toString();
                      }
                  };
  
                  try {
                      returnVal = (String) AccessController.doPrivileged(privExAction);
                  } catch (PrivilegedActionException pae) {
                      if (tc.isDebugEnabled()) {
                          Tr.debug(tc, "Exception received in getSubjectString:", pae);
                      }
                      returnVal = "Subject cannot be traced due to a PrivilegedActionException";
                  }
  
              } // end security manager != null
  
              else {
                  returnVal = subject.toString();
              }
  
          } // end subject != null
  
          return returnVal;
  
      }