TokenBasedRememberMeServices changed to use long instead of int for tokenValiditySeconds.
This commit is contained in:
parent
10c1926385
commit
8ae2276843
|
@ -115,7 +115,7 @@ public class TokenBasedRememberMeServices implements RememberMeServices,
|
||||||
private AuthenticationDao authenticationDao;
|
private AuthenticationDao authenticationDao;
|
||||||
private String key;
|
private String key;
|
||||||
private String parameter = DEFAULT_PARAMETER;
|
private String parameter = DEFAULT_PARAMETER;
|
||||||
private int tokenValiditySeconds = 1209600; // 14 days
|
private long tokenValiditySeconds = 1209600; // 14 days
|
||||||
|
|
||||||
//~ Methods ================================================================
|
//~ Methods ================================================================
|
||||||
|
|
||||||
|
@ -143,11 +143,11 @@ public class TokenBasedRememberMeServices implements RememberMeServices,
|
||||||
return parameter;
|
return parameter;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setTokenValiditySeconds(int tokenValiditySeconds) {
|
public void setTokenValiditySeconds(long tokenValiditySeconds) {
|
||||||
this.tokenValiditySeconds = tokenValiditySeconds;
|
this.tokenValiditySeconds = tokenValiditySeconds;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getTokenValiditySeconds() {
|
public long getTokenValiditySeconds() {
|
||||||
return tokenValiditySeconds;
|
return tokenValiditySeconds;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
<body>
|
<body>
|
||||||
<release version="0.8.2" date="In CVS">
|
<release version="0.8.2" date="In CVS">
|
||||||
<action dev="benalex" type="fix">Correct location of AuthenticationSimpleHttpInvokerRequestExecutor in clientContext.xml</action>
|
<action dev="benalex" type="fix">Correct location of AuthenticationSimpleHttpInvokerRequestExecutor in clientContext.xml</action>
|
||||||
|
<action dev="benalex" type="fix">TokenBasedRememberMeServices changed to use long instead of int for tokenValiditySeconds (SPR-807)</action>
|
||||||
<action dev="benalex" type="update">Add credentialsExpiredFailureUrl getter/setter to AbstractProcessingFilter</action>
|
<action dev="benalex" type="update">Add credentialsExpiredFailureUrl getter/setter to AbstractProcessingFilter</action>
|
||||||
</release>
|
</release>
|
||||||
<release version="0.8.1" date="2005-03-22">
|
<release version="0.8.1" date="2005-03-22">
|
||||||
|
|
Loading…
Reference in New Issue