Loading…
Tilbage
×

Info

Der findes en nyere version af resourcen her

oiosaml.java 11147


NOTICE!: There has been released a new version: oiosaml.java 11220

------------------------------------------------------------------------------------------

This release contains a fix for an encoding bug in the SOAP Single Sign Out
(SSO) function causing users with language-specific characters in their names
to receive an error. Previous releases used the default character encoding of
the platform whereas the current release now uses UTF-8. In addition, a minor
update has been applied to the documentation.

Filer og referencer

Titel Type
oiosaml.java-11147.zip application/octet-stream
Profilbillede

Error 500: java.lang.NullPointerException

Gert Claesen

Hi Kasper

I have still the same problem when i push the button 'Configure system', I get the error

Error 500: java.lang.NullPointerException

Do you know what happened?

How can I find out what is wrong?

Kind regads,

Gert

Hi Kasper

I have a log, can you see something wrong in connection with that nullpointer?

Thanks

2014-07-15 13:52:00,622 DEBUG dk.itst.oiosaml.sp.service.session.SessionDestroyListener - Session: javax.servlet.http.HttpSessionEvent[source=# HttpSessionImpl #
{
_iSession=# com.ibm.ws.session.store.memory.MemorySession #
{
_sessionId=VutAfjHQz1fuph4tSN-z8UP
hashCode : 1046118985
create time : Tue Jul 15 13:52:00 CEST 2014
last access : Tue Jul 15 13:52:00 CEST 2014
max inactive interval : 1800
user name : anonymous
valid session : true
new session : true
overflowed : false
app name : default_host/Cconnect

Attribute Names=[]
_refCount=1
}

_httpSessionContext=com.ibm.ws.session.http.HttpSessionContextImpl@f1880708
}
]
2014-07-15 13:52:00,622 DEBUG dk.itst.oiosaml.sp.service.session.SessionDestroyListener - Session: javax.servlet.http.HttpSessionEvent[source=# HttpSessionImpl #
{
_iSession=# com.ibm.ws.session.store.memory.MemorySession #
{
_sessionId=VutAfjHQz1fuph4tSN-z8UP
hashCode : 1046118985
create time : Tue Jul 15 13:52:00 CEST 2014
last access : Tue Jul 15 13:52:00 CEST 2014
max inactive interval : 1800
user name : anonymous
valid session : true
new session : true
overflowed : false
app name : default_host/Cconnect

Attribute Names=[]
_refCount=1
}

_httpSessionContext=com.ibm.ws.session.http.HttpSessionContextImpl@f1880708
}
]
2014-07-15 13:52:07,922 INFO dk.itst.oiosaml.configuration.FileConfiguration - Config filename: \\bentdinawas01\WasDevOne_Cconnect_SAML\oiosaml-sp.properties
2014-07-15 13:52:07,922 INFO dk.itst.oiosaml.configuration.FileConfiguration - Config filename: \\bentdinawas01\WasDevOne_Cconnect_SAML\oiosaml-sp.properties
2014-07-15 13:52:07,922 INFO dk.itst.oiosaml.configuration.FileConfiguration - Looking in : \\bentdinawas01\WasDevOne_Cconnect_SAML\oiosaml-sp.properties
2014-07-15 13:52:07,922 INFO dk.itst.oiosaml.configuration.FileConfiguration - Looking in : \\bentdinawas01\WasDevOne_Cconnect_SAML\oiosaml-sp.properties
2014-07-15 13:52:07,938 DEBUG dk.itst.oiosaml.configuration.FileConfiguration - Loading config from wsjar:file:/D:/WebSphere_Was_Dev_One/AppServer/profiles/WAS_DEV_ONE/installedApps/BENTDINAWAS01Node01Cell/CarrefourConnect_war.ear/CarrefourConnect.war/WEB-INF/lib/oiosaml.java-11442.jar!/oiosaml-common.properties
2014-07-15 13:52:07,938 DEBUG dk.itst.oiosaml.configuration.FileConfiguration - Loading config from wsjar:file:/D:/WebSphere_Was_Dev_One/AppServer/profiles/WAS_DEV_ONE/installedApps/BENTDINAWAS01Node01Cell/CarrefourConnect_war.ear/CarrefourConnect.war/WEB-INF/lib/oiosaml.java-11442.jar!/oiosaml-common.properties
2014-07-15 13:52:07,954 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.login
2014-07-15 13:52:07,954 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.login
2014-07-15 13:52:07,985 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.Logout
2014-07-15 13:52:07,985 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.Logout
2014-07-15 13:52:07,985 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceSOAP
2014-07-15 13:52:07,985 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceSOAP
2014-07-15 13:52:07,985 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPRedirectResponse
2014-07-15 13:52:07,985 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPRedirectResponse
2014-07-15 13:52:07,985 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPRedirect
2014-07-15 13:52:07,985 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPRedirect
2014-07-15 13:52:07,985 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPPost
2014-07-15 13:52:07,985 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPPost
2014-07-15 13:52:07,985 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.SAMLAssertionConsumer
2014-07-15 13:52:07,985 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.SAMLAssertionConsumer
2014-07-15 13:52:08,000 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.metadata
2014-07-15 13:52:08,000 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.metadata
2014-07-15 13:52:08,000 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.certificate
2014-07-15 13:52:08,000 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.certificate
2014-07-15 13:52:08,016 INFO dk.itst.oiosaml.configuration.FileConfiguration - Config filename: \\bentdinawas01\WasDevOne_Cconnect_SAML\oiosaml-sp.properties
2014-07-15 13:52:08,016 INFO dk.itst.oiosaml.configuration.FileConfiguration - Config filename: \\bentdinawas01\WasDevOne_Cconnect_SAML\oiosaml-sp.properties
2014-07-15 13:52:08,016 INFO dk.itst.oiosaml.configuration.FileConfiguration - Looking in : \\bentdinawas01\WasDevOne_Cconnect_SAML\oiosaml-sp.properties
2014-07-15 13:52:08,016 INFO dk.itst.oiosaml.configuration.FileConfiguration - Looking in : \\bentdinawas01\WasDevOne_Cconnect_SAML\oiosaml-sp.properties
2014-07-15 13:52:08,016 DEBUG dk.itst.oiosaml.configuration.FileConfiguration - Loading config from wsjar:file:/D:/WebSphere_Was_Dev_One/AppServer/profiles/WAS_DEV_ONE/installedApps/BENTDINAWAS01Node01Cell/CarrefourConnect_war.ear/CarrefourConnect.war/WEB-INF/lib/oiosaml.java-11442.jar!/oiosaml-common.properties
2014-07-15 13:52:08,016 DEBUG dk.itst.oiosaml.configuration.FileConfiguration - Loading config from wsjar:file:/D:/WebSphere_Was_Dev_One/AppServer/profiles/WAS_DEV_ONE/installedApps/BENTDINAWAS01Node01Cell/CarrefourConnect_war.ear/CarrefourConnect.war/WEB-INF/lib/oiosaml.java-11442.jar!/oiosaml-common.properties
2014-07-15 13:52:08,016 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.login
2014-07-15 13:52:08,016 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.login
2014-07-15 13:52:08,016 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.Logout
2014-07-15 13:52:08,016 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.Logout
2014-07-15 13:52:08,016 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceSOAP
2014-07-15 13:52:08,016 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceSOAP
2014-07-15 13:52:08,016 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPRedirectResponse
2014-07-15 13:52:08,016 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPRedirectResponse
2014-07-15 13:52:08,016 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPRedirect
2014-07-15 13:52:08,016 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPRedirect
2014-07-15 13:52:08,016 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPPost
2014-07-15 13:52:08,016 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPPost
2014-07-15 13:52:08,016 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.SAMLAssertionConsumer
2014-07-15 13:52:08,016 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.SAMLAssertionConsumer
2014-07-15 13:52:08,016 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.metadata
2014-07-15 13:52:08,016 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.metadata
2014-07-15 13:52:08,016 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.certificate
2014-07-15 13:52:08,016 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.certificate
2014-07-15 13:52:08,016 INFO OIOSAML_AUDIT_LOGGER - Session created at: 1405425120622, timeout after 1800 seconds
2014-07-15 13:52:33,460 INFO dk.itst.oiosaml.configuration.FileConfiguration - Config filename: \\bentdinawas01\WasDevOne_Cconnect_SAML\oiosaml-sp.properties
2014-07-15 13:52:33,460 INFO dk.itst.oiosaml.configuration.FileConfiguration - Config filename: \\bentdinawas01\WasDevOne_Cconnect_SAML\oiosaml-sp.properties
2014-07-15 13:52:33,460 INFO dk.itst.oiosaml.configuration.FileConfiguration - Looking in : \\bentdinawas01\WasDevOne_Cconnect_SAML\oiosaml-sp.properties
2014-07-15 13:52:33,460 INFO dk.itst.oiosaml.configuration.FileConfiguration - Looking in : \\bentdinawas01\WasDevOne_Cconnect_SAML\oiosaml-sp.properties
2014-07-15 13:52:33,460 DEBUG dk.itst.oiosaml.configuration.FileConfiguration - Loading config from wsjar:file:/D:/WebSphere_Was_Dev_One/AppServer/profiles/WAS_DEV_ONE/installedApps/BENTDINAWAS01Node01Cell/CarrefourConnect_war.ear/CarrefourConnect.war/WEB-INF/lib/oiosaml.java-11442.jar!/oiosaml-common.properties
2014-07-15 13:52:33,460 DEBUG dk.itst.oiosaml.configuration.FileConfiguration - Loading config from wsjar:file:/D:/WebSphere_Was_Dev_One/AppServer/profiles/WAS_DEV_ONE/installedApps/BENTDINAWAS01Node01Cell/CarrefourConnect_war.ear/CarrefourConnect.war/WEB-INF/lib/oiosaml.java-11442.jar!/oiosaml-common.properties
2014-07-15 13:52:33,475 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.login
2014-07-15 13:52:33,475 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.login
2014-07-15 13:52:33,475 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.Logout
2014-07-15 13:52:33,475 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.Logout
2014-07-15 13:52:33,475 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceSOAP
2014-07-15 13:52:33,475 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceSOAP
2014-07-15 13:52:33,475 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPRedirectResponse
2014-07-15 13:52:33,475 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPRedirectResponse
2014-07-15 13:52:33,475 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPRedirect
2014-07-15 13:52:33,475 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPRedirect
2014-07-15 13:52:33,475 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPPost
2014-07-15 13:52:33,475 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPPost
2014-07-15 13:52:33,475 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.SAMLAssertionConsumer
2014-07-15 13:52:33,475 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.SAMLAssertionConsumer
2014-07-15 13:52:33,475 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.metadata
2014-07-15 13:52:33,475 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.metadata
2014-07-15 13:52:33,475 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.certificate
2014-07-15 13:52:33,475 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.certificate
2014-07-15 13:52:33,475 INFO OIOSAML_AUDIT_LOGGER - Session created at: 1405425120622, timeout after 1800 seconds
2014-07-15 13:52:33,678 ERROR dk.itst.oiosaml.sp.configuration.ConfigurationHandler - Unable to generate credential
java.lang.NullPointerException
at org.apache.xml.security.algorithms.JCEMapper.getJCEKeyAlgorithmFromURI(Unknown Source)
at dk.itst.oiosaml.security.SecurityHelper.generateKeyPairFromURI(SecurityHelper.java:142)
at dk.itst.oiosaml.sp.configuration.ConfigurationHandler.handlePost(ConfigurationHandler.java:215)
at dk.itst.oiosaml.sp.service.DispatcherServlet.doPost(DispatcherServlet.java:212)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:79)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:960)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1064)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:909)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862)
2014-07-15 13:52:33,678 ERROR dk.itst.oiosaml.sp.configuration.ConfigurationHandler - Unable to generate credential
java.lang.NullPointerException
at org.apache.xml.security.algorithms.JCEMapper.getJCEKeyAlgorithmFromURI(Unknown Source)
at dk.itst.oiosaml.security.SecurityHelper.generateKeyPairFromURI(SecurityHelper.java:142)
at dk.itst.oiosaml.sp.configuration.ConfigurationHandler.handlePost(ConfigurationHandler.java:215)
at dk.itst.oiosaml.sp.service.DispatcherServlet.doPost(DispatcherServlet.java:212)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:79)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:960)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1064)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:909)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862)
2014-07-15 13:52:33,678 ERROR OIOSAML_AUDIT_LOGGER - Dispatch:configure <-- 10.10.27.165 VutAfjHQz1fuph4tSN-z8UP '' '' 'Unable to generate credential'
java.lang.RuntimeException: Unable to generate credential
at dk.itst.oiosaml.sp.configuration.ConfigurationHandler.handlePost(ConfigurationHandler.java:233)
at dk.itst.oiosaml.sp.service.DispatcherServlet.doPost(DispatcherServlet.java:212)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:79)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:960)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1064)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:909)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862)
Caused by: java.lang.NullPointerException
at org.apache.xml.security.algorithms.JCEMapper.getJCEKeyAlgorithmFromURI(Unknown Source)
at dk.itst.oiosaml.security.SecurityHelper.generateKeyPairFromURI(SecurityHelper.java:142)
at dk.itst.oiosaml.sp.configuration.ConfigurationHandler.handlePost(ConfigurationHandler.java:215)
... 27 more
2014-07-15 13:52:33,678 ERROR dk.itst.oiosaml.sp.service.DispatcherServlet - Unable to validate Response
java.lang.RuntimeException: Unable to generate credential
at dk.itst.oiosaml.sp.configuration.ConfigurationHandler.handlePost(ConfigurationHandler.java:233)
at dk.itst.oiosaml.sp.service.DispatcherServlet.doPost(DispatcherServlet.java:212)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:79)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:960)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1064)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:909)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862)
Caused by: java.lang.NullPointerException
at org.apache.xml.security.algorithms.JCEMapper.getJCEKeyAlgorithmFromURI(Unknown Source)
at dk.itst.oiosaml.security.SecurityHelper.generateKeyPairFromURI(SecurityHelper.java:142)
at dk.itst.oiosaml.sp.configuration.ConfigurationHandler.handlePost(ConfigurationHandler.java:215)
... 27 more
2014-07-15 13:52:33,678 ERROR dk.itst.oiosaml.sp.service.DispatcherServlet - Unable to validate Response
java.lang.RuntimeException: Unable to generate credential
at dk.itst.oiosaml.sp.configuration.ConfigurationHandler.handlePost(ConfigurationHandler.java:233)
at dk.itst.oiosaml.sp.service.DispatcherServlet.doPost(DispatcherServlet.java:212)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:79)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:960)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1064)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:909)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862)
Caused by: java.lang.NullPointerException
at org.apache.xml.security.algorithms.JCEMapper.getJCEKeyAlgorithmFromURI(Unknown Source)
at dk.itst.oiosaml.security.SecurityHelper.generateKeyPairFromURI(SecurityHelper.java:142)
at dk.itst.oiosaml.sp.configuration.ConfigurationHandler.handlePost(ConfigurationHandler.java:215)
... 27 more
2014-07-15 14:01:10,197 DEBUG dk.itst.oiosaml.sp.service.session.SessionHandlerFactory - Creating new handler factory: null, config: null
2014-07-15 14:01:10,197 DEBUG dk.itst.oiosaml.sp.service.session.SessionHandlerFactory - Creating new handler factory: null, config: null
2014-07-15 14:01:10,197 WARN dk.itst.oiosaml.sp.service.session.SessionDestroyListener - No SessionHandler configured, skipping session destroy
2014-07-15 14:01:10,197 WARN dk.itst.oiosaml.sp.service.session.SessionDestroyListener - No SessionHandler configured, skipping session destroy

Hi Gert

The implementation of JCEMapper.getJCEKeyAlgorithmFromURI(algoURI) looks like this:

public static String getJCEKeyAlgorithmFromURI(String AlgorithmURI)
{
   return ((Algorithm) algorithmsMap.get(AlgorithmURI)).requiredKey;
}

It will give a null pointer exception in case that AlgorithmURI is not found. Bad implementation in the SDK you must say :)

Could it be that you have not installed "Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files" as stated under requirements?

Best regards

Kasper Møller

Hi Kasper

I have copied US_export_policy.jar and local_policy.jar to my lib path.

I create a new war, deploy it on websphere, try to configure saml but the nullpointer is still there.

Is there something else what can be wrong?

Thanks

Hi Gert

Have you putted the two files into:

[jdk_path]\jre\lib\security ?

Best regards

Kasper Møller

ændret af Kasper Vestergaard Møller (16.07.2014)

Hi Kasper

I put them in the same dir as where my saml jars are.

Is that wrong?

Best regards 

Gert

Hi Gert

You need to put them into [jdk_path]\jre\lib\security.

Best regards

Kasper Møller

ændret af Kasper Vestergaard Møller (16.07.2014)

Hi Kasper

Some people gonna control if the files are there.

But in the mean time, I write a piece of code to check:

try {
if (logger.isDebugEnabled()) logger.debug("JCE controle lengte" + Cipher.getMaxAllowedKeyLength(password));

} catch (NoSuchAlgorithmException e) {
// TODO Auto-generated catch block
if (logger.isDebugEnabled()) logger.debug("JCE controle fout " + e.getMessage());
e.printStackTrace();
}

This doesn't give an error. Do you think that this is a good test?

Best regards

Gert

Hallo Kasper

Now I have tried to use my keystore that I have created locally on a Tomcat server.

But this give the same error. Do you think that there is a solution for this problem?

Or do you say, it is better to use something else. This should be a big problem because we haven't now time anymore to change.

Because of this, I would really appreciate your help.

Can there be something else wrong? Maybe it is enough to create the necessary files locally on Tomcat and than put the files on the remote websphere site to let it work?

Does it work on a Websphere server???


Best regards

Gert

Hi Gert

I am not sure have much you have succeded with so far.

Do you still get the same nullpointer exception when configuering your service provider?

It should not matter whether or not your service provider runs in context of a Tomcat or Wepshere server. However, it is only release tested on Tomcat.

Best regards

Kasper Møller

Hi Kasper

I don't now wat happened but now we get the next message:

Unable to validate SAML message!

What is wrong now?

Best regards

Gert

Hi Gert

It is most likely a certificate issue.

Try double check that your metadata for the identity provider (IdP) is correct. Then verify that the certificate used in the SAMLResponse from the IdP is the same certificate as registered in the IdP meta data.

Also check that the IdP certificate is not self-issued, specifially one that has a OCSP and/or CRL address for revocation checks.

Best regards

Kasper Møller

Hi Kasper

What if the certificate well is self-issued?

Best regards 

Gert

Hi Kasper 

A few weeks ago I had a problem. You ask me to install some security files. Now this is happened. It is on a websphere environment.

I got still a problem, I put a log in this message. Can you please help me???

2014-08-04 09:01:21,278 INFO dk.itst.oiosaml.configuration.FileConfiguration - Config filename: \\bentdinawas01\WasDevOne_Cconnect_SAML\oiosaml-sp.properties
2014-08-04 09:01:21,278 INFO dk.itst.oiosaml.configuration.FileConfiguration - Config filename: \\bentdinawas01\WasDevOne_Cconnect_SAML\oiosaml-sp.properties
2014-08-04 09:01:21,933 INFO dk.itst.oiosaml.configuration.FileConfiguration - Looking in : \\bentdinawas01\WasDevOne_Cconnect_SAML\oiosaml-sp.properties
2014-08-04 09:01:21,933 INFO dk.itst.oiosaml.configuration.FileConfiguration - Looking in : \\bentdinawas01\WasDevOne_Cconnect_SAML\oiosaml-sp.properties
2014-08-04 09:01:25,459 DEBUG dk.itst.oiosaml.configuration.FileConfiguration - Loading config from wsjar:file:/D:/WebSphere_Was_Dev_One/AppServer/profiles/WAS_DEV_ONE/installedApps/BENTDINAWAS01Node01Cell/CarrefourConnect_war.ear/CarrefourConnect.war/WEB-INF/lib/oiosaml.java-11442.jar!/oiosaml-common.properties
2014-08-04 09:01:25,459 DEBUG dk.itst.oiosaml.configuration.FileConfiguration - Loading config from wsjar:file:/D:/WebSphere_Was_Dev_One/AppServer/profiles/WAS_DEV_ONE/installedApps/BENTDINAWAS01Node01Cell/CarrefourConnect_war.ear/CarrefourConnect.war/WEB-INF/lib/oiosaml.java-11442.jar!/oiosaml-common.properties
2014-08-04 09:01:26,348 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.login
2014-08-04 09:01:26,348 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.login
2014-08-04 09:01:27,175 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.Logout
2014-08-04 09:01:27,175 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.Logout
2014-08-04 09:01:27,971 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceSOAP
2014-08-04 09:01:27,971 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceSOAP
2014-08-04 09:01:28,782 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPRedirectResponse
2014-08-04 09:01:28,782 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPRedirectResponse
2014-08-04 09:01:29,593 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPRedirect
2014-08-04 09:01:29,593 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPRedirect
2014-08-04 09:01:30,404 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPPost
2014-08-04 09:01:30,404 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPPost
2014-08-04 09:01:31,215 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.SAMLAssertionConsumer
2014-08-04 09:01:31,215 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.SAMLAssertionConsumer
2014-08-04 09:01:32,089 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.metadata
2014-08-04 09:01:32,089 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.metadata
2014-08-04 09:01:32,885 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.certificate
2014-08-04 09:01:32,885 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.certificate
2014-08-04 09:01:33,727 INFO dk.itst.oiosaml.configuration.FileConfiguration - Config filename: \\bentdinawas01\WasDevOne_Cconnect_SAML\oiosaml-sp.properties
2014-08-04 09:01:33,727 INFO dk.itst.oiosaml.configuration.FileConfiguration - Config filename: \\bentdinawas01\WasDevOne_Cconnect_SAML\oiosaml-sp.properties
2014-08-04 09:01:33,899 INFO dk.itst.oiosaml.configuration.FileConfiguration - Looking in : \\bentdinawas01\WasDevOne_Cconnect_SAML\oiosaml-sp.properties
2014-08-04 09:01:33,899 INFO dk.itst.oiosaml.configuration.FileConfiguration - Looking in : \\bentdinawas01\WasDevOne_Cconnect_SAML\oiosaml-sp.properties
2014-08-04 09:01:33,899 DEBUG dk.itst.oiosaml.configuration.FileConfiguration - Loading config from wsjar:file:/D:/WebSphere_Was_Dev_One/AppServer/profiles/WAS_DEV_ONE/installedApps/BENTDINAWAS01Node01Cell/CarrefourConnect_war.ear/CarrefourConnect.war/WEB-INF/lib/oiosaml.java-11442.jar!/oiosaml-common.properties
2014-08-04 09:01:33,899 DEBUG dk.itst.oiosaml.configuration.FileConfiguration - Loading config from wsjar:file:/D:/WebSphere_Was_Dev_One/AppServer/profiles/WAS_DEV_ONE/installedApps/BENTDINAWAS01Node01Cell/CarrefourConnect_war.ear/CarrefourConnect.war/WEB-INF/lib/oiosaml.java-11442.jar!/oiosaml-common.properties
2014-08-04 09:01:33,899 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.login
2014-08-04 09:01:33,899 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.login
2014-08-04 09:01:33,899 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.Logout
2014-08-04 09:01:33,899 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.Logout
2014-08-04 09:01:33,899 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceSOAP
2014-08-04 09:01:33,899 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceSOAP
2014-08-04 09:01:33,899 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPRedirectResponse
2014-08-04 09:01:33,899 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPRedirectResponse
2014-08-04 09:01:33,899 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPRedirect
2014-08-04 09:01:33,899 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPRedirect
2014-08-04 09:01:33,899 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPPost
2014-08-04 09:01:33,899 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPPost
2014-08-04 09:01:33,899 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.SAMLAssertionConsumer
2014-08-04 09:01:33,899 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.SAMLAssertionConsumer
2014-08-04 09:01:33,899 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.metadata
2014-08-04 09:01:33,899 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.metadata
2014-08-04 09:01:33,914 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.certificate
2014-08-04 09:01:33,914 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.certificate
2014-08-04 09:01:33,914 INFO OIOSAML_AUDIT_LOGGER - Session created at: 1407135616803, timeout after 1800 seconds
2014-08-04 09:01:58,656 DEBUG dk.itst.oiosaml.sp.service.session.SessionHandlerFactory - Creating new handler factory: null, config: null
2014-08-04 09:01:58,656 DEBUG dk.itst.oiosaml.sp.service.session.SessionHandlerFactory - Creating new handler factory: null, config: null
2014-08-04 09:01:59,467 WARN dk.itst.oiosaml.sp.service.session.SessionDestroyListener - No SessionHandler configured, skipping session destroy
2014-08-04 09:01:59,467 WARN dk.itst.oiosaml.sp.service.session.SessionDestroyListener - No SessionHandler configured, skipping session destroy
2014-08-04 09:02:00,278 DEBUG dk.itst.oiosaml.sp.service.session.SessionHandlerFactory - Creating new handler factory: null, config: null
2014-08-04 09:02:00,278 DEBUG dk.itst.oiosaml.sp.service.session.SessionHandlerFactory - Creating new handler factory: null, config: null
2014-08-04 09:02:00,481 WARN dk.itst.oiosaml.sp.service.session.SessionDestroyListener - No SessionHandler configured, skipping session destroy
2014-08-04 09:02:00,481 WARN dk.itst.oiosaml.sp.service.session.SessionDestroyListener - No SessionHandler configured, skipping session destroy
2014-08-04 09:10:23,288 INFO dk.itst.oiosaml.configuration.FileConfiguration - Config filename: \\bentdinawas01\WasDevOne_Cconnect_SAML\oiosaml-sp.properties
2014-08-04 09:10:23,288 INFO dk.itst.oiosaml.configuration.FileConfiguration - Config filename: \\bentdinawas01\WasDevOne_Cconnect_SAML\oiosaml-sp.properties
2014-08-04 09:10:23,335 INFO dk.itst.oiosaml.configuration.FileConfiguration - Looking in : \\bentdinawas01\WasDevOne_Cconnect_SAML\oiosaml-sp.properties
2014-08-04 09:10:23,335 INFO dk.itst.oiosaml.configuration.FileConfiguration - Looking in : \\bentdinawas01\WasDevOne_Cconnect_SAML\oiosaml-sp.properties
2014-08-04 09:10:24,349 DEBUG dk.itst.oiosaml.configuration.FileConfiguration - Loading config from wsjar:file:/D:/WebSphere_Was_Dev_One/AppServer/profiles/WAS_DEV_ONE/installedApps/BENTDINAWAS01Node01Cell/CarrefourConnect_war.ear/CarrefourConnect.war/WEB-INF/lib/oiosaml.java-11442.jar!/oiosaml-common.properties
2014-08-04 09:10:24,349 DEBUG dk.itst.oiosaml.configuration.FileConfiguration - Loading config from wsjar:file:/D:/WebSphere_Was_Dev_One/AppServer/profiles/WAS_DEV_ONE/installedApps/BENTDINAWAS01Node01Cell/CarrefourConnect_war.ear/CarrefourConnect.war/WEB-INF/lib/oiosaml.java-11442.jar!/oiosaml-common.properties
2014-08-04 09:10:25,191 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.login
2014-08-04 09:10:25,191 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.login
2014-08-04 09:10:26,018 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.Logout
2014-08-04 09:10:26,018 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.Logout
2014-08-04 09:10:26,829 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceSOAP
2014-08-04 09:10:26,829 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceSOAP
2014-08-04 09:10:27,640 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPRedirectResponse
2014-08-04 09:10:27,640 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPRedirectResponse
2014-08-04 09:10:28,046 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPRedirect
2014-08-04 09:10:28,046 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPRedirect
2014-08-04 09:10:28,452 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPPost
2014-08-04 09:10:28,452 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.LogoutServiceHTTPPost
2014-08-04 09:10:28,857 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.SAMLAssertionConsumer
2014-08-04 09:10:28,857 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.SAMLAssertionConsumer
2014-08-04 09:10:29,668 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.metadata
2014-08-04 09:10:29,668 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.metadata
2014-08-04 09:10:30,480 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.certificate
2014-08-04 09:10:30,480 DEBUG dk.itst.oiosaml.sp.service.util.Utils - Checking oiosaml-sp.protocol.endpoints.certificate
2014-08-04 09:10:31,291 INFO OIOSAML_AUDIT_LOGGER - Session created at: 1407135616803, timeout after 1800 seconds
2014-08-04 09:10:37,078 ERROR dk.itst.oiosaml.sp.configuration.ConfigurationHandler - Unable to generate credential
java.lang.NullPointerException
at org.apache.xml.security.algorithms.JCEMapper.getJCEKeyAlgorithmFromURI(Unknown Source)
at dk.itst.oiosaml.security.SecurityHelper.generateKeyPairFromURI(SecurityHelper.java:142)
at dk.itst.oiosaml.sp.configuration.ConfigurationHandler.handlePost(ConfigurationHandler.java:215)
at dk.itst.oiosaml.sp.service.DispatcherServlet.doPost(DispatcherServlet.java:212)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:79)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:960)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1064)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:914)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:283)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1864)
2014-08-04 09:10:37,078 ERROR dk.itst.oiosaml.sp.configuration.ConfigurationHandler - Unable to generate credential
java.lang.NullPointerException
at org.apache.xml.security.algorithms.JCEMapper.getJCEKeyAlgorithmFromURI(Unknown Source)
at dk.itst.oiosaml.security.SecurityHelper.generateKeyPairFromURI(SecurityHelper.java:142)
at dk.itst.oiosaml.sp.configuration.ConfigurationHandler.handlePost(ConfigurationHandler.java:215)
at dk.itst.oiosaml.sp.service.DispatcherServlet.doPost(DispatcherServlet.java:212)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:79)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:960)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1064)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:914)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:283)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1864)
2014-08-04 09:10:37,344 ERROR OIOSAML_AUDIT_LOGGER - Dispatch:configure <-- 10.10.27.165 qGupqq7AqYv8fR-65JgAwdn '' '' 'Unable to generate credential'
java.lang.RuntimeException: Unable to generate credential
at dk.itst.oiosaml.sp.configuration.ConfigurationHandler.handlePost(ConfigurationHandler.java:233)
at dk.itst.oiosaml.sp.service.DispatcherServlet.doPost(DispatcherServlet.java:212)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:79)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:960)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1064)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:914)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:283)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1864)
Caused by: java.lang.NullPointerException
at org.apache.xml.security.algorithms.JCEMapper.getJCEKeyAlgorithmFromURI(Unknown Source)
at dk.itst.oiosaml.security.SecurityHelper.generateKeyPairFromURI(SecurityHelper.java:142)
at dk.itst.oiosaml.sp.configuration.ConfigurationHandler.handlePost(ConfigurationHandler.java:215)
... 29 more
2014-08-04 09:10:37,344 ERROR dk.itst.oiosaml.sp.service.DispatcherServlet - Unable to validate Response
java.lang.RuntimeException: Unable to generate credential
at dk.itst.oiosaml.sp.configuration.ConfigurationHandler.handlePost(ConfigurationHandler.java:233)
at dk.itst.oiosaml.sp.service.DispatcherServlet.doPost(DispatcherServlet.java:212)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:79)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:960)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1064)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:914)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:283)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1864)
Caused by: java.lang.NullPointerException
at org.apache.xml.security.algorithms.JCEMapper.getJCEKeyAlgorithmFromURI(Unknown Source)
at dk.itst.oiosaml.security.SecurityHelper.generateKeyPairFromURI(SecurityHelper.java:142)
at dk.itst.oiosaml.sp.configuration.ConfigurationHandler.handlePost(ConfigurationHandler.java:215)
... 29 more
2014-08-04 09:10:37,344 ERROR dk.itst.oiosaml.sp.service.DispatcherServlet - Unable to validate Response
java.lang.RuntimeException: Unable to generate credential
at dk.itst.oiosaml.sp.configuration.ConfigurationHandler.handlePost(ConfigurationHandler.java:233)
at dk.itst.oiosaml.sp.service.DispatcherServlet.doPost(DispatcherServlet.java:212)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:79)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:960)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1064)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:914)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:283)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1864)
Caused by: java.lang.NullPointerException
at org.apache.xml.security.algorithms.JCEMapper.getJCEKeyAlgorithmFromURI(Unknown Source)
at dk.itst.oiosaml.security.SecurityHelper.generateKeyPairFromURI(SecurityHelper.java:142)
at dk.itst.oiosaml.sp.configuration.ConfigurationHandler.handlePost(ConfigurationHandler.java:215)
... 29 more

Kind regards

Gert

Hi Gert

It looks like you have the samme error again regarding JCE not being properly registered.

I can not tell you why WebSphere is not loading JCE. You have to ensure that that the JDK/JRE which WebSphere is using has registered JCE.

Best regards

Kasper Møller

Hi Kasper

I have now delete all US_export_policy.jar and local_policy.jar from my system and it keeps going on. My system is a Tomcat.  Do you still think that the problem is that those files aren't there?

When I do this:

jceMapper.getJCEKeyAlgorithmFromURI("http://www.w3.org/2001/04/xmlenc#rsa-1_5")

I get :

RSA

When I do this on a websphere, I get a nullpointer.

Kind regards

Gert

Hi Gert

What happens if you test with:

jceMapper.getJCEKeyAlgorithmFromURI("http://www.w3.org/2001/04/xmlenc#rsa-1_5", 1024)?

Best regards

Kasper Møller

Hi Kasper

Our previous problem is solved.

Things wern't loaded at the right time.

But now I have a question about the redirect.

If I had a session.

I would be redirected to 

2014-08-05 16:23:58,045 DEBUG dk.itst.oiosaml.sp.bindings.RedirectBindingHandler - Issuing redirect to https://dev_login_connect.carrefour.eu/saml/idp/profile/redirectorpost/sso?SAMLRequest=fVJdT8IwFP0rzX3f1o0ZR8MwiDGaYCQyfPDFdN2dNBnt7O2IP98BI2L8eGzu%2Bbj3nE6uPrYN26EjbU0OcciBoVG20uYth3VxG2RwNZ2Q3DZJK2ad35gnfO%2BQPOuJhsRxkkPnjLCSNAkjt0jCK7GaPSxEEnLROuutsg2wGRE631vNraFui26FbqcVrp8WOWy8b0UUVbh7VdYYVD5U0jmsbedC7MSYZzyaD6NobxztLX5oArvp99NG%2BsNNe1kadBv7ps2v6kc9XbVRv22tG4wcVtr1MOtaS70fWWC31ik8pJBDLRtCYPc3ObxmpaxUyuMgS6o0SLEug%2FKyGgUlH2dJnJapSpMeSktJpHf4RSbq8N6Ql8bnkPA4DXgW8IsiTkUyEhdZyEf8BdhySPBam2Mz%2F8VdHkEk7opiGSwfVwWw51PDPQCGPsXB3Z0X%2Bb%2BwPCUN06GrPSn8q7BJdG4zHZ7ff9H0Ew%3D%3D&RelayState=_3ed7120e-ca70-40a8-90f7-fefab57363a7&SigAlg=http%3A%2F%2Fwww.w3.org%2F2000%2F09%2Fxmldsig%23rsa-sha1&Signature=S9TmDBxlbkpRlLyypnpM8GsSzZP%2BTuXN%2BVhYfrZKA2H%2FvOI8RCdtFdvN0zzYOyEwvl18BbYRmewNj67Qf1ixE0JUXmqCNzw%2FNkiSPmbV%2FBk%2BaCbSQ1AeRoQqRb13DKSwLiOtx2c0%2FR7d97hb%2FhqkdbiRE6HCscGJkJS4eJKLQJ0%3D

How can I manage this. I would be redirected to the page I want.

Kind regards.

Gert

Hi Gert

Make sure you have registered the dk.nita.saml20.Actions.RedirectAction action in the web.config file.

Then you will automatically get the behaviour where the user is redirected to the page that was original requested.

If you need another behaviour (like always redirecting to the same page after login) ... then make your own implementation of the IAction interface and register the implementation in the web.config file.

Best regards

Kasper Møller

Hi Gert

Please disregard my previous comment. This only concerns OIOSAML.Net.

Regarding OIOSAML.Java there is no configuration option or other method to override the redirection behaviour. It always redirects to the original requested page.

Best regards

Kasper Møller

Hi Kasper

How can we logout?

Regards

Gert

Profilbillede

Other home dir

Gert Claesen

I use 11442.

<env-entry>
<env-entry-name>oiosaml-j.home</env-entry-name>
<env-entry-value>/bentdinawas01/WasDevOne_Cconnect_SAML/</env-entry-value>
<env-entry-type>java.lang.String</env-entry-type>
</env-entry>

Is this the right way to use an other dir?

Thanks 

It

Hi Gert

It looks correct. This is a example from out test environment:


   oiosaml-j.home
   java.lang.String
   c:\oiosaml-config

Best regards

Kasper Møller

ændret af Kasper Vestergaard Møller (15.07.2014)
Profilbillede

oiosaml.java-11442

Gert Claesen

Is there somewhere a simple tutorial to use this SAML tool?

We would use this but it is not so simple to understand?

Thanks

Hi Gert

Please take a look at the documentation located here:

https://view.softwareborsen.dk/Softwareborsen/oiosaml.java/sp/trunk/docs/index.html

Please notice that you have to connect to an IdP that uses a certificate which is not selfsigned.

Best regards
Kasper Møller 

Do you use version 11147 or 11442?

I think there was a bug regarding saml/configure in 11147.

Best regards

Kasper Møller