Hi,

By default, ServiceMix 3 load the login modules defined in etc/login.properties.

You can add your own login module in this file.

The default ServiceMix subject is servicemix-domain.

You can add yours :

YourSubject {
        your.login.module.LoginModule
                required
                option1=value1
                option2=value2;
};

NB: the jar containing your.login.module.LoginModule has to be in the ServiceMix lib directory.

servicemix-domain {
        org.apache.servicemix.jbi.security.login.PropertiesLoginModule
                sufficient
                ...;
}

You can add another login module for the servicemix-domain (for example a Kerberos or LDAP one).

Regards
JB

On 09/14/2010 04:37 PM, sravny wrote:

Hi,
      I am new to SeviceMix and as well as JAAS. I am using ServiceMix
version 3.1. I am trying deploy JAAS Security module in ServiceMix. It will
great if someone could hel me on How to Confiure the java.security.policy
inorder to deploy the policy files. And also I am not knowing how to
initialize the Security manager.

For JAAS I was refering to the link

http://jaasbook.wordpress.com/

And for ServiceMix -(Authentication and Authorization) I was referring to
the link

http://www.theserverlabs.com/blog/2010/06/25/dynamic-ldap-based-authentication-and-authorization-in-servicemix-3/

Reply via email to