diff options
author | 2017-03-29 14:11:46 +0300 | |
---|---|---|
committer | 2017-03-29 14:11:46 +0300 | |
commit | 9f770c26d1e4f392d591bf35886e3dcc7371d64f (patch) | |
tree | 5fccb22b5c01b40d81a111de61e5fbf27f55a18f /juick-www/src/main/java/com/juick/www/configuration/WwwSecurityInitializer.java | |
parent | 889a5e543d33e3305bccd77e52722da695e068f7 (diff) |
juick-www: Spring Security
Diffstat (limited to 'juick-www/src/main/java/com/juick/www/configuration/WwwSecurityInitializer.java')
-rw-r--r-- | juick-www/src/main/java/com/juick/www/configuration/WwwSecurityInitializer.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/juick-www/src/main/java/com/juick/www/configuration/WwwSecurityInitializer.java b/juick-www/src/main/java/com/juick/www/configuration/WwwSecurityInitializer.java new file mode 100644 index 00000000..0ea8c907 --- /dev/null +++ b/juick-www/src/main/java/com/juick/www/configuration/WwwSecurityInitializer.java @@ -0,0 +1,20 @@ +package com.juick.www.configuration; + +/** + * Created by vitalyster on 25.11.2016. + */ + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer; + +import javax.servlet.ServletContext; + +public class WwwSecurityInitializer extends AbstractSecurityWebApplicationInitializer { + private final Logger logger = LoggerFactory.getLogger(getClass()); + + @Override + protected void afterSpringSecurityFilterChain(ServletContext servletContext) { + logger.info("SpringSecurityFilterChain initialized"); + } +} |