shiro用户信息传递过大时的设置

shiro用户信息传递过大时的设置

//Subject currentUser = SecurityUtils.getSubject();

//UserDetailsBean shiroUser = (UserDetailsBean) currentUser.getPrincipal()

An attempt was made to write more data to the response headers than there was room available in the buffer.Increase maxHttpHeaderSize on 

the connector or write less data into the response headers.

 <Connector  maxHttpHeaderSize="102400" connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>

相关推荐