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

2

tests

0

failures

0

ignored

0.258s

duration

100%

successful

Tests

Test Duration Result
testJWTCreaterEC 0.223s passed
testJWTRS256ECBad 0.035s passed

Standard output

generateJWK:com.ibm.ws.security.common.jwk.impl.Jose4jEllipticCurveJWK{kty=EC, kid=lfWNPugybc96OPDvHkLA, use=sig, alg=ES256, x=tbpjVHN4liyX5NtOPHWc6-KPJ1qqgrFCW6Aw8Vnkefo, y=gwcJ-H-gQuK7QzstGS-68o9aFQDBnoGnDIG3vBrMG_k, crv=P-256}
generateJWK:com.ibm.ws.security.common.jwk.impl.Jose4jEllipticCurveJWK{kty=EC, kid=lL0ceDjvOQ19eLw9rg1M, use=sig, alg=ES256, x=J5MnRf2aUxQkltHiWyjiQ_jAdfwVYTGWd3uoKTx6IqE, y=rI_BQPWxCPt3_2kYDlWwOE2bLJeAN9ScF2GNSTM_s8s, 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 01 18:13:59 BST 2019] and the current time is [Wed Apr 01 18:08:59 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 01 18:13:59 BST 2021] is after the current time [Wed Apr 01 18:18:59 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 01 18:13:59 BST 2019] and the current time is [Wed Apr 01 18:08:59 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 01 18:13:59 BST 2021] is after the current time [Wed Apr 01 18:18:59 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 01 18:13:59 BST 2021] is after the current time [Wed Apr 01 18:18:59 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 01 18:13:59 BST 2021] is after the current time [Wed Apr 01 18:18:59 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]]