问题
I have installed the IBM Worklight Application Center using IBM Installation Manager in a WAS Liberty profile application server.
When trying to access: http://host:10080/appcenterconsole/applications/Applications.html
The following error message is being returned:
FWLAC0401W: No user appears to be logged, check the Application Center security configuration.
What is causing it?
回答1:
The message means that no user principal was found in the security context. Something with the security settings is wrong.
On WebSphere Application Server, the typical problem is that application security is not enabled.
If you have WebSphere Liberty profile, then check server.xml. It must contain:
<feature>appSecurity-1.0</feature>
It must also contain something like the following (details vary depending on LDAP or not):
<application id="appcenterconsole" ...>
<application-bnd>
<security-role name="appcenteradmin">
...
</security-role>
</application-bnd>
</application>
<application id="applicationcenter" ...>
<application-bnd>
<security-role name="appcenteradmin">
...
</security-role>
</application-bnd>
...
</application>
If you have WebSphere full profile, then open the WAS admin console.
Go to Security > Global Security > Application Security
Ensure that "Enable application security" is checked.
I think "Enable application security" works only if "Enable administrative security" is checked as well, hence make sure both are checked.
If you change it then:
- hit apply button
- save to master configuration
- restart the web server (it does not work without restart)
Now: exit the WAS admin console or start a new browser (as you cannot log into application center with the same browser that has the admin console open). Go to application center console and log in. The effect should disappear.
Note: the IBM install manager changes the "Enable application security" correctly only if "Enable administrative security" is enabled. But the IBM install manager does not restart WAS. The user must restart WAS when the IBM install manager changed those flags.
回答2:
It means that the user you use is not a user recognized by the security registry of Liberty Profile.
So surely something is wrong with your server.xml. Could you give its content and the user you use to connect ? And also the AppCenter version.
Thanks.
来源:https://stackoverflow.com/questions/19161927/ibm-worklight-6-fwlac0401w-no-user-appears-to-be-logged-check-the-applicati