add a secure cookie property for rememberme
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1424222 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
55ebedebde
commit
bcfecde0c8
|
@ -38,7 +38,6 @@ public interface UserConfigurationKeys
|
|||
|
||||
String PASSWORD_ENCODER = "security.policy.password.encoder";
|
||||
|
||||
|
||||
String EMAIL_VALIDATION_SUBJECT = "email.validation.subject";
|
||||
|
||||
String REMEMBER_ME_PATH = "security.rememberme.path";
|
||||
|
@ -47,6 +46,10 @@ public interface UserConfigurationKeys
|
|||
|
||||
String REMEMBER_ME_ENABLED = "security.rememberme.enabled";
|
||||
|
||||
String REMEMBERME_TIMEOUT = "security.rememberme.timeout";
|
||||
|
||||
String REMEMBERME_SECURE = "security.rememberme.secure";
|
||||
|
||||
String SIGNON_DOMAIN = "security.signon.domain";
|
||||
|
||||
String SIGNON_PATH = "security.signon.path";
|
||||
|
@ -105,8 +108,6 @@ public interface UserConfigurationKeys
|
|||
|
||||
String EMAIL_VALIDATION_REQUIRED = "email.validation.required";
|
||||
|
||||
String REMEMBERME_TIMEOUT = "security.rememberme.timeout";
|
||||
|
||||
String ALPHA_COUNT_MIN = "security.policy.password.rule.alphacount.minimum";
|
||||
|
||||
String ALPHA_COUNT_VIOLATION = "user.password.violation.alpha";
|
||||
|
|
|
@ -72,6 +72,9 @@ email.validation.subject=Welcome
|
|||
security.rememberme.enabled=true
|
||||
# Timeout in days ( 365 days = 1 year )
|
||||
security.rememberme.timeout=365
|
||||
security.rememberme.path=/
|
||||
security.rememberme.domain=
|
||||
security.rememberme.secure=false
|
||||
|
||||
# Single Sign On
|
||||
# Timeout in minutes
|
||||
|
|
|
@ -48,5 +48,6 @@ public class RememberMeCookieSettings
|
|||
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 );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue