Magnolia gallery package - jetty configuration

Repository of web frameworks and applications for Microsoft IIS.
User avatar
Posts: 7
Joined: 12 Sep 2012, 04:03

Magnolia gallery package - jetty configuration

20 Nov 2012, 11:54

Hi,

I successfully installed the Magnolia package (on 2008R2 using WebPI, running the site under Webmatrix & IIS8 Express) from the application gallery.
The Magnolia webapp starts and runs its installation task, also without errors.

However, i am not able to logon using the superuser/superuser default password. In the logfiles (magnolia-debug.log) an exception as follows is shown:

Code: Select all
ERROR  info.magnolia.cms.security.SecuritySupportBase 20.11.2012 15:26:34 -- Can't login due to:
javax.security.auth.login.LoginException: No LoginModules configured for magnolia
   at javax.security.auth.login.LoginContext.init(LoginContext.java:273)
   ...


From my limited java web application knowledges, I guess that the default jetty configuration installed with the dependencies of Magnolia (Jetty 8) did not include a suitable login module configuration... I tried googling the exception, but could not really find my way through JAAS and stuff.

Can anybody guide me on how (and where) to configure the login module, e.g. for simple user/password or windows integrated login?

Thanks!

User avatar
Posts: 402
Joined: 06 Mar 2012, 11:59

Re: Magnolia gallery package - jetty configuration

22 Nov 2012, 07:00

Hello!

You are absolutely right, this was error in a Jetty configuration we are using. To fix the issue open this file - C:\Zoo\Workers\jetty\zoo-war\start.ini find and delete the following line:
Code: Select all
etc/jetty-jaas.xml


After that Magnolia logins should start working. We are fixing this issue in next build of Helicon Zoo.

User avatar
Posts: 7
Joined: 12 Sep 2012, 04:03

Re: Magnolia gallery package - jetty configuration

22 Nov 2012, 09:38

Hi,

thanks for the quick feedback. That fixed it and it is now working!
Great support!

Thanks!

Return to Helicon Zoo

Who is online

Users browsing this forum: No registered users and 28 guests