jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r828684 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/AuthContextProvider.java
Date Thu, 22 Oct 2009 13:40:16 GMT
Author: angela
Date: Thu Oct 22 13:40:15 2009
New Revision: 828684

URL: http://svn.apache.org/viewvc?rev=828684&view=rev
Log:
JCR-1977 - authentication order has changed from 1.4.x to 1.5.x

fixed description

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/AuthContextProvider.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/AuthContextProvider.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/AuthContextProvider.java?rev=828684&r1=828683&r2=828684&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/AuthContextProvider.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/authentication/AuthContextProvider.java
Thu Oct 22 13:40:15 2009
@@ -32,18 +32,11 @@
 import java.util.Properties;
 
 /**
- * A AuthContextProvider selects how the current request for login is handled.
- * It selects the mechanism and set-up according configuration.<br>
- * The handler selects if the JAAS-configuration
- * {@link javax.security.auth.login.Configuration} is taken or the fall-back as
- * configured via {@link org.apache.jackrabbit.core.config.RepositoryConfig}.<p>
- * This implementaion selects JAAS under the following condition:
- * <ul>
- * <li>a JAAS Login-{@link javax.security.auth.login.Configuration} is available
- * <li>the configuration contains the configured application name
- * </ul>
- * If the conditions are not met <b>AND</b> a LoginModule is configured in
- * {@link org.apache.jackrabbit.core.config.RepositoryConfig}, that one is taken.
+ * <code>AuthContextProvider</code> defines how the current request for login
is
+ * handled. By default the {@link org.apache.jackrabbit.core.config.RepositoryConfig
+ * local repository configuration} takes precedence over JAAS configuration.
+ * If no local configuration is present a JAAS configuration must be provided
+ * otherwise {@link #getAuthContext} fails with <code>RepositoryException</code>.
  */
 public class AuthContextProvider {
 



Mime
View raw message