add setter for using a custom name for the rememberMeParameter
This commit is contained in:
committed by
Rob Winch
parent
cd352f665b
commit
c8b79289c9
@@ -162,6 +162,17 @@ public final class RememberMeConfigurer<H extends HttpSecurityBuilder<H>> extend
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The HTTP parameter used to indicate to remember the user at time of login.
|
||||
*
|
||||
* @param rememberMeParameter the HTTP parameter used to indicate to remember the user
|
||||
* @return the {@link RememberMeConfigurer} for further customization
|
||||
*/
|
||||
public RememberMeConfigurer<H> rememberMeParameter(String rememberMeParameter) {
|
||||
this.rememberMeParameter = rememberMeParameter;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Allows control over the destination a remembered user is sent to when they are successfully authenticated.
|
||||
* By default, the filter will just allow the current request to proceed, but if an
|
||||
|
||||
Reference in New Issue
Block a user