GetUserPrincipal method and the HttpServletRequest getRemoteUser

HttpServletRequest is an interface class, inherited from ServletRequest, and there are many new interface method, getRemoteUser () method and getUserPrincipal () method on one of them. Many web-based project will be defined HttpServletRequest implementation class, such as shiro in ShiroHttpServletRequest, its implementation process and also getRemoteUser getUserPrincipal methods were achieved.

Guess you like

Origin www.cnblogs.com/atai/p/11078287.html