登录用于用户身份验证,而数据库用户帐户用于数据库访问和权限验证。
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.
正如您可以看到的,允许您指定使用数据库中的哪个表来进行身份验证,并允许您指定登录用户的访问级别(accesslevel字段)。
As you can see, this lets you specify which table in our database is used for authentication and the access level of the logged in user (the AccessLevel field).
在这种情况下,DB 2使用客户端身份验证插件(即clientauth插件)找到发出命令的当前登录用户。
In this case, you have to employ the client-side authentication plug-in (also known as the client auth plug-in) to find out who is the current logon user that is issuing the command.
在这种情况下,DB 2使用客户端身份验证插件(即clientauth插件)找到发出命令的当前登录用户。
In this case, you have to employ the client-side authentication plug-in (also known as the client auth plug-in) to find out who is the current logon user that is issuing the command.
应用推荐