docs: @SuppressWarnings("unchecked")
      public static Subject getCallerSubject()
                      throws WSSecurityException {
          SecurityManager sm = System.getSecurityManager();
          if (sm != null) {
              sm.checkPermission(GETCALLERSUBJECT_PERM);
          }
          Subject s = null;
  
          try {
              s = (Subject) java.security.AccessController.doPrivileged(getCallerSubjectAction);
          } catch (PrivilegedActionException pae) {
              WSSecurityException e = (WSSecurityException) pae.getException();
              throw e;
          }
  
          return s;
      }