Ok,
looks like it's not adapted to the latest changes for roles, since you
checked out the sources, you might just need to change the dependencies
from
org.apache.karaf.jaas.modules.RolePrincipal to
org.apache.karaf.jaas.boot.principal.RolePrincipal

regards, Achim


2013/1/15 Krzysztof Sobkowiak <[email protected]>

> **
>
> Hi
>
>
>
> I have checked out and built the latest karaf-webconsole sources. I can
> install and access the console on Karaf 2.2.9. I can also install it on
> 2.2.10 and 2.3.0, but login into console causes following exception:
>
>
>
> java.lang.NoClassDefFoundError: org/apache/karaf/jaas/modules/RolePrincipal
> at
> org.apache.karaf.webconsole.core.security.KarafJaasWebSession.isRole(KarafJaasWebSession.java:39)
> at
> org.apache.karaf.webconsole.core.security.JaasWebSession.authenticate(JaasWebSession.java:66)
> at
> org.apache.wicket.authroles.authentication.AuthenticatedWebSession.signIn(AuthenticatedWebSession.java:65)
> at
> org.apache.wicket.authroles.authentication.panel.SignInPanel.signIn(SignInPanel.java:221)
> at
> org.apache.wicket.authroles.authentication.panel.SignInPanel.access$100(SignInPanel.java:51)
> at
> org.apache.wicket.authroles.authentication.panel.SignInPanel$SignInForm.onSubmit(SignInPanel.java:296)
> at org.apache.wicket.markup.html.form.Form$9.component(Form.java:1246)
> at org.apache.wicket.markup.html.form.Form$9.component(Form.java:1240)
>
>
>
>
>
> Regards
>
>
>
> Krzysztof Sobkowiak
>



-- 

Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
Commiter & Project Lead
blog <http://notizblog.nierbeck.de/>

Reply via email to