Thanks Freeman.
The URL you gave is unavailable for the moment... (but Google Cache has it).
I followed the instructions to create the realm "servicemix-domain" but I
first had an error (see below).
It worked after adding the two Java packages in my META-INF/MANIFEST :
Import-Package: .....
org.apache.karaf.jaas.modules.properties,org.apache.karaf.jaas.modules
Is there any reason why the built-in realm "servicemix-domain" is not
defined "out-of-the-box" ?
Thanks,
metatech
=====
Caused by: javax.security.auth.login.LoginException:
java.lang.IllegalStateException: Can not load or create login module
org.apache.karaf.jaas.modules.properties.PropertiesLoginModule for bundle
209
at
org.apache.karaf.jaas.boot.ProxyLoginModule.initialize(ProxyLoginModule.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:756)
at
javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at
javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at
org.apache.servicemix.nmr.core.security.JaasAuthenticationService.authenticate(JaasAuthenticationService.java:65)
--
View this message in context:
http://servicemix.396122.n5.nabble.com/Configuration-of-Authorizationt-through-JAAS-tp2839212p4582308.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.