Class com.ibm.ws.security.openidconnect.client.jose4j.util.EcJwkTest
|
100%
successful |
Tests
Test | Duration | Result |
---|---|---|
testJWTCreaterEC | 0.213s | passed |
testJWTRS256ECBad | 0.036s | passed |
Standard output
generateJWK:com.ibm.ws.security.common.jwk.impl.Jose4jEllipticCurveJWK{kty=EC, kid=1ADytElfSpnPDM9m3V81, use=sig, alg=ES256, x=n27WvpakoS1T9KYalZxEDpA90Ved92CslQQDcb2MeUA, y=Wu27AsQjI6GiwfvOet-UMeUcxxo6hc0Om4g7rqDTwL0, crv=P-256} generateJWK:com.ibm.ws.security.common.jwk.impl.Jose4jEllipticCurveJWK{kty=EC, kid=8BQmkHSpxGDSdpY2GbbF, use=sig, alg=ES256, x=76xaavyqUPEMUZ3FDK5ZsWDuI8fZhagxLwym3li25PU, y=GQAHH3KUDv6bhjKvF_2p1wjLfC21m7kIpz_e3jrqrQw, 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 [Wed Sep 05 02:46:32 BST 2018] and the current time is [Thu Sep 05 02:41:32 BST 2019]. [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") [Sat Sep 05 02:46:32 BST 2020] is after the current time [Thu Sep 05 02:51:32 BST 2019] 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 [Wed Sep 05 02:46:32 BST 2018] and the current time is [Thu Sep 05 02:41:32 BST 2019]. [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") [Sat Sep 05 02:46:32 BST 2020] is after the current time [Thu Sep 05 02:51:32 BST 2019] 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") [Sat Sep 05 02:46:32 BST 2020] is after the current time [Thu Sep 05 02:51:32 BST 2019] 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") [Sat Sep 05 02:46:32 BST 2020] is after the current time [Thu Sep 05 02:51:32 BST 2019] 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]]