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 12:51:01 UTC
svn commit: r1350184 -
/karaf/branches/karaf-2.2.x/manual/src/main/webapp/developers-guide/security-framework.conf
Author: jbonofre
Date: Thu Jun 14 10:51:00 2012
New Revision: 1350184
URL: http://svn.apache.org/viewvc?rev=1350184&view=rev
Log:
[KARAF-1394] Update the JAAS section of dev manual
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=1350184&r1=1350183&r2=1350184&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 10:51:00 2012
@@ -124,6 +124,9 @@ user=password[,role][,role]...
h3. OsgiConfigLoginModule
+| LoginModule | org.apache.karaf.jaas.modules.osgi.OsgiConfigLoginModule |
+| BackingEngineFactory | |
+
The OsgiConfigLoginModule uses the OSGi ConfigurationAdmin service to provide the users, passwords and roles.
|| Name || Description |
@@ -285,8 +288,6 @@ h3. Prefix and suffix
The login modules have the ability to support both encrypted and plain passwords at the same time. In some cases, some login modules may be able to encrypt the passwords on the fly and save them back in an encrypted form.
-To
-
h3. Jasypt
Karaf default installation comes with a simple encryption service which usually fulfills simple needs. However, in some cases, you may need to install the [Jasypt|http://www.jasypt.org/] library which provides stronger encryption algorithms and more control over them.
@@ -325,7 +326,6 @@ A typical realm definition using Jasypt
</jaas:config>
{pygmentize}
-
h2. Role discovery policies
The JAAS specification does not provide means to distinguish between User and Role Principals without referring to the specification classes. In order to provide means to the application developer to decouple the application from Karaf JAAS implementation role policies have been created.