SEC-1439: Make getters and setters public on HttpRequestResponseHolder.

Necessary to allow use of custom SecurityContextRepository.
This commit is contained in:
Luke Taylor 2010-03-12 15:53:05 +00:00
parent 111d49d68a
commit d5df53f1db
1 changed files with 7 additions and 7 deletions

View File

@ -11,28 +11,28 @@ import javax.servlet.http.HttpServletResponse;
* @author Luke Taylor
* @since 3.0
*/
public class HttpRequestResponseHolder {
HttpServletRequest request;
HttpServletResponse response;
public final class HttpRequestResponseHolder {
private HttpServletRequest request;
private HttpServletResponse response;
public HttpRequestResponseHolder(HttpServletRequest request, HttpServletResponse response) {
this.request = request;
this.response = response;
}
HttpServletRequest getRequest() {
public HttpServletRequest getRequest() {
return request;
}
void setRequest(HttpServletRequest request) {
public void setRequest(HttpServletRequest request) {
this.request = request;
}
HttpServletResponse getResponse() {
public HttpServletResponse getResponse() {
return response;
}
void setResponse(HttpServletResponse response) {
public void setResponse(HttpServletResponse response) {
this.response = response;
}
}