Hi,

I'm gonna take a look at it as soon as possible :)
might take me a bit though, so don't be to impatient with me :)

regards, Achim


2013/2/2 siv vasan <svasanta....@gmail.com>

> Hi,
> Probably you did not get my attachments. I have uploaded the sample project
> to GitHub.
>
> Link: https://github.com/svasanta/sample
>
> Please check this.
>
> Thanks
> -vasanta S
>
>
>
> On Fri, Feb 1, 2013 at 4:10 PM, siva vasanta <svasanta....@gmail.com>
> wrote:
>
> >
> > Hi,
> > Please find the attached sample application.
> >
> > 1.  MyTestApp.zip (Eclipse sample project)
> > 2.  myrealm.xml  - Karaf realm blueprint file. (I have manually copied it
> > to deploy folder)
> > 3. karaf.log - Log with with full stack trace.
> >
> >
> > karaf@root> osgi:list
> > START LEVEL 100 , List Threshold: 50
> >    ID   State         Blueprint      Level  Name
> > [  97] [Active     ] [Created     ] [   80] myrealm.xml (0.0.0)
> > [ 110] [Active     ] [            ] [   80] mytestapp (1.0)
> > karaf@root> osgi:uninstall 110
> > karaf@root> osgi:install -s
> >
> webbundle:file:///C:/Users/vasanta/workspace/MyTestApp/target/MyTestApp.war
> > Bundle ID: 111
> >
> > Thanks
> > -Siva
> >
> >
> > On Fri, Feb 1, 2013 at 3:39 AM, Achim Nierbeck [via Karaf] <
> > ml-node+s922171n4027561...@n3.nabble.com> wrote:
> >
> >> Hi,
> >>
> >> we had some issues about the visibility of the principals, but this has
> >> been fixed for 2.3.0.
> >> Could you provide a simple sample for pax-web for so I'm able to
> >> integrate it as a itest.
> >>
> >> regards, Achim
> >>
> >>
> >> 2013/1/31 siv vasan <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=4027561&i=0>
> >> >
> >>
> >>> Hi,
> >>> I am using karaf 2.3.  I am trying to deploying web application on
> karaf
> >>> Jetty. It uses JAAS for authentication. I am facing class not found
> >>> exception.  Why is this class not available to my webapp ? Please help
> on
> >>> this.
> >>>
> >>> Exception:
> >>> java.lang.RuntimeException: java.lang.ClassNotFoundException:
> >>> org.apache.karaf.jaas.boot.principal.RolePrincipal not found by
> mytestapp
> >>> [106]
> >>>         at
> >>>
> >>>
> org.eclipse.jetty.plus.jaas.JAASLoginService.getGroups(JAASLoginService.java:327)[71:org.eclipse.jetty.plus:7.6.7.v20120910]
> >>>         at
> >>>
> >>>
> org.eclipse.jetty.plus.jaas.JAASLoginService.login(JAASLoginService.java:244)[71:org.eclipse.jetty.plus:7.6.7.v20120910]
> >>>
> >>>
> >>> I added below entry JAAS login service to jetty.xml
> >>>
> >>> <Call name="addBean">
> >>>       <Arg>
> >>>         <New class="org.eclipse.jetty.plus.jaas.JAASLoginService">
> >>>                   <Set name="name">LDPA</Set>
> >>>           <Set name="loginModuleName">LDAP</Set>
> >>>                   <Set name="roleClassNames">
> >>>                         <Array type="java.lang.String">
> >>>
> >>> <Item>org.apache.karaf.jaas.boot.principal.RolePrincipal</Item>
> >>>                         </Array>
> >>>                   </Set>
> >>>         </New>
> >>>       </Arg>
> >>>     </Call>
> >>>
> >>> Also added below entry to MANIFEST-INF file.
> >>> Import-Package:
> >>>
> >>>
> javax.servlet,javax.servlet.annotation,javax.servlet.http,org.apache.commons.logging,org.apache.commons.logging.impl,org.apache.log4j,org.apache.log4j.spi,org.apache.log4j.xml,org.slf4j,org.slf4j.helpers,org.slf4j.spi,org.eclipse.jetty.*,org.eclipse.jetty.plus.jaas.*,
> >>>
> >>>
> org.eclipse.jetty.security.*,org.eclipse.jetty.security.authentication.*,org.apache.karaf.jaas.boot.principal.*
> >>>
> >>>
> >>>
> >>>
> >>> --
> >>> View this message in context:
> >>>
> http://karaf.922171.n3.nabble.com/Class-not-found-exception-org-apache-karaf-jaas-boot-principal-RolePrincipal-tp4027557.html
> >>> Sent from the Karaf - User mailing list archive at Nabble.com.
> >>>
> >>
> >>
> >>
> >> --
> >>
> >> 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/>
> >>
> >>
> >> ------------------------------
> >>  If you reply to this email, your message will be added to the
> >> discussion below:
> >>
> >>
> http://karaf.922171.n3.nabble.com/Class-not-found-exception-org-apache-karaf-jaas-boot-principal-RolePrincipal-tp4027557p4027561.html
> >>  To unsubscribe from Class not found exception
> >> org.apache.karaf.jaas.boot.principal.RolePrincipal, click here<
> http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4027557&code=c3Zhc2FudGEudGV6QGdtYWlsLmNvbXw0MDI3NTU3fDMxNDUyNjAxNw==
> >
> >> .
> >> NAML<
> http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
> >>
> >
> >
>
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Class-not-found-exception-org-apache-karaf-jaas-boot-principal-RolePrincipal-tp4027557p4027585.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>



-- 

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