Class com.ibm.ws.security.openidconnect.client.jose4j.util.EcJwkTest

2

tests

0

failures

0

ignored

0.166s

duration

100%

successful

Tests

Test Duration Result
testJWTCreaterEC 0.134s passed
testJWTRS256ECBad 0.032s passed

Standard output

generateJWK:com.ibm.ws.security.common.jwk.impl.Jose4jEllipticCurveJWK{kty=EC, kid=Ip4yiyujy5Qlx2PZFJ3p, use=sig, alg=ES256, x=AkNJE47onzYz_jliOxPXL4Th3mvS7ICtKT9Y8TWBPf8, y=L_OPXM511PLzwk-5SpNiq0E-QqNw7NChgU5f8aPXQfI, crv=P-256}
generateJWK:com.ibm.ws.security.common.jwk.impl.Jose4jEllipticCurveJWK{kty=EC, kid=hncjrNYJ5baEkgBZloSs, use=sig, alg=ES256, x=4DIA3l9AjEVIiP-LSCuVvqCxCpGKrJ0rH7Qtd2qnSNo, y=gDlaTi9lDPOGpuCdCe-_swoXOX11CnJq3pGTbhJd7So, crv=P-256}
[WARNING ] CWWKS1716E: The resource server failed the authentication request because the access token which is in the request has expired. The expiration time ("exp") is [Mon Apr 29 17:46:33 BST 2019] and the current time is [Wed Apr 29 17:41:33 BST 2020].
[WARNING ] CWWKS1717E: The resource server failed the authentication request because the access token which is in the request is not valid. The issue at time ("iat") [Thu Apr 29 17:46:33 BST 2021] is after the current time [Wed Apr 29 17:51:33 BST 2020] and this condition is not allowed.
[WARNING ] CWWKS1716E: The resource server failed the authentication request because the access token which is in the request has expired. The expiration time ("exp") is [Mon Apr 29 17:46:33 BST 2019] and the current time is [Wed Apr 29 17:41:33 BST 2020].
[WARNING ] CWWKS1717E: The resource server failed the authentication request because the access token which is in the request is not valid. The issue at time ("iat") [Thu Apr 29 17:46:33 BST 2021] is after the current time [Wed Apr 29 17:51:33 BST 2020] and this condition is not allowed.

Standard error

[ERROR   ] CWWKS1722E: The resource server failed the authentication request because the access token does not contain the claim [bad_user] specified by the [userIdentifier] attribute.
[ERROR   ] CWWKS1735E: The resource server failed the authentication request because the response from the validation end point [https://localhost:8020/root] has the [iss] claim, but the [disableIssChecking] attribute is set to true.
[ERROR   ] CWWKS1727E: The resource server failed the authentication request because it cannot validate the access token due to an error [null]. The validation method is [introspect], and the validation endpoint url is [https://localhost:8020/root].
[ERROR   ] CWWKS1707E: The OpenID Connect client [null] was unable to create an SSL context due to [CWWKS1707E: The OpenID Connect client [null] was unable to create an SSL context due to [Null ssl socket factory]. Ensure that your SSL feature is properly configured.]. Ensure that your SSL feature is properly configured.
[ERROR   ] CWWKS1718E: The resource server failed the authentication request because the access token which is in the request does not have the [exp] claim. The required claims are [iss, iat, exp].
[ERROR   ] CWWKS1718E: The resource server failed the authentication request because the access token which is in the request does not have the [iat] claim. The required claims are [iss, iat, exp].
[ERROR   ] CWWKS1719E: The resource server failed the authentication request because the access token which is in the request cannot be used. The not before time ("nbf") [Thu Apr 29 17:46:33 BST 2021] is after the current time [Wed Apr 29 17:51:33 BST 2020] and this condition is not allowed.
[ERROR   ] CWWKS1721E: The resource server received an error [] while it was attempting to validate the access token. It is either expired or cannot be recognized by the validation end point [https://localhost:8020/root].
[ERROR   ] CWWKS1722E: The resource server failed the authentication request because the access token does not contain the claim [bad_user] specified by the [userIdentifier] attribute.
[ERROR   ] CWWKS1735E: The resource server failed the authentication request because the response from the validation end point [https://localhost:8020/root] has the [iss] claim, but the [disableIssChecking] attribute is set to true.
[ERROR   ] CWWKS1727E: The resource server failed the authentication request because it cannot validate the access token due to an error [null]. The validation method is [introspect], and the validation endpoint url is [https://localhost:8020/root].
[ERROR   ] CWWKS1707E: The OpenID Connect client [null] was unable to create an SSL context due to [CWWKS1707E: The OpenID Connect client [null] was unable to create an SSL context due to [Null ssl socket factory]. Ensure that your SSL feature is properly configured.]. Ensure that your SSL feature is properly configured.
[ERROR   ] CWWKS1718E: The resource server failed the authentication request because the access token which is in the request does not have the [exp] claim. The required claims are [iss, iat, exp].
[ERROR   ] CWWKS1718E: The resource server failed the authentication request because the access token which is in the request does not have the [iat] claim. The required claims are [iss, iat, exp].
[ERROR   ] CWWKS1719E: The resource server failed the authentication request because the access token which is in the request cannot be used. The not before time ("nbf") [Thu Apr 29 17:46:33 BST 2021] is after the current time [Wed Apr 29 17:51:33 BST 2020] and this condition is not allowed.
[ERROR   ] CWWKS1721E: The resource server received an error [] while it was attempting to validate the access token. It is either expired or cannot be recognized by the validation end point [https://localhost:8020/root].
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]]