sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r654086 - in /incubator/sling/trunk/sling/core/src/main: java/org/apache/sling/core/impl/auth/SlingAuthenticator.java resources/OSGI-INF/metatype/metatype.properties
Date Wed, 07 May 2008 12:58:17 GMT
Author: fmeschbe
Date: Wed May  7 05:58:16 2008
New Revision: 654086

URL: http://svn.apache.org/viewvc?rev=654086&view=rev
Log:
SLING-432 Aling default configuration in meta type descriptor to actual
default configuration and fix some descriptions in the message catalogue.

Modified:
    incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/auth/SlingAuthenticator.java
    incubator/sling/trunk/sling/core/src/main/resources/OSGI-INF/metatype/metatype.properties

Modified: incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/auth/SlingAuthenticator.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/auth/SlingAuthenticator.java?rev=654086&r1=654085&r2=654086&view=diff
==============================================================================
--- incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/auth/SlingAuthenticator.java
(original)
+++ incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/auth/SlingAuthenticator.java
Wed May  7 05:58:16 2008
@@ -82,17 +82,17 @@
     private static final Logger log = LoggerFactory.getLogger(SlingAuthenticator.class);
 
     /**
-     * @scr.property value="cqsudo"
+     * @scr.property valueRef="DEFAULT_IMPERSONATION_COOKIE"
      */
     public static final String PAR_IMPERSONATION_COOKIE_NAME = "auth.sudo.cookie";
 
     /**
-     * @scr.property value="sudo"
+     * @scr.property valueRef="DEFAULT_IMPERSONATION_PARAMETER"
      */
     public static final String PAR_IMPERSONATION_PAR_NAME = "auth.sudo.parameter";
 
     /**
-     * @scr.property value="false" type="Boolean"
+     * @scr.property valueRef="DEFAULT_ANONYMOUS_ALLOWED" type="Boolean"
      */
     public static final String PAR_ANONYMOUS_ALLOWED = "auth.annonymous";
 
@@ -100,7 +100,7 @@
     private static final String DEFAULT_IMPERSONATION_PARAMETER = "sudo";
 
     /** The default impersonation cookie name */
-    private static final String DEFAULT_IMPERSONATION_COOKIE = "cqsudo";
+    private static final String DEFAULT_IMPERSONATION_COOKIE = "sling.sudo";
 
     /** The default value for allowing anonymous access */
     private static final boolean DEFAULT_ANONYMOUS_ALLOWED = true;

Modified: incubator/sling/trunk/sling/core/src/main/resources/OSGI-INF/metatype/metatype.properties
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling/core/src/main/resources/OSGI-INF/metatype/metatype.properties?rev=654086&r1=654085&r2=654086&view=diff
==============================================================================
--- incubator/sling/trunk/sling/core/src/main/resources/OSGI-INF/metatype/metatype.properties
(original)
+++ incubator/sling/trunk/sling/core/src/main/resources/OSGI-INF/metatype/metatype.properties
Wed May  7 05:58:16 2008
@@ -31,12 +31,11 @@
  responsibility. This handler has no configurable properties.
 
 #
-# Request level authentication filter. Uses AuthenticationHandlers for the
+# Request Authenticator. Uses AuthenticationHandlers for the
 # actual work of extracting user details from the request.
-auth.name = Authentication Filter
-auth.description = Request Level filter which is used at the beginning of \
- request processing to extract user authentication details from the request with \
- the help of authentication handlers registered as separate components. One \
+auth.name = Request Authenticator
+auth.description = Extracts user authentication details from the request with \
+ the help of authentication handlers registered as separate services. One \
  example of such an authentication handler is the handler HTTP Authorization \
  header contained authentication.
 auth.sudo.cookie.name = Impersonation Cookie
@@ -50,9 +49,9 @@
  a session cookie of the name defined in the Impersonation Cookie setting.
 auth.annonymous.name = Allow Anonymous Access
 auth.annonymous.description = Whether default access as anonymous when no \
- credentials are present in the request is allowed. The default value is "false" \
- to force authentication. When set to "true" authentication is only requested \
- if the repository denies access.
+ credentials are present in the request is allowed. The default value is \
+ "true" to allow access without credentials. When set to "false" access to the \
+ repository is only allowed if valid credentials are presented.
  
 #
 # The main sling part controlling the request processing (ComponentRequestHandler)



Mime
View raw message