Class com.ibm.ws.security.saml.sso20.metadata.MetadataHandlerTest
|
100%
successful |
Tests
Test | Duration | Result |
---|---|---|
getSamuelVersionTest | 0.006s | passed |
handleRequestWithMocks | 0.018s | passed |
Standard output
[WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [true] in the configuration of samlWebSso20 [id]. The attributes [authnRequestsSigned, forceAuthn, isPassive, allowCreate, authnContextClassRef, authnContextComparisonType, nameIDFormat, customizeNameIDFormat, idpMetadata, loginPageURL, errorPageURL, tokenReplayTimeout, sessionNotOnOrAfter, includeTokenInSubject, spCookieName, spHostAndPort, targetPageUrl, httpsRequired, allowCustomCacheKey, createSession, reAuthnOnAssertionExpire, reAuthnCushion] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [true] in the configuration of samlWebSso20 [id]. The attributes [authnRequestsSigned, forceAuthn, isPassive, allowCreate, authnContextClassRef, authnContextComparisonType, nameIDFormat, customizeNameIDFormat, idpMetadata, loginPageURL, errorPageURL, tokenReplayTimeout, sessionNotOnOrAfter, includeTokenInSubject, spCookieName, spHostAndPort, targetPageUrl, httpsRequired, allowCustomCacheKey, createSession, reAuthnOnAssertionExpire, reAuthnCushion] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [true] in the configuration of samlWebSso20 [id]. The attributes [authnRequestsSigned, forceAuthn, isPassive, allowCreate, authnContextClassRef, authnContextComparisonType, nameIDFormat, customizeNameIDFormat, idpMetadata, loginPageURL, errorPageURL, tokenReplayTimeout, sessionNotOnOrAfter, includeTokenInSubject, spCookieName, spHostAndPort, targetPageUrl, httpsRequired, allowCustomCacheKey, createSession, reAuthnOnAssertionExpire, reAuthnCushion] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [true] in the configuration of samlWebSso20 [id]. The attributes [authnRequestsSigned, forceAuthn, isPassive, allowCreate, authnContextClassRef, authnContextComparisonType, nameIDFormat, customizeNameIDFormat, idpMetadata, loginPageURL, errorPageURL, tokenReplayTimeout, sessionNotOnOrAfter, includeTokenInSubject, spCookieName, spHostAndPort, targetPageUrl, httpsRequired, allowCustomCacheKey, createSession, reAuthnOnAssertionExpire, reAuthnCushion] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [true] in the configuration of samlWebSso20 [id]. The attributes [authnRequestsSigned, forceAuthn, isPassive, allowCreate, authnContextClassRef, authnContextComparisonType, nameIDFormat, customizeNameIDFormat, idpMetadata, loginPageURL, errorPageURL, tokenReplayTimeout, sessionNotOnOrAfter, includeTokenInSubject, spCookieName, spHostAndPort, targetPageUrl, httpsRequired, allowCustomCacheKey, createSession, reAuthnOnAssertionExpire, reAuthnCushion] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [true] in the configuration of samlWebSso20 [id]. The attributes [authnRequestsSigned, forceAuthn, isPassive, allowCreate, authnContextClassRef, authnContextComparisonType, nameIDFormat, customizeNameIDFormat, idpMetadata, loginPageURL, errorPageURL, tokenReplayTimeout, sessionNotOnOrAfter, includeTokenInSubject, spCookieName, spHostAndPort, targetPageUrl, httpsRequired, allowCustomCacheKey, createSession, reAuthnOnAssertionExpire, reAuthnCushion] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [null]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [null]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [null]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [null]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [null]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [null]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [null]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [null]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [null]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [null]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [null]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [null]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [null]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [null]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [true] in the configuration of samlWebSso20 [id]. The attributes [authnRequestsSigned, forceAuthn, isPassive, allowCreate, authnContextClassRef, authnContextComparisonType, nameIDFormat, customizeNameIDFormat, idpMetadata, loginPageURL, errorPageURL, tokenReplayTimeout, sessionNotOnOrAfter, includeTokenInSubject, spCookieName, spHostAndPort, targetPageUrl, httpsRequired, allowCustomCacheKey, createSession, reAuthnOnAssertionExpire, reAuthnCushion] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [true] in the configuration of samlWebSso20 [id]. The attributes [authnRequestsSigned, forceAuthn, isPassive, allowCreate, authnContextClassRef, authnContextComparisonType, nameIDFormat, customizeNameIDFormat, idpMetadata, loginPageURL, errorPageURL, tokenReplayTimeout, sessionNotOnOrAfter, includeTokenInSubject, spCookieName, spHostAndPort, targetPageUrl, httpsRequired, allowCustomCacheKey, createSession, reAuthnOnAssertionExpire, reAuthnCushion] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [true] in the configuration of samlWebSso20 [id]. The attributes [authnRequestsSigned, forceAuthn, isPassive, allowCreate, authnContextClassRef, authnContextComparisonType, nameIDFormat, customizeNameIDFormat, idpMetadata, loginPageURL, errorPageURL, tokenReplayTimeout, sessionNotOnOrAfter, includeTokenInSubject, spCookieName, spHostAndPort, targetPageUrl, httpsRequired, allowCustomCacheKey, createSession, reAuthnOnAssertionExpire, reAuthnCushion] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [true] in the configuration of samlWebSso20 [id]. The attributes [authnRequestsSigned, forceAuthn, isPassive, allowCreate, authnContextClassRef, authnContextComparisonType, nameIDFormat, customizeNameIDFormat, idpMetadata, loginPageURL, errorPageURL, tokenReplayTimeout, sessionNotOnOrAfter, includeTokenInSubject, spCookieName, spHostAndPort, targetPageUrl, httpsRequired, allowCustomCacheKey, createSession, reAuthnOnAssertionExpire, reAuthnCushion] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [true] in the configuration of samlWebSso20 [id]. The attributes [authnRequestsSigned, forceAuthn, isPassive, allowCreate, authnContextClassRef, authnContextComparisonType, nameIDFormat, customizeNameIDFormat, idpMetadata, loginPageURL, errorPageURL, tokenReplayTimeout, sessionNotOnOrAfter, includeTokenInSubject, spCookieName, spHostAndPort, targetPageUrl, httpsRequired, allowCustomCacheKey, createSession, reAuthnOnAssertionExpire, reAuthnCushion] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [true] in the configuration of samlWebSso20 [id]. The attributes [authnRequestsSigned, forceAuthn, isPassive, allowCreate, authnContextClassRef, authnContextComparisonType, nameIDFormat, customizeNameIDFormat, idpMetadata, loginPageURL, errorPageURL, tokenReplayTimeout, sessionNotOnOrAfter, includeTokenInSubject, spCookieName, spHostAndPort, targetPageUrl, httpsRequired, allowCustomCacheKey, createSession, reAuthnOnAssertionExpire, reAuthnCushion] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [null]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [null]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [null]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [null]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [null]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [null]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [null]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [null]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [null]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [null]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [null]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [null]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [null]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [null]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing. [WARNING ] CWWKS5207W: The inboundPropagation attribute is set to [false] in the configuration of samlWebSso20 [providerId]. The attributes [headerName, audiences] will be ignored during processing.
Standard error
[ERROR ] Unable to compute signature, Signature XMLObject does not have the XMLSignature created during marshalling. [ERROR ] CWWKS5007E: An internal server error occurred while processing SAML Web Single Sign-On (SSO) request [org.opensaml.xml.signature.SignatureException]. Cause:[XMLObject does not have an XMLSignature instance, unable to compute signature], StackTrace: [ org.opensaml.xml.signature.Signer.signObject(Signer.java:74) com.ibm.ws.security.saml.sso20.sp.Solicited.signAuthnRequest(Solicited.java:446) com.ibm.ws.security.saml.sso20.sp.Solicited.sendAuthRequestToIdp(Solicited.java:121) com.ibm.ws.security.saml.sso20.sp.SolicitedTest.testSendAuthRequestToIdp_AuthnRequestsIsSigned(SolicitedTest.java:389) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) .... ]. [ERROR ] CWWKS5073E: The service provider [b07b804c] cannot find the private key in the [unitTestKeyStoreRef] keystore. [ERROR ] CWWKS5079E: The service provider [b07b804c] cannot find the identity provider (IdP) URL using the [IDP] metadata file. [ERROR ] CWWKS5080E: The service provider [b07b804c] cannot find the identity provider (IdP) URL because the idpMetadata is missing in the SAML WebSSO configuration. [ERROR ] CWWKS5007E: An internal server error occurred while processing SAML Web Single Sign-On (SSO) request [org.opensaml.saml2.metadata.provider.MetadataProviderException]. Cause:[null], StackTrace: [ org.jmock.lib.action.ThrowAction.invoke(ThrowAction.java:27) org.jmock.internal.InvocationExpectation.invoke(InvocationExpectation.java:114) org.jmock.internal.InvocationDispatcher.dispatch(InvocationDispatcher.java:52) org.jmock.Mockery.dispatch(Mockery.java:218) org.jmock.Mockery.access$000(Mockery.java:43) org.jmock.Mockery$MockObject.invoke(Mockery.java:258) .... ]. [ERROR ] CWWKS5079E: The service provider [b07b804c] cannot find the identity provider (IdP) URL using the [null] metadata file. [ERROR ] CWWKS5007E: An internal server error occurred while processing SAML Web Single Sign-On (SSO) request [org.opensaml.xml.io.MarshallingException]. Cause:[Unable to create Document to place marshalled elements in], StackTrace: [ org.opensaml.xml.io.AbstractXMLObjectMarshaller.marshall(AbstractXMLObjectMarshaller.java:87) com.ibm.ws.security.saml.sso20.sp.Solicited.getAuthnRequestString(Solicited.java:458) com.ibm.ws.security.saml.sso20.sp.SolicitedTest.testGetAuthnRequestString_BadDocument(SolicitedTest.java:588) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) .... ]. [ERROR ] CWWKS5014W: The URL [] that is specified by the [postLogoutRedirectUrl] attribute in the [] configuration is not valid. The default post-logout page will be used. [ERROR ] CWWKS5014W: The URL [not a valid URL] that is specified by the [postLogoutRedirectUrl] attribute in the [] configuration is not valid. The default post-logout page will be used. [ERROR ] CWWKS5014W: The URL [] that is specified by the [postLogoutRedirectUrl] attribute in the [ftp://localhost] configuration is not valid. The default post-logout page will be used. [ERROR ] CWWKS5014W: The URL [not a valid URL] that is specified by the [postLogoutRedirectUrl] attribute in the [] configuration is not valid. The default post-logout page will be used. [ERROR ] CWWKS5014W: The URL [] that is specified by the [postLogoutRedirectUrl] attribute in the [] configuration is not valid. The default post-logout page will be used. [ERROR ] CWWKS5014W: The URL [not a valid URL] that is specified by the [postLogoutRedirectUrl] attribute in the [] configuration is not valid. The default post-logout page will be used. [ERROR ] CWWKS5007E: An internal server error occurred while processing SAML Web Single Sign-On (SSO) request [java.security.cert.CertificateException]. Cause:[Could not parse certificate: java.io.IOException: Empty input], StackTrace: [ java.base/sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:110) java.base/java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:355) com.ibm.ws.security.saml.sso20.token.Saml20TokenImpl.handleSamlSignature(Saml20TokenImpl.java:331) com.ibm.ws.security.saml.sso20.token.Saml20TokenImpl.init(Saml20TokenImpl.java:139) com.ibm.ws.security.saml.sso20.token.Saml20TokenImpl.<init>(Saml20TokenImpl.java:107) com.ibm.ws.security.saml.sso20.token.Saml20TokenImplTest.handleSamlSignatureShouldThrowSamlExceptionWhileTryingToGenerateACertificateFromABadInput(Saml20TokenImplTest.java:869) .... ]. [ERROR ] CWWKS5006E: A SAML Web SSO Version 2.0 service provider was configured with an empty id attribute. The id attribute for SAML Web SSO service providers must not be empty. [ERROR ] CWWKS5006E: A SAML Web SSO Version 2.0 service provider was configured with an empty id attribute. The id attribute for SAML Web SSO service providers must not be empty. [ERROR ] CWWKS5006E: A SAML Web SSO Version 2.0 service provider was configured with an empty id attribute. The id attribute for SAML Web SSO service providers must not be empty. [ERROR ] CWWKS5006E: A SAML Web SSO Version 2.0 service provider was configured with an empty id attribute. The id attribute for SAML Web SSO service providers must not be empty. [ERROR ] CWWKS5006E: A SAML Web SSO Version 2.0 service provider was configured with an empty id attribute. The id attribute for SAML Web SSO service providers must not be empty. [ERROR ] CWWKS5006E: A SAML Web SSO Version 2.0 service provider was configured with an empty id attribute. The id attribute for SAML Web SSO service providers must not be empty. [ERROR ] CWWKS5006E: A SAML Web SSO Version 2.0 service provider was configured with an empty id attribute. The id attribute for SAML Web SSO service providers must not be empty. [ERROR ] CWWKS5006E: A SAML Web SSO Version 2.0 service provider was configured with an empty id attribute. The id attribute for SAML Web SSO service providers must not be empty. [ERROR ] CWWKS5006E: A SAML Web SSO Version 2.0 service provider was configured with an empty id attribute. The id attribute for SAML Web SSO service providers must not be empty. [ERROR ] CWWKS5006E: A SAML Web SSO Version 2.0 service provider was configured with an empty id attribute. The id attribute for SAML Web SSO service providers must not be empty. [ERROR ] CWWKS5006E: A SAML Web SSO Version 2.0 service provider was configured with an empty id attribute. The id attribute for SAML Web SSO service providers must not be empty. [ERROR ] CWWKS5006E: A SAML Web SSO Version 2.0 service provider was configured with an empty id attribute. The id attribute for SAML Web SSO service providers must not be empty. [ERROR ] CWWKS5006E: A SAML Web SSO Version 2.0 service provider was configured with an empty id attribute. The id attribute for SAML Web SSO service providers must not be empty. [ERROR ] CWWKS5007E: An internal server error occurred while processing SAML Web Single Sign-On (SSO) request [java.security.KeyStoreException]. Cause:[null], StackTrace: [ org.jmock.lib.action.ThrowAction.invoke(ThrowAction.java:27) org.jmock.internal.InvocationExpectation.invoke(InvocationExpectation.java:114) org.jmock.internal.InvocationDispatcher.dispatch(InvocationDispatcher.java:52) org.jmock.Mockery.dispatch(Mockery.java:218) org.jmock.Mockery.access$000(Mockery.java:43) org.jmock.Mockery$MockObject.invoke(Mockery.java:258) .... ]. [ERROR ] CWWKS5006E: A SAML Web SSO Version 2.0 service provider was configured with an empty id attribute. The id attribute for SAML Web SSO service providers must not be empty. [ERROR ] CWWKS5007E: An internal server error occurred while processing SAML Web Single Sign-On (SSO) request [java.security.cert.CertificateException]. Cause:[null], StackTrace: [ org.jmock.lib.action.ThrowAction.invoke(ThrowAction.java:27) org.jmock.internal.InvocationExpectation.invoke(InvocationExpectation.java:114) org.jmock.internal.InvocationDispatcher.dispatch(InvocationDispatcher.java:52) org.jmock.Mockery.dispatch(Mockery.java:218) org.jmock.Mockery.access$000(Mockery.java:43) org.jmock.Mockery$MockObject.invoke(Mockery.java:258) .... ]. [ERROR ] CWWKS5023E: The identity provider (IdP) metadata file [test/resources/IdpMetadata/IdpMetadata.xml] in the service provider (SP) [null] is not valid. The cause of the error is [null] [ERROR ] CWWKS5023E: The identity provider (IdP) metadata file [test/resources/IdpMetadata/IdpMetadata.xml] in the service provider (SP) [null] is not valid. The cause of the error is [null] [ERROR ] Unable to unmarshall metadata element org.opensaml.xml.io.UnmarshallingException [ERROR ] Metadata provider failed to properly initialize, fail-fast=true, halting Unable to unmarshall metadata element [ERROR ] CWWKS5023E: The identity provider (IdP) metadata file [test/resources/IdpMetadata/IdpMetadata.xml] in the service provider (SP) [null] is not valid. The cause of the error is [Unable to unmarshall metadata element] [ERROR ] CWWKS5068E: The SAML assertion does not contain a [user name] attribute. A [user name] attribute is required. [ERROR ] CWWKS5068E: The SAML assertion does not contain a [user name] attribute. A [user name] attribute is required. [ERROR ] CWWKS5076E: The UserCredentialResolver fails to resolve the SAML Assertion and throws a UserIdentityException with the message [null]. [ERROR ] CWWKS5068E: The SAML assertion does not contain a [realm] attribute. A [realm] attribute is required. [ERROR ] CWWKS5068E: The SAML assertion does not contain a [realm] attribute. A [realm] attribute is required. [ERROR ] CWWKS5076E: The UserCredentialResolver fails to resolve the SAML Assertion and throws a UserIdentityException with the message [null]. [ERROR ] CWWKS5068E: The SAML assertion does not contain a [unique user name] attribute. A [unique user name] attribute is required. [ERROR ] CWWKS5068E: The SAML assertion does not contain a [unique user name] attribute. A [unique user name] attribute is required. [ERROR ] CWWKS5076E: The UserCredentialResolver fails to resolve the SAML Assertion and throws a UserIdentityException with the message [null]. [ERROR ] CWWKS5041E: The expected RelayState parameter was not included in the SAML response message from the IdP. [ERROR ] CWWKS5041E: The expected RelayState parameter was not included in the SAML response message from the IdP. [ERROR ] Cannot process the request because SAML Response from the IdP is missing [ERROR ] CWWKS5008E: The SAML response from the identity provider (IdP) [https://idp.example.org/SAML2] has a status code other than Success. Status code: [urn:oasis:names:tc:SAML:2.0:status:Invalid]. Status Message:[Invalid URI was found.]. [ERROR ] CWWKS5010E: The SAML response contains a SAML Assertion version [1.1] that is not supported by the runtime. The required version is 2.0. [ERROR ] CWWKS5012E: The destination [http://test.gdl.mex.ibm.com:9080/ibm/saml20/SAML2/acs] in the SAML response is not valid. The expected destination is [http://test.bad.gdl.mex.ibm.com:9080/ibm/saml20/SAML2/acs]. [ERROR ] CWWKS5044E: The Issuer element in the SAML assertion has a Format attribute [invalid_format] that is not supported, the format must be omitted or set to [urn:oasis:names:tc:SAML:2.0:nameid-format:entity]. [ERROR ] CWWKS5045E: The value for the Issuer element [https://idp.example.org/SAML2] in the SAML assertion is not valid. [ERROR ] CWWKS5045E: The value for the Issuer element [https://idp.example.org/SAML2] in the SAML assertion is not valid. [ERROR ] CWWKS5011E: The IssueInstant [3020-04-01T18:14:59.486+01:00] in the SAML response is out of range. The current time is [2020-04-01T18:14:59.491+01:00]. The current clock skew setting is 60 seconds. [ERROR ] CWWKS5011E: The IssueInstant [2020-04-01T18:14:59.524+01:00] in the SAML response is out of range. The current time is [2020-04-01T18:14:59.524+01:00]. The current clock skew setting is 0 seconds. [ERROR ] CWWKS5011E: The IssueInstant [2020-04-01T18:12:59.560+01:00] in the SAML response is out of range. The current time is [2020-04-01T18:14:59.560+01:00]. The current clock skew setting is 60 seconds. [ERROR ] CWWKS5011E: The IssueInstant [2020-04-01T18:16:59.583+01:00] in the SAML response is out of range. The current time is [2020-04-01T18:14:59.584+01:00]. The current clock skew setting is 0 seconds. [ERROR ] CWWKS5046E: There is an error while verifying the SAML response message Signature. [ERROR ] CWWKS5007E: An internal server error occurred while processing SAML Web Single Sign-On (SSO) request [org.opensaml.ws.security.SecurityPolicyException]. Cause:[The server is configured with the signature method http://www.w3.org/2001/04/xmldsig-more#rsa-sha512 but the received SAML assertion is signed with the signature method http://www.w3.org/2000/09/xmldsig#rsa-sha1, the signature method provided is weaker than the required.], StackTrace: [ com.ibm.ws.security.saml.sso20.acs.SAMLMessageXMLSignatureSecurityPolicyRule.evaluateSignatureMethod(SAMLMessageXMLSignatureSecurityPolicyRule.java:202) com.ibm.ws.security.saml.sso20.acs.SAMLMessageXMLSignatureSecurityPolicyRule.evaluate(SAMLMessageXMLSignatureSecurityPolicyRule.java:188) com.ibm.ws.security.saml.sso20.acs.SAMLMessageXMLSignatureSecurityPolicyRule.evaluateProtocol(SAMLMessageXMLSignatureSecurityPolicyRule.java:162) com.ibm.ws.security.saml.sso20.acs.ResponseValidator.verifyResponseSignature(ResponseValidator.java:547) com.ibm.ws.security.saml.sso20.acs.ResponseValidatorTest.testVerifyResponseSignature_ThrowsSecurityPolicyException(ResponseValidatorTest.java:584) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) .... ]. [ERROR ] Invalid content type, expected text/html but was Invalid-Content-Type [ERROR ] Cannot process the request because SAML Response from the IdP is missing [ERROR ] CWWKS5044E: The Issuer element in the SAML assertion has a Format attribute [unmatched format] that is not supported, the format must be omitted or set to [urn:oasis:names:tc:SAML:2.0:nameid-format:entity]. [ERROR ] CWWKS5045E: The value for the Issuer element [] in the SAML assertion is not valid. [ERROR ] CWWKS5048E: There is an error while verifying the SAML assertion Signature. [ERROR ] CWWKS5049E: The SAML assertion Signature is not trusted or is not valid. [org.opensaml.ws.security.SecurityPolicyException: The server is configured with the signature method http://www.w3.org/2001/04/xmldsig-more#rsa-sha512 but the received SAML assertion is signed with the signature method http://www.w3.org/2000/09/xmldsig#rsa-sha1, the signature method provided is weaker than the required. at com.ibm.ws.security.saml.sso20.acs.SAMLMessageXMLSignatureSecurityPolicyRule.evaluateSignatureMethod(SAMLMessageXMLSignatureSecurityPolicyRule.java:202) at com.ibm.ws.security.saml.sso20.acs.SAMLMessageXMLSignatureSecurityPolicyRule.evaluate(SAMLMessageXMLSignatureSecurityPolicyRule.java:188) at com.ibm.ws.security.saml.sso20.acs.SAMLMessageXMLSignatureSecurityPolicyRule.evaluateAssertion(SAMLMessageXMLSignatureSecurityPolicyRule.java:142) at com.ibm.ws.security.saml.sso20.acs.AssertionValidator.verifyAssertionSignature(AssertionValidator.java:110) at com.ibm.ws.security.saml.sso20.acs.AssertionValidatorTest.testVerifyAssertionSignature(AssertionValidatorTest.java:398) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at test.common.SharedOutputManager$1.evaluate(SharedOutputManager.java:620) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:47) at org.junit.rules.RunRules.evaluate(RunRules.java:18) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30) at org.junit.runners.ParentRunner.run(ParentRunner.java:300) at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110) at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58) at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38) at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62) at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51) at jdk.internal.reflect.GeneratedMethodAccessor15.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33) at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94) at com.sun.proxy.$Proxy2.processTestClass(Unknown Source) at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:118) at jdk.internal.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182) at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164) at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:412) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64) at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56) at java.base/java.lang.Thread.run(Thread.java:825) ] [ERROR ] CWWKSS5065E: The Method attribute [urn:oasis:names:tc:SAML:2.0:cm:holder-of-key] for the SubjectConfirmationData element in the the SAML assertion is not supported. The supported value is ["urn:oasis:names:tc:SAML:2.0:cm:bearer"]. [ERROR ] CWWKS5050E: The SAML assertion does not contain a [SubjectConfirmationData] element. A [SubjectConfirmationData] element is required. [ERROR ] CWWKS5051E: The SAML assertion contains a SubjectConfirmationData element with a NotBefore attribute. This condition is not allowed. [ERROR ] CWWKS5052E: The [NotOnOrAfter] attribute on the [SubjectConfirmationData] element in the SAML assertion is missing or empty. This condition is not allowed. [ERROR ] CWWKS5053E: The NotOnOrAfter attribute [1020-04-01T18:15:00.141-00:01:15] in the SubjectConfirmationData element is out of range. The current time is [01/04/2020, 18:15]. The current clock skew setting is 0 seconds. [ERROR ] CWWKS5052E: The [Recipient] attribute on the [SubjectConfirmationData] element in the SAML assertion is missing or empty. This condition is not allowed. [ERROR ] CWWKS5055E: The Recipient [recipient_does_not_match] in the SAML assertion does not match the AssertionConsumerService (ACS) URL: [http://mx-gdl:8010/ibm/saml20/edu/acs]. [ERROR ] CWWKS5055E: The Recipient [http://bogusmachine.ibm.com] in the SAML assertion does not match the AssertionConsumerService (ACS) URL: [http://mx-gdl:8010/ibm/saml20/edu/acs]. [ERROR ] CWWKSS5065E: The Method attribute [null] for the SubjectConfirmationData element in the the SAML assertion is not supported. The supported value is ["urn:oasis:names:tc:SAML:2.0:cm:bearer"]. [ERROR ] CWWKS5050E: The SAML assertion does not contain a [AudienceRestriction] element. A [AudienceRestriction] element is required. [ERROR ] CWWKS5057E: The NotBefore attribute [3020-04-01T18:15:00.261+01:00] is out of range. The current time is [01/04/2020, 18:15]. The current clock skew setting is 0 seconds. [ERROR ] CWWKS5058E: The NotOnOrAfter condition [1020-04-01T18:15:00.277-00:01:15] is out of range. The current time is [01/04/2020, 18:15]. The current clock skew setting is 0 minutes. [ERROR ] CWWKS5059E: The Conditions element in the SAML assertion contains an attribute [unknown_condition] that is not supported. [ERROR ] CWWKS5060E: The value [http://audience.ibm.com] for the Audience element in the SAML assertion is not valid. The expected value for the Audience element is [http://mx-gdl:8010/ibm/saml20/invalid_providerID]. [ERROR ] CWWKS5052E: The [Audience] attribute on the [Conditions] element in the SAML assertion is missing or empty. This condition is not allowed. [ERROR ] CWWKS5062E: The SessionNotOnOrAfter attribute [2020-04-01T18:12:00.365+01:00] is out of range. The current time is [01/04/2020, 18:15]. The current clock skew setting is 0 seconds. [ERROR ] CWWKS5007E: An internal server error occurred while processing SAML Web Single Sign-On (SSO) request [java.lang.NullPointerException]. Cause:[null], StackTrace: [ com.ibm.ws.security.saml.sso20.internal.utils.MsgCtxUtil.validateIssuer(MsgCtxUtil.java:254) com.ibm.ws.security.saml.sso20.acs.AssertionValidator.validateIssuer(AssertionValidator.java:89) com.ibm.ws.security.saml.sso20.acs.AssertionValidator.validateAssertion(AssertionValidator.java:65) com.ibm.ws.security.saml.sso20.acs.WebSSOConsumer.handleSAMLResponse(WebSSOConsumer.java:92) com.ibm.ws.security.saml.sso20.acs.WebSSOConsumerTest.testHandleSAMLResponse_NullIssuer(WebSSOConsumerTest.java:343) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) .... ]. [ERROR ] CWWKS5050E: The SAML assertion does not contain a [Subject] element. A [Subject] element is required. [ERROR ] CWWKS5050E: The SAML assertion does not contain a [AuthnStatement] element. A [AuthnStatement] element is required. [ERROR ] CWWKS5007E: An internal server error occurred while processing SAML Web Single Sign-On (SSO) request [java.lang.NullPointerException]. Cause:[null], StackTrace: [ com.ibm.ws.security.saml.sso20.acs.WebSSOConsumer.handleSAMLResponse(WebSSOConsumer.java:126) com.ibm.ws.security.saml.sso20.acs.WebSSOConsumerTest.testHandleSAMLResponse_EmptyListAssertion(WebSSOConsumerTest.java:404) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.base/java.lang.reflect.Method.invoke(Method.java:566) .... ]. [ERROR ] CWWKS5009E: The SAML Response from Identity Provider [https://idp.example.org/SAML2] does not contain an assertion. [ERROR ] CWWKS5007E: An internal server error occurred while processing SAML Web Single Sign-On (SSO) request [java.lang.NullPointerException]. Cause:[null], StackTrace: [ com.ibm.ws.security.saml.sso20.acs.WebSSOConsumer.handleSAMLResponse(WebSSOConsumer.java:68) com.ibm.ws.security.saml.sso20.acs.WebSSOConsumerTest.testHandleSAMLResponse_NullInstance(WebSSOConsumerTest.java:437) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.base/java.lang.reflect.Method.invoke(Method.java:566) .... ]. [ERROR ] CWWKS5007E: An internal server error occurred while processing SAML Web Single Sign-On (SSO) request [java.lang.IllegalStateException]. Cause:[tried to return a java.lang.String from a method that can only return a org.opensaml.saml2.core.Assertion], StackTrace: [ org.jmock.api.Invocation.reportTypeError(Invocation.java:151) org.jmock.api.Invocation.checkReturnTypeCompatibility(Invocation.java:119) org.jmock.internal.InvocationExpectation.invoke(InvocationExpectation.java:115) org.jmock.internal.InvocationDispatcher.dispatch(InvocationDispatcher.java:52) org.jmock.Mockery.dispatch(Mockery.java:218) org.jmock.Mockery.access$000(Mockery.java:43) .... ]. [ERROR ] Unable to compute signature, Signature XMLObject does not have the XMLSignature created during marshalling. [ERROR ] CWWKS5007E: An internal server error occurred while processing SAML Web Single Sign-On (SSO) request [org.opensaml.xml.signature.SignatureException]. Cause:[XMLObject does not have an XMLSignature instance, unable to compute signature], StackTrace: [ org.opensaml.xml.signature.Signer.signObject(Signer.java:74) com.ibm.ws.security.saml.sso20.sp.Solicited.signAuthnRequest(Solicited.java:446) com.ibm.ws.security.saml.sso20.sp.Solicited.sendAuthRequestToIdp(Solicited.java:121) com.ibm.ws.security.saml.sso20.sp.SolicitedTest.testSendAuthRequestToIdp_AuthnRequestsIsSigned(SolicitedTest.java:389) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) .... ]. [ERROR ] CWWKS5073E: The service provider [b07b804c] cannot find the private key in the [unitTestKeyStoreRef] keystore. [ERROR ] CWWKS5079E: The service provider [b07b804c] cannot find the identity provider (IdP) URL using the [IDP] metadata file. [ERROR ] CWWKS5080E: The service provider [b07b804c] cannot find the identity provider (IdP) URL because the idpMetadata is missing in the SAML WebSSO configuration. [ERROR ] CWWKS5007E: An internal server error occurred while processing SAML Web Single Sign-On (SSO) request [org.opensaml.saml2.metadata.provider.MetadataProviderException]. Cause:[null], StackTrace: [ org.jmock.lib.action.ThrowAction.invoke(ThrowAction.java:27) org.jmock.internal.InvocationExpectation.invoke(InvocationExpectation.java:114) org.jmock.internal.InvocationDispatcher.dispatch(InvocationDispatcher.java:52) org.jmock.Mockery.dispatch(Mockery.java:218) org.jmock.Mockery.access$000(Mockery.java:43) org.jmock.Mockery$MockObject.invoke(Mockery.java:258) .... ]. [ERROR ] CWWKS5079E: The service provider [b07b804c] cannot find the identity provider (IdP) URL using the [null] metadata file. [ERROR ] CWWKS5007E: An internal server error occurred while processing SAML Web Single Sign-On (SSO) request [org.opensaml.xml.io.MarshallingException]. Cause:[Unable to create Document to place marshalled elements in], StackTrace: [ org.opensaml.xml.io.AbstractXMLObjectMarshaller.marshall(AbstractXMLObjectMarshaller.java:87) com.ibm.ws.security.saml.sso20.sp.Solicited.getAuthnRequestString(Solicited.java:458) com.ibm.ws.security.saml.sso20.sp.SolicitedTest.testGetAuthnRequestString_BadDocument(SolicitedTest.java:588) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) .... ]. [ERROR ] CWWKS5014W: The URL [] that is specified by the [postLogoutRedirectUrl] attribute in the [] configuration is not valid. The default post-logout page will be used. [ERROR ] CWWKS5014W: The URL [not a valid URL] that is specified by the [postLogoutRedirectUrl] attribute in the [] configuration is not valid. The default post-logout page will be used. [ERROR ] CWWKS5014W: The URL [] that is specified by the [postLogoutRedirectUrl] attribute in the [ftp://localhost] configuration is not valid. The default post-logout page will be used. [ERROR ] CWWKS5014W: The URL [not a valid URL] that is specified by the [postLogoutRedirectUrl] attribute in the [] configuration is not valid. The default post-logout page will be used. [ERROR ] CWWKS5014W: The URL [] that is specified by the [postLogoutRedirectUrl] attribute in the [] configuration is not valid. The default post-logout page will be used. [ERROR ] CWWKS5014W: The URL [not a valid URL] that is specified by the [postLogoutRedirectUrl] attribute in the [] configuration is not valid. The default post-logout page will be used. [ERROR ] CWWKS5007E: An internal server error occurred while processing SAML Web Single Sign-On (SSO) request [java.security.cert.CertificateException]. Cause:[Could not parse certificate: java.io.IOException: Empty input], StackTrace: [ java.base/sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:110) java.base/java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:355) com.ibm.ws.security.saml.sso20.token.Saml20TokenImpl.handleSamlSignature(Saml20TokenImpl.java:331) com.ibm.ws.security.saml.sso20.token.Saml20TokenImpl.init(Saml20TokenImpl.java:139) com.ibm.ws.security.saml.sso20.token.Saml20TokenImpl.<init>(Saml20TokenImpl.java:107) com.ibm.ws.security.saml.sso20.token.Saml20TokenImplTest.handleSamlSignatureShouldThrowSamlExceptionWhileTryingToGenerateACertificateFromABadInput(Saml20TokenImplTest.java:869) .... ]. [ERROR ] CWWKS5006E: A SAML Web SSO Version 2.0 service provider was configured with an empty id attribute. The id attribute for SAML Web SSO service providers must not be empty. [ERROR ] CWWKS5006E: A SAML Web SSO Version 2.0 service provider was configured with an empty id attribute. The id attribute for SAML Web SSO service providers must not be empty. [ERROR ] CWWKS5006E: A SAML Web SSO Version 2.0 service provider was configured with an empty id attribute. The id attribute for SAML Web SSO service providers must not be empty. [ERROR ] CWWKS5006E: A SAML Web SSO Version 2.0 service provider was configured with an empty id attribute. The id attribute for SAML Web SSO service providers must not be empty. [ERROR ] CWWKS5006E: A SAML Web SSO Version 2.0 service provider was configured with an empty id attribute. The id attribute for SAML Web SSO service providers must not be empty. [ERROR ] CWWKS5006E: A SAML Web SSO Version 2.0 service provider was configured with an empty id attribute. The id attribute for SAML Web SSO service providers must not be empty. [ERROR ] CWWKS5006E: A SAML Web SSO Version 2.0 service provider was configured with an empty id attribute. The id attribute for SAML Web SSO service providers must not be empty. [ERROR ] CWWKS5006E: A SAML Web SSO Version 2.0 service provider was configured with an empty id attribute. The id attribute for SAML Web SSO service providers must not be empty. [ERROR ] CWWKS5006E: A SAML Web SSO Version 2.0 service provider was configured with an empty id attribute. The id attribute for SAML Web SSO service providers must not be empty. [ERROR ] CWWKS5006E: A SAML Web SSO Version 2.0 service provider was configured with an empty id attribute. The id attribute for SAML Web SSO service providers must not be empty. [ERROR ] CWWKS5006E: A SAML Web SSO Version 2.0 service provider was configured with an empty id attribute. The id attribute for SAML Web SSO service providers must not be empty. [ERROR ] CWWKS5006E: A SAML Web SSO Version 2.0 service provider was configured with an empty id attribute. The id attribute for SAML Web SSO service providers must not be empty. [ERROR ] CWWKS5006E: A SAML Web SSO Version 2.0 service provider was configured with an empty id attribute. The id attribute for SAML Web SSO service providers must not be empty. [ERROR ] CWWKS5007E: An internal server error occurred while processing SAML Web Single Sign-On (SSO) request [java.security.KeyStoreException]. Cause:[null], StackTrace: [ org.jmock.lib.action.ThrowAction.invoke(ThrowAction.java:27) org.jmock.internal.InvocationExpectation.invoke(InvocationExpectation.java:114) org.jmock.internal.InvocationDispatcher.dispatch(InvocationDispatcher.java:52) org.jmock.Mockery.dispatch(Mockery.java:218) org.jmock.Mockery.access$000(Mockery.java:43) org.jmock.Mockery$MockObject.invoke(Mockery.java:258) .... ]. [ERROR ] CWWKS5006E: A SAML Web SSO Version 2.0 service provider was configured with an empty id attribute. The id attribute for SAML Web SSO service providers must not be empty. [ERROR ] CWWKS5007E: An internal server error occurred while processing SAML Web Single Sign-On (SSO) request [java.security.cert.CertificateException]. Cause:[null], StackTrace: [ org.jmock.lib.action.ThrowAction.invoke(ThrowAction.java:27) org.jmock.internal.InvocationExpectation.invoke(InvocationExpectation.java:114) org.jmock.internal.InvocationDispatcher.dispatch(InvocationDispatcher.java:52) org.jmock.Mockery.dispatch(Mockery.java:218) org.jmock.Mockery.access$000(Mockery.java:43) org.jmock.Mockery$MockObject.invoke(Mockery.java:258) .... ]. [ERROR ] CWWKS5023E: The identity provider (IdP) metadata file [test/resources/IdpMetadata/IdpMetadata.xml] in the service provider (SP) [null] is not valid. The cause of the error is [null] [ERROR ] CWWKS5023E: The identity provider (IdP) metadata file [test/resources/IdpMetadata/IdpMetadata.xml] in the service provider (SP) [null] is not valid. The cause of the error is [null] [ERROR ] Unable to unmarshall metadata element org.opensaml.xml.io.UnmarshallingException [ERROR ] Metadata provider failed to properly initialize, fail-fast=true, halting Unable to unmarshall metadata element [ERROR ] CWWKS5023E: The identity provider (IdP) metadata file [test/resources/IdpMetadata/IdpMetadata.xml] in the service provider (SP) [null] is not valid. The cause of the error is [Unable to unmarshall metadata element] [ERROR ] CWWKS5068E: The SAML assertion does not contain a [user name] attribute. A [user name] attribute is required. [ERROR ] CWWKS5068E: The SAML assertion does not contain a [user name] attribute. A [user name] attribute is required. [ERROR ] CWWKS5076E: The UserCredentialResolver fails to resolve the SAML Assertion and throws a UserIdentityException with the message [null]. [ERROR ] CWWKS5068E: The SAML assertion does not contain a [realm] attribute. A [realm] attribute is required. [ERROR ] CWWKS5068E: The SAML assertion does not contain a [realm] attribute. A [realm] attribute is required. [ERROR ] CWWKS5076E: The UserCredentialResolver fails to resolve the SAML Assertion and throws a UserIdentityException with the message [null]. [ERROR ] CWWKS5068E: The SAML assertion does not contain a [unique user name] attribute. A [unique user name] attribute is required. [ERROR ] CWWKS5068E: The SAML assertion does not contain a [unique user name] attribute. A [unique user name] attribute is required. [ERROR ] CWWKS5076E: The UserCredentialResolver fails to resolve the SAML Assertion and throws a UserIdentityException with the message [null]. [ERROR ] CWWKS5041E: The expected RelayState parameter was not included in the SAML response message from the IdP. [ERROR ] CWWKS5041E: The expected RelayState parameter was not included in the SAML response message from the IdP. [ERROR ] Cannot process the request because SAML Response from the IdP is missing [ERROR ] CWWKS5008E: The SAML response from the identity provider (IdP) [https://idp.example.org/SAML2] has a status code other than Success. Status code: [urn:oasis:names:tc:SAML:2.0:status:Invalid]. Status Message:[Invalid URI was found.]. [ERROR ] CWWKS5010E: The SAML response contains a SAML Assertion version [1.1] that is not supported by the runtime. The required version is 2.0. [ERROR ] CWWKS5012E: The destination [http://test.gdl.mex.ibm.com:9080/ibm/saml20/SAML2/acs] in the SAML response is not valid. The expected destination is [http://test.bad.gdl.mex.ibm.com:9080/ibm/saml20/SAML2/acs]. [ERROR ] CWWKS5044E: The Issuer element in the SAML assertion has a Format attribute [invalid_format] that is not supported, the format must be omitted or set to [urn:oasis:names:tc:SAML:2.0:nameid-format:entity]. [ERROR ] CWWKS5045E: The value for the Issuer element [https://idp.example.org/SAML2] in the SAML assertion is not valid. [ERROR ] CWWKS5045E: The value for the Issuer element [https://idp.example.org/SAML2] in the SAML assertion is not valid. [ERROR ] CWWKS5011E: The IssueInstant [3020-04-01T18:14:59.486+01:00] in the SAML response is out of range. The current time is [2020-04-01T18:14:59.491+01:00]. The current clock skew setting is 60 seconds. [ERROR ] CWWKS5011E: The IssueInstant [2020-04-01T18:14:59.524+01:00] in the SAML response is out of range. The current time is [2020-04-01T18:14:59.524+01:00]. The current clock skew setting is 0 seconds. [ERROR ] CWWKS5011E: The IssueInstant [2020-04-01T18:12:59.560+01:00] in the SAML response is out of range. The current time is [2020-04-01T18:14:59.560+01:00]. The current clock skew setting is 60 seconds. [ERROR ] CWWKS5011E: The IssueInstant [2020-04-01T18:16:59.583+01:00] in the SAML response is out of range. The current time is [2020-04-01T18:14:59.584+01:00]. The current clock skew setting is 0 seconds. [ERROR ] CWWKS5046E: There is an error while verifying the SAML response message Signature. [ERROR ] CWWKS5007E: An internal server error occurred while processing SAML Web Single Sign-On (SSO) request [org.opensaml.ws.security.SecurityPolicyException]. Cause:[The server is configured with the signature method http://www.w3.org/2001/04/xmldsig-more#rsa-sha512 but the received SAML assertion is signed with the signature method http://www.w3.org/2000/09/xmldsig#rsa-sha1, the signature method provided is weaker than the required.], StackTrace: [ com.ibm.ws.security.saml.sso20.acs.SAMLMessageXMLSignatureSecurityPolicyRule.evaluateSignatureMethod(SAMLMessageXMLSignatureSecurityPolicyRule.java:202) com.ibm.ws.security.saml.sso20.acs.SAMLMessageXMLSignatureSecurityPolicyRule.evaluate(SAMLMessageXMLSignatureSecurityPolicyRule.java:188) com.ibm.ws.security.saml.sso20.acs.SAMLMessageXMLSignatureSecurityPolicyRule.evaluateProtocol(SAMLMessageXMLSignatureSecurityPolicyRule.java:162) com.ibm.ws.security.saml.sso20.acs.ResponseValidator.verifyResponseSignature(ResponseValidator.java:547) com.ibm.ws.security.saml.sso20.acs.ResponseValidatorTest.testVerifyResponseSignature_ThrowsSecurityPolicyException(ResponseValidatorTest.java:584) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) .... ]. [ERROR ] Invalid content type, expected text/html but was Invalid-Content-Type [ERROR ] Cannot process the request because SAML Response from the IdP is missing [ERROR ] CWWKS5044E: The Issuer element in the SAML assertion has a Format attribute [unmatched format] that is not supported, the format must be omitted or set to [urn:oasis:names:tc:SAML:2.0:nameid-format:entity]. [ERROR ] CWWKS5045E: The value for the Issuer element [] in the SAML assertion is not valid. [ERROR ] CWWKS5048E: There is an error while verifying the SAML assertion Signature. [ERROR ] CWWKS5049E: The SAML assertion Signature is not trusted or is not valid. [org.opensaml.ws.security.SecurityPolicyException: The server is configured with the signature method http://www.w3.org/2001/04/xmldsig-more#rsa-sha512 but the received SAML assertion is signed with the signature method http://www.w3.org/2000/09/xmldsig#rsa-sha1, the signature method provided is weaker than the required. at com.ibm.ws.security.saml.sso20.acs.SAMLMessageXMLSignatureSecurityPolicyRule.evaluateSignatureMethod(SAMLMessageXMLSignatureSecurityPolicyRule.java:202) at com.ibm.ws.security.saml.sso20.acs.SAMLMessageXMLSignatureSecurityPolicyRule.evaluate(SAMLMessageXMLSignatureSecurityPolicyRule.java:188) at com.ibm.ws.security.saml.sso20.acs.SAMLMessageXMLSignatureSecurityPolicyRule.evaluateAssertion(SAMLMessageXMLSignatureSecurityPolicyRule.java:142) at com.ibm.ws.security.saml.sso20.acs.AssertionValidator.verifyAssertionSignature(AssertionValidator.java:110) at com.ibm.ws.security.saml.sso20.acs.AssertionValidatorTest.testVerifyAssertionSignature(AssertionValidatorTest.java:398) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at test.common.SharedOutputManager$1.evaluate(SharedOutputManager.java:620) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:47) at org.junit.rules.RunRules.evaluate(RunRules.java:18) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30) at org.junit.runners.ParentRunner.run(ParentRunner.java:300) at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110) at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58) at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38) at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62) at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51) at jdk.internal.reflect.GeneratedMethodAccessor15.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33) at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94) at com.sun.proxy.$Proxy2.processTestClass(Unknown Source) at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:118) at jdk.internal.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182) at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164) at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:412) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64) at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56) at java.base/java.lang.Thread.run(Thread.java:825) ] [ERROR ] CWWKSS5065E: The Method attribute [urn:oasis:names:tc:SAML:2.0:cm:holder-of-key] for the SubjectConfirmationData element in the the SAML assertion is not supported. The supported value is ["urn:oasis:names:tc:SAML:2.0:cm:bearer"]. [ERROR ] CWWKS5050E: The SAML assertion does not contain a [SubjectConfirmationData] element. A [SubjectConfirmationData] element is required. [ERROR ] CWWKS5051E: The SAML assertion contains a SubjectConfirmationData element with a NotBefore attribute. This condition is not allowed. [ERROR ] CWWKS5052E: The [NotOnOrAfter] attribute on the [SubjectConfirmationData] element in the SAML assertion is missing or empty. This condition is not allowed. [ERROR ] CWWKS5053E: The NotOnOrAfter attribute [1020-04-01T18:15:00.141-00:01:15] in the SubjectConfirmationData element is out of range. The current time is [01/04/2020, 18:15]. The current clock skew setting is 0 seconds. [ERROR ] CWWKS5052E: The [Recipient] attribute on the [SubjectConfirmationData] element in the SAML assertion is missing or empty. This condition is not allowed. [ERROR ] CWWKS5055E: The Recipient [recipient_does_not_match] in the SAML assertion does not match the AssertionConsumerService (ACS) URL: [http://mx-gdl:8010/ibm/saml20/edu/acs]. [ERROR ] CWWKS5055E: The Recipient [http://bogusmachine.ibm.com] in the SAML assertion does not match the AssertionConsumerService (ACS) URL: [http://mx-gdl:8010/ibm/saml20/edu/acs]. [ERROR ] CWWKSS5065E: The Method attribute [null] for the SubjectConfirmationData element in the the SAML assertion is not supported. The supported value is ["urn:oasis:names:tc:SAML:2.0:cm:bearer"]. [ERROR ] CWWKS5050E: The SAML assertion does not contain a [AudienceRestriction] element. A [AudienceRestriction] element is required. [ERROR ] CWWKS5057E: The NotBefore attribute [3020-04-01T18:15:00.261+01:00] is out of range. The current time is [01/04/2020, 18:15]. The current clock skew setting is 0 seconds. [ERROR ] CWWKS5058E: The NotOnOrAfter condition [1020-04-01T18:15:00.277-00:01:15] is out of range. The current time is [01/04/2020, 18:15]. The current clock skew setting is 0 minutes. [ERROR ] CWWKS5059E: The Conditions element in the SAML assertion contains an attribute [unknown_condition] that is not supported. [ERROR ] CWWKS5060E: The value [http://audience.ibm.com] for the Audience element in the SAML assertion is not valid. The expected value for the Audience element is [http://mx-gdl:8010/ibm/saml20/invalid_providerID]. [ERROR ] CWWKS5052E: The [Audience] attribute on the [Conditions] element in the SAML assertion is missing or empty. This condition is not allowed. [ERROR ] CWWKS5062E: The SessionNotOnOrAfter attribute [2020-04-01T18:12:00.365+01:00] is out of range. The current time is [01/04/2020, 18:15]. The current clock skew setting is 0 seconds. [ERROR ] CWWKS5007E: An internal server error occurred while processing SAML Web Single Sign-On (SSO) request [java.lang.NullPointerException]. Cause:[null], StackTrace: [ com.ibm.ws.security.saml.sso20.internal.utils.MsgCtxUtil.validateIssuer(MsgCtxUtil.java:254) com.ibm.ws.security.saml.sso20.acs.AssertionValidator.validateIssuer(AssertionValidator.java:89) com.ibm.ws.security.saml.sso20.acs.AssertionValidator.validateAssertion(AssertionValidator.java:65) com.ibm.ws.security.saml.sso20.acs.WebSSOConsumer.handleSAMLResponse(WebSSOConsumer.java:92) com.ibm.ws.security.saml.sso20.acs.WebSSOConsumerTest.testHandleSAMLResponse_NullIssuer(WebSSOConsumerTest.java:343) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) .... ]. [ERROR ] CWWKS5050E: The SAML assertion does not contain a [Subject] element. A [Subject] element is required. [ERROR ] CWWKS5050E: The SAML assertion does not contain a [AuthnStatement] element. A [AuthnStatement] element is required. [ERROR ] CWWKS5007E: An internal server error occurred while processing SAML Web Single Sign-On (SSO) request [java.lang.NullPointerException]. Cause:[null], StackTrace: [ com.ibm.ws.security.saml.sso20.acs.WebSSOConsumer.handleSAMLResponse(WebSSOConsumer.java:126) com.ibm.ws.security.saml.sso20.acs.WebSSOConsumerTest.testHandleSAMLResponse_EmptyListAssertion(WebSSOConsumerTest.java:404) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.base/java.lang.reflect.Method.invoke(Method.java:566) .... ]. [ERROR ] CWWKS5009E: The SAML Response from Identity Provider [https://idp.example.org/SAML2] does not contain an assertion. [ERROR ] CWWKS5007E: An internal server error occurred while processing SAML Web Single Sign-On (SSO) request [java.lang.NullPointerException]. Cause:[null], StackTrace: [ com.ibm.ws.security.saml.sso20.acs.WebSSOConsumer.handleSAMLResponse(WebSSOConsumer.java:68) com.ibm.ws.security.saml.sso20.acs.WebSSOConsumerTest.testHandleSAMLResponse_NullInstance(WebSSOConsumerTest.java:437) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.base/java.lang.reflect.Method.invoke(Method.java:566) .... ]. [ERROR ] CWWKS5007E: An internal server error occurred while processing SAML Web Single Sign-On (SSO) request [java.lang.IllegalStateException]. Cause:[tried to return a java.lang.String from a method that can only return a org.opensaml.saml2.core.Assertion], StackTrace: [ org.jmock.api.Invocation.reportTypeError(Invocation.java:151) org.jmock.api.Invocation.checkReturnTypeCompatibility(Invocation.java:119) org.jmock.internal.InvocationExpectation.invoke(InvocationExpectation.java:115) org.jmock.internal.InvocationDispatcher.dispatch(InvocationDispatcher.java:52) org.jmock.Mockery.dispatch(Mockery.java:218) org.jmock.Mockery.access$000(Mockery.java:43) .... ].