Class ShiroInterceptor

java.lang.Object
org.atmosphere.cpr.AtmosphereInterceptorAdapter
org.atmosphere.interceptor.ShiroInterceptor
All Implemented Interfaces:
AtmosphereInterceptor, AtmosphereConfigAware, InvokationOrder

public class ShiroInterceptor extends AtmosphereInterceptorAdapter
Shiro Interceptor, it creates a request attribute (subject) that contains the true Subject. For more information about why don't use directly SecurityUtils.getSubject http://jfarcand.wordpress.com/2011/07/13/quick-tip-using-apache-shiro-with-your-atmospheres-websocketcomet-app/