activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1055967 - in /activemq/activemq-apollo/trunk: apollo-dto/src/main/java/org/apache/activemq/apollo/dto/AuthenticationDTO.java apollo-website/src/documentation/user-manual.md
Date Thu, 06 Jan 2011 17:58:10 GMT
Author: chirino
Date: Thu Jan  6 17:58:09 2011
New Revision: 1055967

URL: http://svn.apache.org/viewvc?rev=1055967&view=rev
Log:
recognize X500 principals too by default.

Modified:
    activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/AuthenticationDTO.java
    activemq/activemq-apollo/trunk/apollo-website/src/documentation/user-manual.md

Modified: activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/AuthenticationDTO.java
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/AuthenticationDTO.java?rev=1055967&r1=1055966&r2=1055967&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/AuthenticationDTO.java
(original)
+++ activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/AuthenticationDTO.java
Thu Jan  6 17:58:09 2011
@@ -65,6 +65,7 @@ public class AuthenticationDTO {
         if( user_principal_kinds.isEmpty() ) {
             ArrayList<String> rc = new ArrayList<String>();
             rc.add("org.apache.activemq.jaas.UserPrincipal");
+            rc.add("javax.security.auth.x500.X500Principal");
             return rc;
         }
         return user_principal_kinds;

Modified: activemq/activemq-apollo/trunk/apollo-website/src/documentation/user-manual.md
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-website/src/documentation/user-manual.md?rev=1055967&r1=1055966&r2=1055967&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-website/src/documentation/user-manual.md (original)
+++ activemq/activemq-apollo/trunk/apollo-website/src/documentation/user-manual.md Thu Jan
 6 17:58:09 2011
@@ -448,8 +448,9 @@ types, you may need to configure which o
 the user principal and the principal used to match against the access control
 lists (ACLs). 
 
-The default user principal class recognized is
-`org.apache.activemq.jaas.UserPrincipal`. You can configure it by adding
+The default user principal classes recognized are
+`org.apache.activemq.jaas.UserPrincipal` and 
+`javax.security.auth.x500.X500Principal`. You can change the default by adding
 `user_principal_kind` elements under the `authentication` element. The first
 principal who's type matches this list will be selected as the user's
 identity for informational purposes.



Mime
View raw message