用于当前用户登录身份 Public CurrentUserStatus As String
登录用于用户身份验证,而数据库用户帐户用于数据库访问和权限验证。
A login is used for user authentication and a database user account is used for database access and permissions validation.
在此代码中,根据用户的角色限制对特定url的访问,并指出对未登录用户使用的身份验证机制。
In this code, we are limiting access to a certain URL based on a given user's role and telling which authentication mechanism to use for someone who is not logged in.
文件my - realm . xml定义了三个GBeans用来协调身份验证类型、登录用法以及用户登录到的安全领域。
The file my-realm.xml defines three GBeans that coordinate authentication type, login usage, and the security realm users log in to.
应用推荐