portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vku...@apache.org
Subject svn commit: r691637 - in /portals/jetspeed-2/portal/branches/security-refactoring/jetspeed-api/src/main/java/org/apache/jetspeed/security: JetspeedPrincipalManager.java spi/JetspeedPrincipalStorageManager.java
Date Wed, 03 Sep 2008 15:38:50 GMT
Author: vkumar
Date: Wed Sep  3 08:38:49 2008
New Revision: 691637

URL: http://svn.apache.org/viewvc?rev=691637&view=rev
Log:
Adding new Principal here and removing it from StorageManager and introducing the isMapped
for LDAP

Modified:
    portals/jetspeed-2/portal/branches/security-refactoring/jetspeed-api/src/main/java/org/apache/jetspeed/security/JetspeedPrincipalManager.java
    portals/jetspeed-2/portal/branches/security-refactoring/jetspeed-api/src/main/java/org/apache/jetspeed/security/spi/JetspeedPrincipalStorageManager.java

Modified: portals/jetspeed-2/portal/branches/security-refactoring/jetspeed-api/src/main/java/org/apache/jetspeed/security/JetspeedPrincipalManager.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/security-refactoring/jetspeed-api/src/main/java/org/apache/jetspeed/security/JetspeedPrincipalManager.java?rev=691637&r1=691636&r2=691637&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/security-refactoring/jetspeed-api/src/main/java/org/apache/jetspeed/security/JetspeedPrincipalManager.java
(original)
+++ portals/jetspeed-2/portal/branches/security-refactoring/jetspeed-api/src/main/java/org/apache/jetspeed/security/JetspeedPrincipalManager.java
Wed Sep  3 08:38:49 2008
@@ -42,7 +42,9 @@
     List<String> getPrincipalNames(String nameFilter);
 
     List<JetspeedPrincipal> getPrincipals(String nameFilter);
-
+    
+    JetspeedPrincipal newPrincipal(String name,boolean mapped);
+    
     void removePrincipal(String name) throws PrincipalNotFoundException, PrincipalNotRemovableException,
DependentPrincipalException;
 
     List<JetspeedPrincipal> getAssociatedFrom(String principalName, String associationName);

Modified: portals/jetspeed-2/portal/branches/security-refactoring/jetspeed-api/src/main/java/org/apache/jetspeed/security/spi/JetspeedPrincipalStorageManager.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/security-refactoring/jetspeed-api/src/main/java/org/apache/jetspeed/security/spi/JetspeedPrincipalStorageManager.java?rev=691637&r1=691636&r2=691637&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/security-refactoring/jetspeed-api/src/main/java/org/apache/jetspeed/security/spi/JetspeedPrincipalStorageManager.java
(original)
+++ portals/jetspeed-2/portal/branches/security-refactoring/jetspeed-api/src/main/java/org/apache/jetspeed/security/spi/JetspeedPrincipalStorageManager.java
Wed Sep  3 08:38:49 2008
@@ -32,7 +32,8 @@
  */
 public interface JetspeedPrincipalStorageManager
 {
-    JetspeedPrincipal newPrincipal(String name, boolean mapped);
+    boolean isMapped();
+    
     void addPrincipal(JetspeedPrincipal principal, Set<JetspeedPrincipalAssociationReference>
associations)
         throws PrincipalAlreadyExistsException, PrincipalAssociationRequiredException;
 



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