Skip to content

Commit

Permalink
13-04-2017 release 1.0-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
HossamT committed Apr 13, 2017
1 parent 8720f7e commit ac5622a
Showing 1 changed file with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,20 +83,13 @@ public void onLogoutSuccess(HttpServletRequest request,
response.setStatus(HttpServletResponse.SC_OK);
response.sendRedirect("/fits");
}
}).deleteCookies("JSESSIONID").invalidateHttpSession(true)
})
.and()
.sessionManagement()
.maximumSessions(1);
http
.csrf()
.disable();
}

@Bean
public HttpSessionEventPublisher httpSessionEventPublisher() {
return new HttpSessionEventPublisher();
}


}

}

0 comments on commit ac5622a

Please sign in to comment.