Class com.ibm.ws.security.saml.sso20.rs.RsSamlHandlerTest
|
100%
successful |
Tests
Test | Duration | Result |
---|---|---|
testGetHeaderContentFromAuthorizationHeader | 0.015s | passed |
testGetHeaderContentFromAuthorizationHeaderBad | 0.014s | passed |
testGetHeaderContentFromHeader | 0.010s | 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 [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 [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.
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 ] 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 ] 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.