karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] Commented: (KARAF-180) JAAS Database Login Module
Date Tue, 07 Sep 2010 17:48:34 GMT

    [ https://issues.apache.org/jira/browse/KARAF-180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12906896#action_12906896
] 

Jean-Baptiste Onofré commented on KARAF-180:
--------------------------------------------

It's a good idea Ioannis.

In the same way, I created a LDAP JAAS login module for Karaf. I will commit it.

> JAAS Database Login Module
> --------------------------
>
>                 Key: KARAF-180
>                 URL: https://issues.apache.org/jira/browse/KARAF-180
>             Project: Karaf
>          Issue Type: New Feature
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>
> I think it would be nice if karaf provided a JAAS Database Login Module.
> That module could have the following properties:
> * Data Source (required) passed as a filter (e.g. osgi.jndi.service.name).
> * Password Retrieval Query (optional)
> * Role Retrieval Query (optional)
> * Digest Algorithm (optional)
> Example configuration:
>    <jaas:config name="somerealm">
>         <jaas:module className="org.apache.karaf.jaas.modules.database.DatabaseLoginModule"
flags="required">
>             datasource = jdbc/somedb
>             passwordQuery = "SELECT PASSWORDD FROM USERS WHERE USERNAME=?"
>             roleQuery = "SELECT ROLE FROM ROLES WHERE USERNAME=?"
>             diggest = MD5
>         </jaas:module>
>     </jaas:config>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message