I am using shiro, Atmosphere and spring . but the last line of code will
failed
Subject currentUser = null;
if (r.transport().equals(TRANSPORT.WEBSOCKET)) {
WebEnvironment env =
WebUtils.getRequiredWebEnvironment(r.getAtmosphereConfig().getServletContext());
I know i need config this if I am not using spring.
<listener>
<listener-class>org.apache.shiro.web.env.EnvironmentLoaderListener</listener-class>
</listener>
but what should i do that when I am using spring?
sorry for my poor english...
--
View this message in context:
http://shiro-user.582556.n2.nabble.com/WebEnvironment-is-not-seted-when-using-with-spring-tp7579424.html
Sent from the Shiro User mailing list archive at Nabble.com.