-
1. Re: Disable authentication in jboss fuse / fabric8
ffang May 22, 2014 8:34 PM (in response to borislav.roussanov)Hi,
The authentication can come from jetty and cxf configuration, both delegate to karaf realm.
What's the configuration of your REST service? Do you add something like authenticationFilter for it? If not, you can try to edit
etc/jetty.xml, remove
<Call name="addBean">
<Arg>
<New class="org.eclipse.jetty.plus.jaas.JAASLoginService">
<Set name="name">karaf</Set>
<Set name="loginModuleName">karaf</Set>
<Set name="roleClassNames">
<Array type="java.lang.String">
<Item>org.apache.karaf.jaas.boot.principal.RolePrincipal</Item>
</Array>
</Set>
</New>
</Arg>
</Call>
there.
NOTE: we don't suggest this and this is only for your test purpose
Freeman
-
2. Re: Disable authentication in jboss fuse / fabric8
borislav.roussanov May 23, 2014 7:52 AM (in response to ffang)Thank you Freeman, it now works.
Borislav