Class com.ibm.ws.security.openidconnect.server.plugins.OIDCResponseTypeHandlerImplicitImplTest

10

tests

0

failures

0

ignored

0.016s

duration

100%

successful

Tests

Test Duration Result
testBuildResponseTypeImplicit 0.001s passed
testBuildResponseTypeImplicit0 0s passed
testBuildTokenResponseType 0.003s passed
testBuildTokenResponseTypeBad 0.001s passed
testBuildTokenResponseTypeZero 0.003s passed
testConstructor 0.001s passed
testValidateRequestResponseTypeImplicit 0.001s passed
testValidateRequestResponseTypeImplicitNoIssuer 0.001s passed
testValidateRequestResponseTypeImplicitNoNonce 0.004s passed
testValidateRequestResponseTypeImplicitNoToken 0.001s passed

Standard output

[WARNING ] CWWKS1640W: A request for a JWK JSON string could not be processed. The OpenID Connect provider attributes keyStoreRef or keyAliasName might be incorrect, or the signatureAlgorithm attribute might not be set to RS256. 
[WARNING ] CWWKS1640W: A request for a JWK JSON string could not be processed. The OpenID Connect provider attributes keyStoreRef or keyAliasName might be incorrect, or the signatureAlgorithm attribute might not be set to RS256. 
[WARNING ] CWWKS1640W: A request for a JWK JSON string could not be processed. The OpenID Connect provider attributes keyStoreRef or keyAliasName might be incorrect, or the signatureAlgorithm attribute might not be set to RS256. 
[WARNING ] CWWKS1640W: A request for a JWK JSON string could not be processed. The OpenID Connect provider attributes keyStoreRef or keyAliasName might be incorrect, or the signatureAlgorithm attribute might not be set to RS256. 

Standard error

[ERROR   ] CWWKS1626E: The login user name [user2] does not match with the subject of the ID token [user1].
[ERROR   ] CWWKS1636E: The post_logout_redirect_uri parameter: http://localhost:80/index.html does not match the value of the OpenID Connect provider attribute, postLogoutRedirectUris=[ https://localhost:80/index.html, http://redirect ] in the client ID: client01.
[ERROR   ] CWWKS1625E: The OpenID Connect provider failed to validate the ID token due to [tried to return a com.ibm.oauth.core.api.oauth20.client.OAuth20ClientProvider$$EnhancerByCGLIB$$64278fbb from a method that can only return a com.ibm.ws.security.oauth20.api.OidcOAuth20ClientProvider].
[ERROR   ] CWWKS1636E: The post_logout_redirect_uri parameter: http://localhost:80/index.html does not match the value of the OpenID Connect provider attribute, postLogoutRedirectUris=null in the client ID: null.
[ERROR   ] CWWKS1619E: A userinfo request was made with an access token that did not have the 'openid' scope. The request URI was test URI.
[ERROR   ] CWWKS1616E: A userinfo request was made with no access token. The request URI was test URI.
[ERROR   ] CWWKS1621E: A userinfo request was made with an access token in the access_token request parameter and also the authorization header. Only one access token is allowed. The request URI was test URI.
[ERROR   ] CWWKS1617E: A userinfo request was made with an access token that was not recognized. The request URI was test URI.
[ERROR   ] CWWKS1622E: A userinfo request was made with a token that was not an access token. The request URI was test URI.
[ERROR   ] CWWKS1623E: A userinfo request was made with an expired access token. The request URI was test URI.
[ERROR   ] CWWKS1634E: The request endpoint test URI does not have attribute OidcRequest.
[ERROR   ] CWWKS1629E: The OpenID Connect configuration service is not available for provider testprovider.
[ERROR   ] CWWKS1632E: The OAuth provider name referenced by the OpenID Connect provider testprovider was not found.
[ERROR   ] CWWKS1630E: OAuth20Provider object is null for the OpenID Connect provider testprovider.
[ERROR   ] CWWKS1625E: The OpenID Connect provider failed to validate the ID token due to [IDTokenValidatonFailedException].
[ERROR   ] OIDC_IDTOKEN_SIGNATURE_VERIFY_ERR 
                                                                                                               client01
                                                                                                               JWT rejected due to invalid signature. Additional details: [[9] Invalid JWS Signature: JsonWebSignature{"alg":"HS256"}->eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3lhbW1lcmxwOjgwMjAvb2lkYy9lbmRwb2ludC9vaWRjT3BDb25maWdTYW1wbGUiLCJub25jZSI6ImRlZmF1bHRfbm9uY2UiLCJpYXQiOjE0MDc4NzUyNjksInN1YiI6InVzZXIxIiwiZXhwIjoxNDA3ODgyNDY5LCJhdWQiOiJjbGllbnQwMSIsInJlYWxtTmFtZSI6IkJhc2ljUmVhbG0iLCJ1bmlxdWVTZWN1cml0eU5hbWUiOiJ1c2VyMSIsImF0X2hhc2giOiJSNHVPdl9JbTc5dDgteWRFZDl1TGVBIn0.E20YvyWVhZ2X6Cx46PHjlHZCQZaQqks_6sxfF9_cmDk]
                                                                                                               HS256
[ERROR   ] CWWKS1625E: The OpenID Connect provider failed to validate the ID token due to [SignatureException Message:JWT rejected due to invalid signature. Additional details: [[9] Invalid JWS Signature: JsonWebSignature{"alg":"HS256"}->eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3lhbW1lcmxwOjgwMjAvb2lkYy9lbmRwb2ludC9vaWRjT3BDb25maWdTYW1wbGUiLCJub25jZSI6ImRlZmF1bHRfbm9uY2UiLCJpYXQiOjE0MDc4NzUyNjksInN1YiI6InVzZXIxIiwiZXhwIjoxNDA3ODgyNDY5LCJhdWQiOiJjbGllbnQwMSIsInJlYWxtTmFtZSI6IkJhc2ljUmVhbG0iLCJ1bmlxdWVTZWN1cml0eU5hbWUiOiJ1c2VyMSIsImF0X2hhc2giOiJSNHVPdl9JbTc5dDgteWRFZDl1TGVBIn0.E20YvyWVhZ2X6Cx46PHjlHZCQZaQqks_6sxfF9_cmDk]].
[ERROR   ] CWWKS1625E: The OpenID Connect provider failed to validate the ID token due to [com.google.gson.stream.MalformedJsonException: Unterminated string at line 1 column 15].
[ERROR   ] CWWKS1625E: The OpenID Connect provider failed to validate the ID token due to [Expected JWT to have 3 segments separated by '.', but it has 2 segments].
[ERROR   ] CWWKS1626E: The login user name [user2] does not match with the subject of the ID token [user1].
[ERROR   ] CWWKS1636E: The post_logout_redirect_uri parameter: http://localhost:80/index.html does not match the value of the OpenID Connect provider attribute, postLogoutRedirectUris=[ https://localhost:80/index.html, http://redirect ] in the client ID: client01.
[ERROR   ] CWWKS1625E: The OpenID Connect provider failed to validate the ID token due to [tried to return a com.ibm.oauth.core.api.oauth20.client.OAuth20ClientProvider$$EnhancerByCGLIB$$64278fbb from a method that can only return a com.ibm.ws.security.oauth20.api.OidcOAuth20ClientProvider].
[ERROR   ] CWWKS1636E: The post_logout_redirect_uri parameter: http://localhost:80/index.html does not match the value of the OpenID Connect provider attribute, postLogoutRedirectUris=null in the client ID: null.
[ERROR   ] CWWKS1619E: A userinfo request was made with an access token that did not have the 'openid' scope. The request URI was test URI.
[ERROR   ] CWWKS1616E: A userinfo request was made with no access token. The request URI was test URI.
[ERROR   ] CWWKS1621E: A userinfo request was made with an access token in the access_token request parameter and also the authorization header. Only one access token is allowed. The request URI was test URI.
[ERROR   ] CWWKS1617E: A userinfo request was made with an access token that was not recognized. The request URI was test URI.
[ERROR   ] CWWKS1622E: A userinfo request was made with a token that was not an access token. The request URI was test URI.
[ERROR   ] CWWKS1623E: A userinfo request was made with an expired access token. The request URI was test URI.
[ERROR   ] CWWKS1634E: The request endpoint test URI does not have attribute OidcRequest.
[ERROR   ] CWWKS1629E: The OpenID Connect configuration service is not available for provider testprovider.
[ERROR   ] CWWKS1632E: The OAuth provider name referenced by the OpenID Connect provider testprovider was not found.
[ERROR   ] CWWKS1630E: OAuth20Provider object is null for the OpenID Connect provider testprovider.
[ERROR   ] CWWKS1625E: The OpenID Connect provider failed to validate the ID token due to [IDTokenValidatonFailedException].
[ERROR   ] OIDC_IDTOKEN_SIGNATURE_VERIFY_ERR 
                                                                                                               client01
                                                                                                               JWT rejected due to invalid signature. Additional details: [[9] Invalid JWS Signature: JsonWebSignature{"alg":"HS256"}->eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3lhbW1lcmxwOjgwMjAvb2lkYy9lbmRwb2ludC9vaWRjT3BDb25maWdTYW1wbGUiLCJub25jZSI6ImRlZmF1bHRfbm9uY2UiLCJpYXQiOjE0MDc4NzUyNjksInN1YiI6InVzZXIxIiwiZXhwIjoxNDA3ODgyNDY5LCJhdWQiOiJjbGllbnQwMSIsInJlYWxtTmFtZSI6IkJhc2ljUmVhbG0iLCJ1bmlxdWVTZWN1cml0eU5hbWUiOiJ1c2VyMSIsImF0X2hhc2giOiJSNHVPdl9JbTc5dDgteWRFZDl1TGVBIn0.E20YvyWVhZ2X6Cx46PHjlHZCQZaQqks_6sxfF9_cmDk]
                                                                                                               HS256
[ERROR   ] CWWKS1625E: The OpenID Connect provider failed to validate the ID token due to [SignatureException Message:JWT rejected due to invalid signature. Additional details: [[9] Invalid JWS Signature: JsonWebSignature{"alg":"HS256"}->eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL3lhbW1lcmxwOjgwMjAvb2lkYy9lbmRwb2ludC9vaWRjT3BDb25maWdTYW1wbGUiLCJub25jZSI6ImRlZmF1bHRfbm9uY2UiLCJpYXQiOjE0MDc4NzUyNjksInN1YiI6InVzZXIxIiwiZXhwIjoxNDA3ODgyNDY5LCJhdWQiOiJjbGllbnQwMSIsInJlYWxtTmFtZSI6IkJhc2ljUmVhbG0iLCJ1bmlxdWVTZWN1cml0eU5hbWUiOiJ1c2VyMSIsImF0X2hhc2giOiJSNHVPdl9JbTc5dDgteWRFZDl1TGVBIn0.E20YvyWVhZ2X6Cx46PHjlHZCQZaQqks_6sxfF9_cmDk]].
[ERROR   ] CWWKS1625E: The OpenID Connect provider failed to validate the ID token due to [com.google.gson.stream.MalformedJsonException: Unterminated string at line 1 column 15].
[ERROR   ] CWWKS1625E: The OpenID Connect provider failed to validate the ID token due to [Expected JWT to have 3 segments separated by '.', but it has 2 segments].
[ERROR   ] CWWKS1607E: The Authorization request has an invalid response type BadResponseType, valid response types are {'code', 'token', 'id_token token'}.
[ERROR   ] CWWKS1606E: Specified grant type authorization_code is not allowed. Allowed grant types are .
[ERROR   ] CWWKS1607E: The Authorization request has an invalid response type null, valid response types are {'code', 'token', 'id_token token'}.
[ERROR   ] CWWKS1606E: Specified grant type authorization_code is not allowed. Allowed grant types are .
[ERROR   ] CWWKS1607E: The Authorization request has an invalid response type badtoken, valid response types are {'code', 'token', 'id_token token'}.
[ERROR   ] CWWKS1608E: The Authorization request cannot have both code and token id_token as response types.
[ERROR   ] CWWKS1608E: The Authorization request cannot have both code and token id_token as response types.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.
[ERROR   ] CWWKS1610E: The OpenID Connect request is missing the required attribute Nonce.