jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "JackrabbitOnJbossSecurity" by DarrenHartford
Date Mon, 27 Nov 2006 14:25:08 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The following page has been changed by DarrenHartford:
http://wiki.apache.org/jackrabbit/JackrabbitOnJbossSecurity

------------------------------------------------------------------------------
  
   * JBOSS Files
    *  $JBOSS_HOME/server/<default>/conf/login-config.xml
-   *  Alternatively, dynamic-login approach.
+   *  Alternatively, jboss mbean dynamicloginconfig approach.
  
   * Jackrabbit Files
    *  repository.xml
  
+ ----
  == Configuring Security Domain ==
  The security domain will tie jackrabbit and the jboss security systems together.  The default
security domain is called '''Jackrabbit''', but can be changed if necessary (especially if
you already have an existing domain configured in jboss login-config.xml that you would like
to re-use).
  
@@ -49, +50 @@

  
          </authentication>
      </application-policy>
+ ----
+ == Configuring Authorization/Jackrabbit AccessManager ==
  
+ TODO
+ ----
+ == JBoss Mbean Dynamic Login Config option ==
+ This is for deployment of the authentication login modules outside of the login-config.xml.
 The reasoning is usually policy-oriented and/or preference.  This is a jboss-specific option
not related to Jackrabbit -- all jackrabbit configuration related to login-config.xml will
now go into the jackrabbit-login-config.xml below.
+ 
+  * Create a $JBOSS_HOME/server/<default>/deploy/jackrabbitsecurity.rar directory (yes,
name the directory with .rar at the end).
+ 
+  * jackrabbitsecurity.rar/jackrabbit-dynamic-login-service.xml
+ 
+ <server>  
+ <mbean code="org.jboss.security.auth.login.DynamicLoginConfig" name="org.apache.jackrabbit:service=DynamicLoginConfig">
+   <attribute name="AuthConfig">jackrabbit-login-config.xml</attribute>
+   <depends optional-attribute-name="LoginConfigService">jboss.security:service=XMLLoginConfig</depends>
+   <depends optional-attribute-name="SecurityManagerService">jboss.security:service=JaasSecurityManager</depends>
+ </mbean>
+ </server>
+ 
+  * jackrabbitsecurity.rar/jackrabbit-login-config.xml
+ Place what would be your normal login-config.xml configuration here.
+ 
+  * jackrabbitsecurity.rar/META-INF/jboss-service.xml
+ <?xml version="1.0" encoding="UTF-8"?><server></server>
+ 
+ In addition, if you have custom login module libraries only used for this security authentication
configuration, those can also be placed here.
+ ----
+ 

Mime
View raw message