You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by bu...@apache.org on 2013/04/05 17:05:19 UTC
svn commit: r857409 - in /websites/staging/felix/trunk/content: ./
documentation/subprojects/apache-felix-jaas.html
Author: buildbot
Date: Fri Apr 5 15:05:18 2013
New Revision: 857409
Log:
Staging update by buildbot for felix
Modified:
websites/staging/felix/trunk/content/ (props changed)
websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-jaas.html
Propchange: websites/staging/felix/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Apr 5 15:05:18 2013
@@ -1 +1 @@
-1464990
+1464998
Modified: websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-jaas.html
==============================================================================
--- websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-jaas.html (original)
+++ websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-jaas.html Fri Apr 5 15:05:18 2013
@@ -112,7 +112,7 @@ Work in progress as part of FELIX-3980
<li>OSGi Configuration</li>
<li>LoginModuleFactory registered with the OSGi ServiceRegistry</li>
</ul>
-<h4 id="osgi-configuration">OSGi Configuration</h4>
+<h4 id="a-osgi-configuration">A - OSGi Configuration</h4>
<p>LoginModules can also be configured via configuration which is somewhat similar to the file based configuration. It consist of two parts</p>
<ul>
<li>Information around which bundle provides a specific LoginModule module</li>
@@ -124,24 +124,26 @@ Work in progress as part of FELIX-3980
</pre></div>
-<h5 id="osgi-configuration_1">OSGi Configuration</h5>
+<h5 id="configuration">Configuration</h5>
<p>JAAS module depends on OSGi Configuration for managing the LoginModule configuration. The configuration factory PID is <code>org.apache.felix.jaas.Configuration.factory</code>.It provides the required metatype descriptor thus enabling configuration via via "Configuration" tab of Felix WebConsole</p>
<p>!jaas-config.png!</p>
-<p>Configuration properties
-<em> <code>jaas.classname</code> - Fully qualified name of the LoginModule class
-</em> <code>jaas.controlFlag</code> - LoginControlFlag to use like required, optional, requisite, sufficient. Default is set to required
-<em> <code>jaas.realmName</code> - JAAS Realm name. If specified then LoginModule would be registered against given realm otherwise it is bound to a 'other' realm
-</em> <code>jaas.ranking</code> - Ranking for the LoginModule. It would be used to order the various login modules</p>
+<p>Configuration properties</p>
+<ul>
+<li><code>jaas.classname</code> - Fully qualified name of the LoginModule class</li>
+<li><code>jaas.controlFlag</code> - LoginControlFlag to use like required, optional, requisite, sufficient. Default is set to required</li>
+<li><code>jaas.realmName</code> - JAAS Realm name. If specified then LoginModule would be registered against given realm otherwise it is bound to a 'other' realm</li>
+<li><code>jaas.ranking</code> - Ranking for the LoginModule. It would be used to order the various login modules</li>
+</ul>
<p>For an example refer to <a href="http://svn.apache.org/repos/asf/felix/trunk/examples/jaas/launcher/src/main/config/org.apache.felix.jaas.Configuration.factory-simple.cfg">Sample Confiuration</a>. It configures a SampleConfigLoginModule for <code>sample</code> realm</p>
-<h4 id="loginmodulefactory">LoginModuleFactory</h4>
+<h4 id="b-loginmodulefactory">B - LoginModuleFactory</h4>
<p>Any bundle which want to provide a LoginModule implementation would need to provide a factory service which implements the <a href="http://svn.apache.org/repos/asf/felix/trunk/jaas/src/main/java/org/apache/felix/jaas/LoginModuleFactory.java">LoginModuleFactory</a> interface. The factory needs to be registeredwith following optional properties</p>
<ul>
<li><code>jaas.controlFlag</code> - LoginControlFlag to use like required, optional, requisite, sufficient. Default is set to required</li>
<li><code>jaas.realmName</code> - JAAS Realm name. If specified then LoginModule would be registered against given realm otherwise it is bound to a 'other' realm</li>
<li>
<p><code>service.ranking</code> - Ranking for the LoginModule. It would be used to order the various login modules</p>
-<p>:::java
-/<strong>
+<p>:::java</p>
+<p>/<strong>
* A factory for creating {@link LoginModule} instances.
*/
public interface LoginModuleFactory
@@ -181,7 +183,7 @@ public interface LoginModuleFactory
<li><a href="http://docs.oracle.com/javase/1.5.0/docs/guide/security/jaas/tutorials/LoginConfigFile.html">JAAS Login Configuration File</a></li>
</ol>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1464990 by chetanm on Fri, 5 Apr 2013 14:38:36 +0000
+ Rev. 1464998 by chetanm on Fri, 5 Apr 2013 15:05:10 +0000
</div>
<div class="trademarkFooter">
Apache Felix, Felix, Apache, the Apache feather logo, and the Apache Felix project