Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-3092

OauthbearerMgmtSaslTestCase in wildfly-core contains wrong test value for token without signature

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.0.0.Beta29
    • None
    • Test Suite
    • None

    Description

      The current value of OauthbearerMgmtSaslTestCase.TOKEN_WITHOUT_SIGNATURE constant is a token with a signature.

          /**
           * Token without signature part
           *
           * <pre>
           * {
           *   "alg": "HS256",
           *   "typ": "JWT"
           * }
           * {
           *   "iss": "issuer.wildfly.org",
           *   "sub": "elytron@wildfly.org",
           *   "exp": 2051222399,  // 20341231235959Z
           *   "aud": "jwt"
           * }
           * </pre>
           */
          protected static final String TOKEN_WITHOUT_SIGNATURE = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJpc3N1ZXIud2lsZGZseS5vcmciLCJzdWIiOiJlbHl0cm9uQHdpbGRmbHkub3JnIiwiZXhwIjoyMDUxMjIyMzk5LCJhdWQiOiJqd3QifQ.jOcMdBLdI7HMuW_VsoGD_7LqeX6M14_wV5ebP2S4tOM";
      

      Attachments

        Issue Links

          Activity

            People

              josef.cacek@gmail.com Josef Cacek (Inactive)
              josef.cacek@gmail.com Josef Cacek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: