code: @Sensitive
      private Hashtable<String, ?> getBasicAuthHashtableFromSubject(@Sensitive final Subject subject) {
          final String[] properties = { KEY_BASIC_AUTH_REALM, KEY_BASIC_AUTH_USER, KEY_BASIC_AUTH_PASSWORD };
          SubjectHelper subjectHelper = new SubjectHelper();
          return subjectHelper.getSensitiveHashtableFromSubject(subject, properties);
      }
docs: Gets the SSO token from the subject.
  
  @param subject {@code null} is not supported.
  @return