Can you test this using the current trunk?
since we moved from EntryServlet to the filters its hard to track
this error, if you could please test this with
the current trunk I can look in to it.
In addition please send the detailed debug logs either from magnolia
or jboss
Regards,
Sameer Charles
Magnolia International Ltd.
------------------------------------------------------------------------
---------
[EMAIL PROTECTED] http://www.magnolia.info
Magnolia® - Simple Enterprise Content Management
------------------------------------------------------------------------
---------
On Oct 3, 2006, at 4:32 PM, Sonal Goyal wrote:
Hi,
I have a web application in JBoss which uses SimpleUserLogin and
reads user and role credentials from a properties file. When I access
this webapp, I am prompted for username and password, which I supply
and get authenticated. Now, in the same window, I change the url to
http://localhost:8080/magnoliaAuthor and I get the following
exception. I am not sure why this is happening, but I think the single
sign on is not working. Any clues?
-Sonal
Error
null
javax.servlet.ServletException
at info.magnolia.cms.servlets.EntryServlet.doGet(EntryServlet.java:
176)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
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 info.magnolia.cms.cache.CacheFilter.doFilter(CacheFilter.java:93)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:173)
at info.magnolia.cms.filters.MagnoliaManagedFilter
$CustomFilterChain.doFilter(MagnoliaManagedFilter.java:80)
at info.magnolia.cms.filters.UnsetContextFilter.doFilter
(UnsetContextFilter.java:44)
at info.magnolia.cms.filters.MagnoliaManagedFilter
$CustomFilterChain.doFilter(MagnoliaManagedFilter.java:84)
at info.magnolia.cms.security.SecurityFilter.doFilter
(SecurityFilter.java:96)
at info.magnolia.cms.filters.MagnoliaManagedFilter
$CustomFilterChain.doFilter(MagnoliaManagedFilter.java:84)
at info.magnolia.cms.filters.MultipartRequestFilter.doFilter
(MultipartRequestFilter.java:80)
at info.magnolia.cms.filters.MagnoliaManagedFilter
$CustomFilterChain.doFilter(MagnoliaManagedFilter.java:84)
at info.magnolia.cms.filters.ContentTypeFilter.doFilter
(ContentTypeFilter.java:66)
at info.magnolia.cms.filters.MagnoliaManagedFilter
$CustomFilterChain.doFilter(MagnoliaManagedFilter.java:84)
at info.magnolia.cms.filters.MagnoliaManagedFilter.doFilter
(MagnoliaManagedFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:202)
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.apache.catalina.authenticator.SingleSignOn.invoke
(SingleSignOn.java:419)
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(Http11BaseProtocol.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)
On 9/20/06, Sameer Charles <[email protected]> wrote:
> I wish to use single sign on
> between the Magnolia Author and Public instances,
magnolia authenticate using JAAS and it always checks if the request
has already been authenticated,
so if you could authenticate against the container either by using
Jboss auth or via custom LoginModule you will not be
asked for credentials again in magnolia.
Regards,
Sameer Charles
Magnolia International Ltd.
---------------------------------------------------------------------
---
---------
[EMAIL PROTECTED] http://www.magnolia.info
Magnolia(r) - Simple Enterprise Content Management
---------------------------------------------------------------------
---
---------
On Sep 20, 2006, at 4:40 PM, Sonal Goyal wrote:
> Hi,
>
> I am trying to use Magnolia 3.0 Comm Ed with JBoss. I have other
> webapps in the same JBoss server, and I wish to use single sign on
> between the Magnolia Author and Public instances, and JBoss other
> webapps. However, I am not sure how to go about it. If anyone
has any
> idea, kindly let me know.
>
> Thanks and Regards,
> Sonal
>
> ----------------------------------------------------------------
> for list details see
> http://www.magnolia.info/en/magnolia/developer.html
> ----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------
--
Thanks and Regards,
Sonal
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------