archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1428909 - in /archiva/redback/redback-core/trunk: redback-configuration/src/main/java/org/apache/archiva/redback/configuration/ redback-policy/src/main/java/org/apache/archiva/redback/policy/
Date Fri, 04 Jan 2013 14:56:08 GMT
Author: olamy
Date: Fri Jan  4 14:56:08 2013
New Revision: 1428909

URL: http://svn.apache.org/viewvc?rev=1428909&view=rev
Log:
align constants names

Modified:
    archiva/redback/redback-core/trunk/redback-configuration/src/main/java/org/apache/archiva/redback/configuration/UserConfigurationKeys.java
    archiva/redback/redback-core/trunk/redback-policy/src/main/java/org/apache/archiva/redback/policy/RememberMeCookieSettings.java

Modified: archiva/redback/redback-core/trunk/redback-configuration/src/main/java/org/apache/archiva/redback/configuration/UserConfigurationKeys.java
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-configuration/src/main/java/org/apache/archiva/redback/configuration/UserConfigurationKeys.java?rev=1428909&r1=1428908&r2=1428909&view=diff
==============================================================================
--- archiva/redback/redback-core/trunk/redback-configuration/src/main/java/org/apache/archiva/redback/configuration/UserConfigurationKeys.java
(original)
+++ archiva/redback/redback-core/trunk/redback-configuration/src/main/java/org/apache/archiva/redback/configuration/UserConfigurationKeys.java
Fri Jan  4 14:56:08 2013
@@ -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";
 

Modified: archiva/redback/redback-core/trunk/redback-policy/src/main/java/org/apache/archiva/redback/policy/RememberMeCookieSettings.java
URL: http://svn.apache.org/viewvc/archiva/redback/redback-core/trunk/redback-policy/src/main/java/org/apache/archiva/redback/policy/RememberMeCookieSettings.java?rev=1428909&r1=1428908&r2=1428909&view=diff
==============================================================================
--- archiva/redback/redback-core/trunk/redback-policy/src/main/java/org/apache/archiva/redback/policy/RememberMeCookieSettings.java
(original)
+++ archiva/redback/redback-core/trunk/redback-policy/src/main/java/org/apache/archiva/redback/policy/RememberMeCookieSettings.java
Fri Jan  4 14:56:08 2013
@@ -20,7 +20,6 @@ package org.apache.archiva.redback.polic
  */
 
 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 );
     }
 }



Mime
View raw message