它的主要优点是,如果集中地存储用户凭证信息,用户只需向服务器验证身份一次,即可开始使用所有系统上的资源。
The main advantage is that if the user's credentials are stored centrally, he can just authenticate once to the server and start using the resources across all the systems.
第一次您检查用户的凭证时,在成功登录时请将它们存储在高速缓存中。
The first time you check the user's credentials, store them in the cache upon a successful login.
如果不存在的话,重定向回登录表单以允许User再一次提供正确的凭证。
If not, redirect back to the login form to give the User another chance to provide the correct credentials.
应用推荐