On Tue, May 13, 2008 at 6:20 AM, pratibhaG <[EMAIL PROTECTED]> wrote:
>
>  Thanks Godnet for your reply.
>
>  The example has its own files like login.properties, security.xml,
>  groups.properties etc under folder resources. Should I create the same
>  directory structure? I am currently using  the files from
>  servicemix-home/conf. Can that be a problem?

No this is fine.  I just pointed you to the full example, but really it should
just be about configuring the AuthorizationMap and the endpoint correctly.

>
>  Another thing is in the example login.properties is like this:
>  servicemix-domain {
>     org.apache.servicemix.jbi.security.login.PropertiesLoginModule required
>         debug=true
>         org.apache.servicemix.security.properties.user="users.properties"
>         org.apache.servicemix.security.properties.group="groups.properties";
>  };
>
>  If my understanding is correct it is providing a reference of
>  groups.properties and users.properties to PropertiesLoginModule. How should
>  I provide it when using my LdapLoginModule?

Google a bit for JAAS, even the javadoc should contain enough information
on how to configure a new JAAS login.
Replacing the org.apache.servicemix.jbi.security.login.PropertiesLoginModule by
the name of you class should be enough (you may need to remove the properties
and add some specific ones for your login module).


-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Reply via email to