简体   繁体   English

http身份验证方法中存储的用户信息在哪里?

[英]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.

相关问题 Logger信息存储在Java的哪里? - Where the Logger info stored in Java? GWT身份验证和用户信息访问 - GWT Authentication and user info access Firebase身份验证-显示用户信息 - Firebase authentication - Display user info 在webapp中如何进行用户身份验证? - Where to do user authentication in webapp? 从 Java 方法(在 DAO 层中)调用存储过程(将记录插入 lsa_user_info 表)时出现 PSQLException - Getting PSQLException while calling a Stored Procedure (which inserts record into lsa_user_info table) from Java method ( which is in DAO Layer) 如何在Android中使用WebView的身份验证信息进行HTTP请求? - How to make HTTP Request with authentication info from WebView in Android? ID存储在地图中的线程的运行方法 - Run method of thread where id stored in map java中存储的方法引用副本在哪里? - Where are method reference copies stored in java? HTTP基本用户身份验证:“ Authorization”标头不被接受(区分大小写) - HTTP basic user authentication : “Authorization” header not accepted (case-sensitive) 使用错误凭据的表单身份验证导致 HTTP 405(不允许的方法) - Form Authentication with wrong credentials leads to HTTP 405 (Method Not Allowed)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM