[英]Where is the user info stored in http authentication method?
It maybe different for different http authentication. 不同的http身份验证可能有所不同。 But just want to know where is it stored (blog post would be helpful).
但是只想知道它的存储位置(博客文章会有所帮助)。 In java servlet, I can get the userinfo from request.getRemoteUser(), then is the user info stored in http header or cookie.
在Java Servlet中,我可以从request.getRemoteUser()获取用户信息,然后将用户信息存储在http标头或cookie中。 And how does the client specify that.
以及客户如何指定。 eg In java I can construct URI with user info, but where is it stored.
例如,在Java中,我可以使用用户信息构造URI,但将其存储在哪里。 Any related blog post would be helpful
任何相关的博客文章都将有所帮助
If I understand your question well enough, you're trying to figure it out how the client side information related to the user are stored .. well.. It depends of the client implementation you are using I guess . 如果我足够了解您的问题,那么您正在尝试弄清楚如何存储与用户相关的客户端信息..很好..这取决于您使用的客户端实现。
For instance Angular can use different kind of user information storage methods like CacheFactory or LocalStorage API as mentionned in this other post . 例如,Angular可以使用其他用户信息存储方法,例如CacheFactory或LocalStorage API,如本篇其他文章中所述 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.