[jboss-user] [Security & JAAS/JBoss] - Re: Federation 1.0 CR1 & jboss 4.2.1
p-nat
do-not-reply at jboss.com
Tue Apr 15 15:22:39 EDT 2008
"aamonten" wrote : did you read the Readme.txt file that comes with the bundle?
|
| Yes. But patches are for Jboss 4.0.4 and 4.0.5. Not for Jboss 4.2.1!
|
| can you post the error, so we can evaluate what happens.
I've amended the windows hosts file as suggested in order to simulate two domains.
I've started each instance with "run -c default -b node1.jboss.com" and "run -c default2 -b node1.jboss.org" respectively.
I am then able to access the application, and login successfully with the credentials user1:password, on the first instance using the URL:
http://node1.jboss.com:8080/test
However, when I then attempt to click on the "Cross Domain Get Tester" link, I get the following exception on the second instance (default2):
2007-03-20 11:00:14,711 ERROR [org.opensaml.SAMLObject] caught an exception while parsing a stream:
XML document structures must start and end within the same entity.
2007-03-20 11:00:14,727 ERROR [org.jboss.security.federation.servlet.SSOFederationServer] org.jboss.
security.federation.servlet.SSOFederationServer at 126f304
org.jboss.security.saml.SSOException: org.xml.sax.SAXParseException: XML document structures must st
art and end within the same entity.
at org.jboss.security.saml.JBossSingleSignOn.parseAuthResponse(JBossSingleSignOn.java:343)
at org.jboss.security.sso.util.SSOUtil.getUsername(SSOUtil.java:119)
at org.jboss.security.federation.servlet.SSOFederationServer.doPost(SSOFederationServer.java:158)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252
)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202
)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11Base
Protocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.xml.sax.SAXParseException: XML document structures must start and end within the same
entity.
at org.opensaml.SAMLObject.fromStream(Unknown Source)
at org.opensaml.SAMLResponse.(Unknown Source)
at org.jboss.security.saml.JBossSingleSignOn.parseAuthResponse(JBossSingleSignOn.java:281)
... 23 more
=======================================
Need patch for Jboss 4.2.1?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144325#4144325
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4144325
More information about the jboss-user
mailing list