[ 
http://issues.ops4j.org/browse/PAXWEB-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13918#action_13918
 ] 

Achim Nierbeck edited comment on PAXWEB-250 at 2/25/11 12:04 AM:
-----------------------------------------------------------------

Removed null check on 1.1.0-SNAPSHOT: 

revision: 
https://github.com/ops4j/org.ops4j.pax.web/commit/0a13deae22ebd4880e3e99f676cc735276f8b7e4

Fully functional form based login for 1.1.0: 

revision: 
https://github.com/ops4j/org.ops4j.pax.web/commit/bef0b3defa8cfbd8cc8ba8310221015031c4a40b

a default realm is needed though for the jetty server. 

If no Realm is configured in the web.xml Jetty takes default as the standard 
realm. A realm is needed for this on the server environment

Fix for 1.0.x branch: 
https://github.com/ops4j/org.ops4j.pax.web/commit/a1beff37af8134652894734f52d284e5a6cb4730

      was (Author: achim_nierbeck):
    Removed null check on 1.1.0-SNAPSHOT: 

revision: 
https://github.com/ops4j/org.ops4j.pax.web/commit/0a13deae22ebd4880e3e99f676cc735276f8b7e4

Fully functional form based login for 1.1.0: 

revision: 
https://github.com/ops4j/org.ops4j.pax.web/commit/bef0b3defa8cfbd8cc8ba8310221015031c4a40b

a default realm is needed though for the jetty server. 

If no Realm is configured in the web.xml Jetty takes default as the standard 
realm. A realm is needed for this on the server environment
  
> <form-login-config> isn't supported
> -----------------------------------
>
>                 Key: PAXWEB-250
>                 URL: http://issues.ops4j.org/browse/PAXWEB-250
>             Project: Pax Web
>          Issue Type: Bug
>          Components: War Extender, Web Container
>    Affects Versions: 1.0.1
>            Reporter: Guillaume Nodet
>            Assignee: Achim Nierbeck
>             Fix For: 1.0.2, 1.1.0
>
>
> I tried to deploy hudson and got the following failure:
> {code}
> org.ops4j.lang.NullArgumentException: Login Config Realm Name is null.
>       at 
> org.ops4j.lang.NullArgumentException.validateNotNull(NullArgumentException.java:75)
>       at 
> org.ops4j.pax.web.extender.war.internal.model.WebApp.addLoginConfig(WebApp.java:510)[57:org.ops4j.pax.web.pax-web-extender-war:1.0.0.SNAPSHOT]
>       at 
> org.ops4j.pax.web.extender.war.internal.parser.dom.DOMWebXmlParser.parseSecurity(DOMWebXmlParser.java:215)[57:org.ops4j.pax.web.pax-web-extender-war:1.0.0.SNAPSHOT]
>       at 
> org.ops4j.pax.web.extender.war.internal.parser.dom.DOMWebXmlParser.parse(DOMWebXmlParser.java:82)[57:org.ops4j.pax.web.pax-web-extender-war:1.0.0.SNAPSHOT]
>       at 
> org.ops4j.pax.web.extender.war.internal.WebXmlObserver.addingEntries(WebXmlObserver.java:130)[57:org.ops4j.pax.web.pax-web-extender-war:1.0.0.SNAPSHOT]
>       at 
> org.ops4j.pax.swissbox.extender.BundleWatcher.register(BundleWatcher.java:186)[57:org.ops4j.pax.web.pax-web-extender-war:1.0.0.SNAPSHOT]
>       at 
> org.ops4j.pax.swissbox.extender.BundleWatcher.access$000(BundleWatcher.java:45)[57:org.ops4j.pax.web.pax-web-extender-war:1.0.0.SNAPSHOT]
>       at 
> org.ops4j.pax.swissbox.extender.BundleWatcher$1.bundleChanged(BundleWatcher.java:127)[57:org.ops4j.pax.web.pax-web-extender-war:1.0.0.SNAPSHOT]
>       at 
> org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807)[org.apache.felix.framework-3.0.8.jar:]
>       at 
> org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)[org.apache.felix.framework-3.0.8.jar:]
>       at 
> org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)[org.apache.felix.framework-3.0.8.jar:]
>       at 
> org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3758)[org.apache.felix.framework-3.0.8.jar:]
>       at 
> org.apache.felix.framework.Felix.startBundle(Felix.java:1780)[org.apache.felix.framework-3.0.8.jar:]
>       at 
> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:922)[org.apache.felix.framework-3.0.8.jar:]
>       at 
> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:909)[org.apache.felix.framework-3.0.8.jar:]
>       at 
> org.apache.karaf.shell.osgi.StartBundle.doExecute(StartBundle.java:29)[19:org.apache.karaf.shell.osgi:2.1.99.SNAPSHOT]
>       at 
> org.apache.karaf.shell.osgi.BundlesCommand.doExecute(BundlesCommand.java:49)[19:org.apache.karaf.shell.osgi:2.1.99.SNAPSHOT]
>       at 
> org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[35:org.apache.karaf.shell.console:2.1.99.SNAPSHOT]
>       at 
> org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[35:org.apache.karaf.shell.console:2.1.99.SNAPSHOT]
>       at 
> org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[35:org.apache.karaf.shell.console:2.1.99.SNAPSHOT]
>       at 
> org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[35:org.apache.karaf.shell.console:2.1.99.SNAPSHOT]
>       at 
> org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[35:org.apache.karaf.shell.console:2.1.99.SNAPSHOT]
>       at 
> org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[35:org.apache.karaf.shell.console:2.1.99.SNAPSHOT]
>       at 
> org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[35:org.apache.karaf.shell.console:2.1.99.SNAPSHOT]
>       at 
> org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[35:org.apache.karaf.shell.console:2.1.99.SNAPSHOT]
>       at 
> org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:79)[35:org.apache.karaf.shell.console:2.1.99.SNAPSHOT]
>       at 
> org.apache.karaf.shell.console.jline.Console.run(Console.java:180)[35:org.apache.karaf.shell.console:2.1.99.SNAPSHOT]
>       at java.lang.Thread.run(Thread.java:680)[:1.6.0_22]
> {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to