jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1430943 - in /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/principal: CompositePrincipalProvider.java EveryonePrincipal.java PrincipalConfiguration.java
Date Wed, 09 Jan 2013 16:35:19 GMT
Author: angela
Date: Wed Jan  9 16:35:18 2013
New Revision: 1430943

URL: http://svn.apache.org/viewvc?rev=1430943&view=rev
Log:
OAK-90 : Implement Principal Management (WIP)

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/principal/CompositePrincipalProvider.java
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/principal/EveryonePrincipal.java
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/principal/PrincipalConfiguration.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/principal/CompositePrincipalProvider.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/principal/CompositePrincipalProvider.java?rev=1430943&r1=1430942&r2=1430943&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/principal/CompositePrincipalProvider.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/principal/CompositePrincipalProvider.java
Wed Jan  9 16:35:18 2013
@@ -24,8 +24,6 @@ import java.util.List;
 import java.util.Set;
 
 import com.google.common.collect.Iterators;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 import static com.google.common.base.Preconditions.checkNotNull;
 
@@ -35,8 +33,6 @@ import static com.google.common.base.Pre
  */
 public class CompositePrincipalProvider implements PrincipalProvider {
 
-    private static final Logger log = LoggerFactory.getLogger(CompositePrincipalProvider.class);
-
     private final List<PrincipalProvider> providers;
 
     public CompositePrincipalProvider(List<PrincipalProvider> providers) {

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/principal/EveryonePrincipal.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/principal/EveryonePrincipal.java?rev=1430943&r1=1430942&r2=1430943&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/principal/EveryonePrincipal.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/principal/EveryonePrincipal.java
Wed Jan  9 16:35:18 2013
@@ -25,7 +25,7 @@ import org.apache.jackrabbit.api.securit
 /**
  * Built-in principal group that has every other principal as member.
  */
-public class EveryonePrincipal implements JackrabbitPrincipal, java.security.acl.Group {
+public final class EveryonePrincipal implements JackrabbitPrincipal, java.security.acl.Group
{
 
     public static final String NAME = "everyone";
 

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/principal/PrincipalConfiguration.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/principal/PrincipalConfiguration.java?rev=1430943&r1=1430942&r2=1430943&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/principal/PrincipalConfiguration.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/principal/PrincipalConfiguration.java
Wed Jan  9 16:35:18 2013
@@ -30,8 +30,8 @@ import org.apache.jackrabbit.oak.spi.sec
 public interface PrincipalConfiguration extends SecurityConfiguration {
 
     @Nonnull
-    public PrincipalManager getPrincipalManager(Session session, Root root, NamePathMapper
namePathMapper);
+    PrincipalManager getPrincipalManager(Session session, Root root, NamePathMapper namePathMapper);
 
     @Nonnull
-    public PrincipalProvider getPrincipalProvider(Root root, NamePathMapper namePathMapper);
+    PrincipalProvider getPrincipalProvider(Root root, NamePathMapper namePathMapper);
 }
\ No newline at end of file



Mime
View raw message