You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2012/06/14 10:47:34 UTC

svn commit: r1350128 - /karaf/branches/karaf-2.2.x/manual/src/main/webapp/developers-guide/security-framework.conf

Author: jbonofre
Date: Thu Jun 14 08:47:33 2012
New Revision: 1350128

URL: http://svn.apache.org/viewvc?rev=1350128&view=rev
Log:
[KARAF-1394] Update the documentation around JAAS

Modified:
    karaf/branches/karaf-2.2.x/manual/src/main/webapp/developers-guide/security-framework.conf

Modified: karaf/branches/karaf-2.2.x/manual/src/main/webapp/developers-guide/security-framework.conf
URL: http://svn.apache.org/viewvc/karaf/branches/karaf-2.2.x/manual/src/main/webapp/developers-guide/security-framework.conf?rev=1350128&r1=1350127&r2=1350128&view=diff
==============================================================================
--- karaf/branches/karaf-2.2.x/manual/src/main/webapp/developers-guide/security-framework.conf (original)
+++ karaf/branches/karaf-2.2.x/manual/src/main/webapp/developers-guide/security-framework.conf Thu Jun 14 08:47:33 2012
@@ -36,8 +36,15 @@ Here are two examples using this schema:
         </jaas:module>
     </jaas:config>
 
+    <service interface="org.apache.karaf.jaas.modules.BackingEngineFactory">
+        <bean class="org.apache.karaf.jaas.modules.properties.PropertiesBackingEngineFactory"/>
+    </service>
+
 </blueprint>
 {pygmentize}
+
+NB: Don't forge to expose the BackingEngine as an OSGi service.
+
 {pygmentize:xml}
 <jaas:keystore xmlns:jaas="http://karaf.apache.org/xmlns/jaas/v1.1.0"
                name="ks"
@@ -92,6 +99,9 @@ Karaf comes with several login modules t
 
 h3. PropertiesLoginModule
 
+| LoginModule           | org.apache.karaf.jaas.modules.properties.PropertiesLoginModule            |
+| BackingEngineFactory  | org.apache.karaf.jaas.modules.properties.PropertiesBackingEngineFactory   |
+
 This login module is the one configured by default.  It uses a properties text file to load the users, passwords and roles.  
 
 || Name             || Description |
@@ -123,6 +133,9 @@ The format of the configuration is the s
 
 h3. JDBCLoginModule
 
+| LoginModule           | org.apache.karaf.jaas.modules.jdbc.JDBCLoginModule            |
+| BackingEngineFactory  | org.apache.karaf.jaas.modules.jdbc.JDBCBackingEngineFactory   |
+
 The JDBCLoginModule uses a database to load the users, passwords and roles from a provided data source _(normal or XA)_. The data source and the queries for password and role retrieval are configurable using the following parameters.
 
 || Name                   || Description ||
@@ -163,6 +176,9 @@ To use an JNDI name, the prefix jndi: ne
 
 h3. LDAPLoginModule
 
+| LoginModule           | org.apache.karaf.jaas.modules.ldap.LDAPLoginModule            |
+| BackingEngineFactory  |                                                               |
+
 The LDAPLoginModule uses LDAP to load the users and roles and bind the users on the LDAP to check passwords.
 
 The LDAPLoginModule supports the following parameters: