This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to annotated tag org.apache.sling.auth.form-1.0.0 in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git
commit 0a8abcc1cc430e8fc557d9cf3b0a1a092c930f46 Author: Justin Edelson <[email protected]> AuthorDate: Tue Apr 27 15:28:03 2010 +0000 SLING-1497 - adding tentative configuration for configuring service.ranking via ConfigAdmin/Metatype git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/formauth@938518 13f79535-47bb-0310-9956-ffa450edef68 --- pom.xml | 1 + .../org/apache/sling/formauth/FormAuthenticationHandler.java | 9 +++++++++ src/main/resources/OSGI-INF/metatype/metatype.properties | 4 ++++ 3 files changed, 14 insertions(+) diff --git a/pom.xml b/pom.xml index 6623030..2b0ca7f 100644 --- a/pom.xml +++ b/pom.xml @@ -48,6 +48,7 @@ <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-scr-plugin</artifactId> + <version>LATEST</version> </plugin> <plugin> <groupId>org.apache.felix</groupId> diff --git a/src/main/java/org/apache/sling/formauth/FormAuthenticationHandler.java b/src/main/java/org/apache/sling/formauth/FormAuthenticationHandler.java index 75ec613..a8ca7ff 100644 --- a/src/main/java/org/apache/sling/formauth/FormAuthenticationHandler.java +++ b/src/main/java/org/apache/sling/formauth/FormAuthenticationHandler.java @@ -42,6 +42,7 @@ import org.apache.sling.commons.auth.spi.AuthenticationInfo; import org.apache.sling.commons.auth.spi.DefaultAuthenticationFeedbackHandler; import org.apache.sling.commons.osgi.OsgiUtil; import org.osgi.framework.BundleContext; +import org.osgi.framework.Constants; import org.osgi.framework.ServiceRegistration; import org.osgi.service.component.ComponentContext; import org.slf4j.Logger; @@ -207,6 +208,14 @@ public class FormAuthenticationHandler implements AuthenticationHandler, static final String PAR_J_REASON = "j_reason"; /** + * The service ranking property. + * + * @scr.property type="Integer" value="0" private="false" + */ + @SuppressWarnings("unused") + private static final String PAR_SERVICE_RANKING = Constants.SERVICE_RANKING; + + /** * The factor to convert minute numbers into milliseconds used internally */ private static final long MINUTES = 60L * 1000L; diff --git a/src/main/resources/OSGI-INF/metatype/metatype.properties b/src/main/resources/OSGI-INF/metatype/metatype.properties index 1dc9616..3c2a922 100644 --- a/src/main/resources/OSGI-INF/metatype/metatype.properties +++ b/src/main/resources/OSGI-INF/metatype/metatype.properties @@ -66,3 +66,7 @@ form.token.file.description = The name of the file used to persist the \ sling.home framework property or - if sling.home is not set - the current \ working directory. In the future this file may be store in the JCR Repository \ to support clustering scenarios. + +service.ranking.name = Ranking +service.ranking.description = The relative ranking of this service. + -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
