[jboss-user] [Security & JAAS/JBoss] - JBoss and OpenSSO

sacauskis do-not-reply at jboss.com
Mon Mar 23 13:45:22 EDT 2009


I followed the instructions per the following link:
http://blog.jboss-portal.org/2007/10/jboss-portal-with-opensso-and-opends.html

I'm running opensso 8.0.   I get into an infinite loop between the portal and open sso and the following stack trace.  Anybody have any ideas?

2009-03-23 10:40:58,753 INFO  [STDOUT] amSDK:03/23/2009 10:40:58:752 AM PDT: Thread[http-0.0.0.0-8081-1,5,jboss]
Constructing a new instance of SSOTokenManager
2009-03-23 10:40:58,755 INFO  [STDOUT] amSDK:03/23/2009 10:40:58:755 AM PDT: Thread[http-0.0.0.0-8081-1,5,jboss]
Obtained Grappa SSO Provider
2009-03-23 10:40:58,760 INFO  [STDOUT] amSDK:03/23/2009 10:40:58:760 AM PDT: Thread[http-0.0.0.0-8081-1,5,jboss]
Obtained DPRO SSO Provider
2009-03-23 10:40:58,786 INFO  [STDOUT] amNaming:03/23/2009 10:40:58:786 AM PDT: Thread[http-0.0.0.0-8081-1,5,jboss]
ERROR: WebtopNaming.getServerId():noServerId
2009-03-23 10:40:58,815 INFO  [STDOUT] amNaming:03/23/2009 10:40:58:814 AM PDT: Thread[http-0.0.0.0-8081-1,5,jboss]
ERROR: WebtopNaming.getServerId()
java.lang.Exception: Cannot find server ID.
	at com.iplanet.services.naming.WebtopNaming.getServerID(WebtopNaming.java:626)
	at com.iplanet.services.naming.WebtopNaming.getServerID(WebtopNaming.java:590)
	at com.iplanet.services.naming.WebtopNaming.getAMServerID(WebtopNaming.java:226)
	at com.iplanet.dpro.session.Session.(Session.java:311)
	at com.iplanet.sso.providers.dpro.SSOProviderImpl.createSSOToken(SSOProviderImpl.java:88)
	at com.iplanet.sso.SSOTokenManager.createSSOToken(SSOTokenManager.java:239)
	at org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve.getToken(OpenSSOAuthenticationValve.java:214)
	at org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve.invoke(OpenSSOAuthenticationValve.java:76)
	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
	at java.lang.Thread.run(Thread.java:595)
2009-03-23 10:40:58,849 INFO  [STDOUT] amSSOProvider:03/23/2009 10:40:58:848 AM PDT: Thread[http-0.0.0.0-8081-1,5,jboss]
could not create SSOToken from HttpRequest
com.iplanet.dpro.session.SessionException: Invalid session ID.
	at com.iplanet.dpro.session.Session.getSession(Session.java:970)
	at com.iplanet.sso.providers.dpro.SSOProviderImpl.createSSOToken(SSOProviderImpl.java:88)
	at com.iplanet.sso.SSOTokenManager.createSSOToken(SSOTokenManager.java:239)
	at org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve.getToken(OpenSSOAuthenticationValve.java:214)
	at org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve.invoke(OpenSSOAuthenticationValve.java:76)
	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
	at java.lang.Thread.run(Thread.java:595)
2009-03-23 10:40:58,849 DEBUG [org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve] Failed to obtain SSO Token: com.iplanet.sso.SSOException: Invalid session ID.
2009-03-23 10:40:58,851 DEBUG [org.jboss.portal.identity.sso.opensso.OpenSSOAuthenticationValve] Checking if requested uri '/portal' matches secured url patterns: [/authsec/, /auth/, /sec/]

~

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220352#4220352

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220352



More information about the jboss-user mailing list