[jboss-jira] [JBoss JIRA] (WFCORE-3092) OauthbearerMgmtSaslTestCase in wildfly-core contains wrong test value for token without signature

Josef Cacek (JIRA) issues at jboss.org
Mon Jul 24 06:29:00 EDT 2017


Josef Cacek created WFCORE-3092:
-----------------------------------

             Summary: OauthbearerMgmtSaslTestCase in wildfly-core contains wrong test value for token without signature
                 Key: WFCORE-3092
                 URL: https://issues.jboss.org/browse/WFCORE-3092
             Project: WildFly Core
          Issue Type: Bug
          Components: Test Suite
            Reporter: Josef Cacek
            Assignee: Tomaz Cerar


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

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



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list