New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spring or shiro jsonp(AbstractJsonpResponseBodyAdvice) bug [SPR-14967] #19534
Comments
Brian Clozel commented I don't understand the issue here. |
Say.li commented Sorry, English is not good. AbstractJsonpResponseBodyAdvice. beforeBodyWriteInternal method not implemented, not used SecurityUtils.getSubject() Don't know is the shrio problem, or spring problem. |
Say.li commented spring boot 1.4.2.RELEASE |
Brian Clozel commented As far as I understand, Apache Shiro handles requests at its Servlet Filter level. If you're looking for JSONP support with Shiro, I'd suggest getting in touch with the Shiro project then. |
Say.li commented
Method is used in the |
Say.li commented Aren't you 4:50 in the morning? |
Brian Clozel commented Please create a small project that demonstrates the issue. |
spring-projects-issues commentedDec 1, 2016
Say.li opened SPR-14967 and commented
@RestControllerAdvice
public class JsonpAdvice extends AbstractJsonpResponseBodyAdvice {
}
The above method, if there is in the
@RequestMapping
methodShiro:
SecurityUtils.getSubject().login(new UsernamePasswordToken("admin", "admin", false)) or
SecurityUtils.getSubject().logout(),
beforeBodyWriteInternal method will not be called,
Normal
@RequestMapping
method in normal.No further details from SPR-14967
The text was updated successfully, but these errors were encountered: