portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r690874 - in /portals/jetspeed-2/portal/branches/security-refactoring: components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/ jetspeed-api/src/main/java/org/apache/jetspeed/security/
Date Mon, 01 Sep 2008 07:18:20 GMT
Author: ate
Date: Mon Sep  1 00:18:19 2008
New Revision: 690874

URL: http://svn.apache.org/viewvc?rev=690874&view=rev
Log:
Standardize access to (reserved) INFO category attributes supporting the Portlet API USER_INFO
attributes.
This is now generalized for all JetspeedPrincipal types so mappable to similar (custom) features
for roles, groups, etc. like ROLE_INFO, GROUP_INFO

Modified:
    portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/SecurityAttributesImpl.java
    portals/jetspeed-2/portal/branches/security-refactoring/jetspeed-api/src/main/java/org/apache/jetspeed/security/SecurityAttributes.java

Modified: portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/SecurityAttributesImpl.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/SecurityAttributesImpl.java?rev=690874&r1=690873&r2=690874&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/SecurityAttributesImpl.java
(original)
+++ portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/impl/SecurityAttributesImpl.java
Mon Sep  1 00:18:19 2008
@@ -132,6 +132,11 @@
         }
         return Collections.unmodifiableMap(map);
     }
+    
+    public Map<String, SecurityAttribute> getInfoAttributeMap()
+    {
+        return getAttributeMap(INFO_CATEGORY);
+    }
 
     public SecurityAttribute getAttribute(String name)
     {

Modified: portals/jetspeed-2/portal/branches/security-refactoring/jetspeed-api/src/main/java/org/apache/jetspeed/security/SecurityAttributes.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/security-refactoring/jetspeed-api/src/main/java/org/apache/jetspeed/security/SecurityAttributes.java?rev=690874&r1=690873&r2=690874&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/security-refactoring/jetspeed-api/src/main/java/org/apache/jetspeed/security/SecurityAttributes.java
(original)
+++ portals/jetspeed-2/portal/branches/security-refactoring/jetspeed-api/src/main/java/org/apache/jetspeed/security/SecurityAttributes.java
Mon Sep  1 00:18:19 2008
@@ -44,6 +44,8 @@
 
     Map<String, SecurityAttribute> getAttributeMap(String category);
     
+    Map<String, SecurityAttribute> getInfoAttributeMap();
+
     SecurityAttribute getAttribute(String name);
 
     SecurityAttribute addAttribute(String name)



---------------------------------------------------------------------
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