]> source.dussan.org Git - archiva.git/commitdiff
align constants names
authorOlivier Lamy <olamy@apache.org>
Fri, 4 Jan 2013 14:56:08 +0000 (14:56 +0000)
committerOlivier Lamy <olamy@apache.org>
Fri, 4 Jan 2013 14:56:08 +0000 (14:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1428909 13f79535-47bb-0310-9956-ffa450edef68

redback-configuration/src/main/java/org/apache/archiva/redback/configuration/UserConfigurationKeys.java
redback-policy/src/main/java/org/apache/archiva/redback/policy/RememberMeCookieSettings.java

index d6f0fd93ae8e3b6a96bf8e0df812a705a967261f..b6d401d966b72835e2e24738d4eef87eafe410ae 100644 (file)
@@ -46,9 +46,9 @@ public interface UserConfigurationKeys
 
     String REMEMBER_ME_ENABLED = "security.rememberme.enabled";
 
-    String REMEMBERME_TIMEOUT = "security.rememberme.timeout";
+    String REMEMBER_ME_TIMEOUT = "security.rememberme.timeout";
 
-    String REMEMBERME_SECURE = "security.rememberme.secure";
+    String REMEMBER_ME_SECURE = "security.rememberme.secure";
 
     String SIGNON_DOMAIN = "security.signon.domain";
 
index d43f9f9a3c11d64af780d270be68a7e3aa2d57f5..130d348b818c5d7ea41e644c12ffc8e8bd5e2bf4 100644 (file)
@@ -20,7 +20,6 @@ package org.apache.archiva.redback.policy;
  */
 
 import org.apache.archiva.redback.configuration.UserConfigurationKeys;
-import org.apache.archiva.redback.policy.AbstractCookieSettings;
 import org.springframework.stereotype.Service;
 
 import javax.annotation.PostConstruct;
@@ -44,10 +43,10 @@ public class RememberMeCookieSettings
     @PostConstruct
     public void initialize()
     {
-        this.cookieTimeout = config.getInt( UserConfigurationKeys.REMEMBERME_TIMEOUT );
+        this.cookieTimeout = config.getInt( UserConfigurationKeys.REMEMBER_ME_TIMEOUT );
         this.domain = config.getString( UserConfigurationKeys.REMEMBER_ME_DOMAIN );
         this.path = config.getString( UserConfigurationKeys.REMEMBER_ME_PATH );
         this.enabled = config.getBoolean( UserConfigurationKeys.REMEMBER_ME_ENABLED );
-        config.getBoolean( UserConfigurationKeys.REMEMBERME_SECURE, false );
+        config.getBoolean( UserConfigurationKeys.REMEMBER_ME_SECURE, false );
     }
 }