This question should be posted to the apache karaf user mailing list - http://karaf.apache.org/index/community/mailing-lists.html
On Tue, Oct 7, 2014 at 7:50 PM, contactreji <[email protected]> wrote: > Hi > > Is there an updation on the classes given @ following block of code is > valid > anymore > > * <bean id="loginService" > class="org.eclipse.jetty.plus.jaas.JAASLoginService"> > <property name="name" value="karaf"/> > <property name="loginModuleName" value="karaf"/> > <property name="roleClassNames"> > <list> > > <value>org.apache.karaf.jaas.boot.principal.RolePrincipal</value> > </list> > </property> > </bean> > > <bean id="identityService" > class="org.eclipse.jetty.security.DefaultIdentityService"/> > > <bean id="constraint" > class="org.eclipse.jetty.util.security.Constraint"> > <property name="name" value="BASIC"/> > <property name="roles" value="admin"/> > <property name="authenticate" value="true"/> > </bean> > > <bean id="constraintMapping" > class="org.eclipse.jetty.security.ConstraintMapping"> > <property name="constraint" ref="constraint"/> > <property name="pathSpec" value="/*"/> > </bean> > > <bean id="securityHandler" > class="org.eclipse.jetty.security.ConstraintSecurityHandler"> > <property name="authenticator"> > <bean > class="org.eclipse.jetty.security.authentication.BasicAuthenticator"/> > </property> > <property name="constraintMappings"> > <list> > <ref bean="constraintMapping"/> > </list> > </property> > <property name="loginService" ref="loginService"/> > <property name="strict" value="false"/> > <property name="identityService" ref="identityService"/> > </bean>* > > Just asked since I saw a comment somewhere on a post where they have > mentioned that org.eclipse.jetty.security.* has changed to > org.eclipse.jetty.util.security.* > > I did the above changes and on deployment I still get error > > *Caused by: java.lang.ClassNotFoundException: > org.eclipse.jetty.util.security.DefaultIdentityService not found from > bundle > [ebx5-poc-notificationService] > at > > org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:103)[134:org.springframework.osgi.core:1.2.1] > at > > org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:156)[134:org.springframework.osgi.core:1.2.1] > at java.lang.ClassLoader.loadClass(Unknown Source)[:1.7.0_45] > at > > org.springframework.util.ClassUtils.forName(ClassUtils.java:258)[110:org.springframework.core:3.1.3.RELEASE] > at > > org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:417)[106:org.springframework.beans:3.1.3.RELEASE] > at > > org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1283)[106:org.springframework.beans:3.1.3.RELEASE] > at > > org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1254)[106:org.springframework.beans:3.1.3.RELEASE] > ... 36 more* > > what can be done here? > > Cheers > Reji > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-JAAS-Fuse-tp5757390.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Charles Moulliard Apache Committer / Architect @RedHat Twitter : @cmoulliard | Blog : http://cmoulliard.github.io
