jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1421931 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/principal/PrincipalProvider.java
Date Fri, 14 Dec 2012 15:29:54 GMT
Author: angela
Date: Fri Dec 14 15:29:52 2012
New Revision: 1421931

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

- javadoc

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

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/principal/PrincipalProvider.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/principal/PrincipalProvider.java?rev=1421931&r1=1421930&r2=1421931&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/principal/PrincipalProvider.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/principal/PrincipalProvider.java
Fri Dec 14 15:29:52 2012
@@ -24,7 +24,17 @@ import javax.annotation.CheckForNull;
 import javax.annotation.Nonnull;
 
 /**
- * PrincipalProvider... TODO
+ * The {@code PrincipalProvider} defines methods to provide access to sources
+ * of {@link Principal}s. This allows the security framework share any external
+ * sources for authorization and authentication, as may be used by a custom
+ * {@link javax.security.auth.spi.LoginModule} for example.
+ *
+ * A single {@code PrincipalProvider} implementation is expected to exposed
+ * principals from one single source. In contrast to the
+ * {@link org.apache.jackrabbit.api.security.principal.PrincipalManager}
+ * which will expose all known and accessible principals from possibly
+ * different sources. See also {@link CompositePrincipalProvider} for a
+ * mechanism to combine principals of different providers.
  */
 public interface PrincipalProvider {
 



Mime
View raw message