Skip to content

Commit

Permalink
duh!
Browse files Browse the repository at this point in the history
  • Loading branch information
isapir committed Jul 13, 2017
1 parent 25bb537 commit ad8ebcb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@

<groupId>net.twentyonesolutions</groupId>
<artifactId>servlet-filter-utils</artifactId>
<version>1.1.0</version>
<version>1.1.1</version>
<packaging>jar</packaging>

<properties>
<maven.compiler.source>1.8</maven.compiler.source>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ public void init(FilterConfig filterConfig) throws ServletException {
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {

((HttpServletRequest)request).getSession(); // initialize the HttpSession

chain.doFilter(request, response);
}

/**
Expand Down

0 comments on commit ad8ebcb

Please sign in to comment.