portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r321371 - /portals/jetspeed-2/trunk/components/security/src/test/org/apache/jetspeed/security/TestSecurityHelper.java
Date Sat, 15 Oct 2005 16:35:36 GMT
Author: taylor
Date: Sat Oct 15 09:35:34 2005
New Revision: 321371

URL: http://svn.apache.org/viewcvs?rev=321371&view=rev
Log:
ordered principal set implementation
user-role-fallback rule requires a ordered list of role principals (set) in the subject

Modified:
    portals/jetspeed-2/trunk/components/security/src/test/org/apache/jetspeed/security/TestSecurityHelper.java

Modified: portals/jetspeed-2/trunk/components/security/src/test/org/apache/jetspeed/security/TestSecurityHelper.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/security/src/test/org/apache/jetspeed/security/TestSecurityHelper.java?rev=321371&r1=321370&r2=321371&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/security/src/test/org/apache/jetspeed/security/TestSecurityHelper.java
(original)
+++ portals/jetspeed-2/trunk/components/security/src/test/org/apache/jetspeed/security/TestSecurityHelper.java
Sat Oct 15 09:35:34 2005
@@ -23,6 +23,7 @@
 import junit.framework.Test;
 import junit.framework.TestSuite;
 
+import org.apache.jetspeed.security.impl.PrincipalsSet;
 import org.apache.jetspeed.security.impl.UserPrincipalImpl;
 import org.apache.jetspeed.security.util.test.AbstractSecurityTestcase;
 
@@ -43,7 +44,7 @@
     public void testHelpers() throws Exception
     {
         Principal principal = new UserPrincipalImpl("anon");
-        Set principals = new HashSet();
+        Set principals = new PrincipalsSet();
         principals.add(principal);
         Subject subject = new Subject(true, principals, new HashSet(), new HashSet());
         System.out.println("subject = " + subject);



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message