readme.txt
来自「一本关于EJB的书」· 文本 代码 · 共 17 行
TXT
17 行
This example illustrates JAAS security connecting to an EJB system.
Try compiling the example and then running it as-is. The user should authenticate and authorize.
Next, try changing the user's password in src\PasswordLoginModule.java. The user should not authenticate.
When you're done, restore the password.
Next, try changing the group that the role maps to in weblogic-ejb-jar.xml (try changing the role to
"Administrators" instead of "everyone". The user should authenticate but not authorize.
When you're done, restore the group.
Next, try changing the group that users belong to (Weblogic: type from a
web browser http://localhost:7001/console). Then try changing the group that 'guest' belongs to.
The user should authenticate but not authorize.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?