docs: static Cookie getLTPACookie(final Subject subject) throws Exception {
          Cookie ltpaCookie = null;
          SingleSignonToken ssoToken = null;
          Set<SingleSignonToken> ssoTokens = subject.getPrivateCredentials(SingleSignonToken.class);
          Iterator<SingleSignonToken> ssoTokensIterator = ssoTokens.iterator();
          if (ssoTokensIterator.hasNext()) {
              ssoToken = ssoTokensIterator.next();
              if (ssoTokensIterator.hasNext()) {
                  throw new WSSecurityException("More than one ssotoken found in subject");
              }
          }
          if (ssoToken != null) {
              ltpaCookie = constructLTPACookieObj(ssoToken);
          } else {
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                  Tr.debug(tc, "No ssotoken found for this subject");
              }
          }
          return ltpaCookie;
      }