天天看点

[大战WEBSPHERE]WAS开启安全模式

WAS 版本 6.1.0.17(No cluster)

Webshpere Version 6.1.0.17

OS Windows XP

假设创建profile的时候没有启用安全模式,现在因为某种原因要开启

Assuming the "administrative security" was not enabled when the profile was created, thisarticle will help to turn it on without creating a new profile.

[大战WEBSPHERE]WAS开启安全模式

1 用命令行启动was application server, 斜体部分根据实际情况替换,-username和-password是必须的

Start your application with following command, Italic chars should be replaced by yourself.The 2 args are mandatory 

as we going the enble the administrative security.

%WAS_HOME%\bin>startServer.bat serverName -username username -password password 

例(for me) %WAS_HOME%\bin>startServer.bat server1 -username hiadmin -password hiadmin

2 登陆控制台,进入Security-->Secure administration,applications页面

Log in the admin console and address to Security-->Secure administration,applications

[大战WEBSPHERE]WAS开启安全模式

3 点击Security Configuration Wizard 进入配置页面

Fire on Security Configuration Wizard button to enter Configure security page

我同时启用了application security

I'd like to enable the application security also

[大战WEBSPHERE]WAS开启安全模式
[大战WEBSPHERE]WAS开启安全模式

使用"hiadmin" 作为用户名密码

"hiadmin" is used as the username and the pwd

[大战WEBSPHERE]WAS开启安全模式
[大战WEBSPHERE]WAS开启安全模式

如果server启动的时候没有使用-username和-password参数,完成的时候将会抛出一个错误

If the server was started without -username and -password as listed in step1,you will get the following error

SECJ7334E: Exception raised while applying wizard security settings

4 保存

Save the change.

[大战WEBSPHERE]WAS开启安全模式

5. 重启application server

stop and start the application server,then you will be asked for the User ID&Password once you visit the admin console.

%WAS_HOME%\bin>startServer.bat serverName -username username -password password

例(for me) %WAS_HOME%\bin>startServer.bat server1 -username hiadmin -password hiadmin

[大战WEBSPHERE]WAS开启安全模式

继续阅读