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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]