Пользователь не авторизован для входа в консоль

Пока я пробовал IBM MobileFirstPlatform [V6.3], я не могу войти в консоль. Это сервер разработки поставляется вместе со студией.

Я не настраивал административную безопасность для консоли.
Я не добавил / не изменил ни одного пользователя.

Журнал ошибок следующим образом

[AUDIT   ] CWWKS9104A: Authorization failed for user admin:worklightRealm while invoking WorklightServices on /management-apis/1.0/runtimes/EvidencerMob/applications. The user is not granted access to any of the required roles: [worklightadmin, worklightmonitor, worklightoperator, worklightdeployer].
[AUDIT   ] CWWKS9104A: Authorization failed for user admin:worklightRealm while invoking WorklightServices on /management-apis/1.0/runtimes/. The user is not granted access to any of the required roles: [worklightadmin, worklightmonitor, worklightoperator, worklightdeployer].
[AUDIT   ] CWWKS9104A: Authorization failed for user admin while invoking WorklightServices on /management-apis/1.0/runtimes/. The user is not granted access to any of the required roles: [worklightadmin, worklightmonitor, worklightoperator, worklightdeployer].
[AUDIT   ] CWWKS9104A: Authorization failed for user admin while invoking WorklightServices on /management-apis/1.0/runtimes/. The user is not granted access to any of the required roles: [worklightadmin, worklightmonitor, worklightoperator, worklightdeployer].
[AUDIT   ] CWWKS9104A: Authorization failed for user admin while invoking WorklightServices on /management-apis/1.0/runtimes/. The user is not granted access to any of the required roles: [worklightadmin, worklightmonitor, worklightoperator, worklightdeployer].
[AUDIT   ] CWWKS9104A: Authorization failed for user admin while invoking WorklightServices on /management-apis/1.0/runtimes/. The user is not granted access to any of the required roles: [worklightadmin, worklightmonitor, worklightoperator, worklightdeployer].
[AUDIT   ] CWWKS9104A: Authorization failed for user admin while invoking WorklightServices on /management-apis/1.0/runtimes/. The user is not granted access to any of the required roles: [worklightadmin, worklightmonitor, worklightoperator, worklightdeployer].
[AUDIT   ] CWWKS9104A: Authorization failed for user admin while invoking WorklightServices on /management-apis/1.0/runtimes/. The user is not granted access to any of the required roles: [worklightadmin, worklightmonitor, worklightoperator, worklightdeployer].
[AUDIT   ] CWWKS9104A: Authorization failed for user admin while invoking WorklightServices on /management-apis/1.0/runtimes/. The user is not granted access to any of the required roles: [worklightadmin, worklightmonitor, worklightoperator, worklightdeployer].
[AUDIT   ] CWWKS9104A: Authorization failed for user admin while invoking WorklightServices on /management-apis/1.0/runtimes/. The user is not granted access to any of the required roles: [worklightadmin, worklightmonitor, worklightoperator, worklightdeployer].
[AUDIT   ] CWWKS9104A: Authorization failed for user admin while invoking WorklightServices on /management-apis/1.0/runtimes/. The user is not granted access to any of the required roles: [worklightadmin, worklightmonitor, worklightoperator, worklightdeployer].
[AUDIT   ] CWWKS9104A: Authorization failed for user admin while invoking WorklightServices on /management-apis/1.0/runtimes/. The user is not granted access to any of the required roles: [worklightadmin, worklightmonitor, worklightoperator, worklightdeployer].
[AUDIT   ] CWWKS9104A: Authorization failed for user admin while invoking WorklightServices on /management-apis/1.0/runtimes/. The user is not granted access to any of the required roles: [worklightadmin, worklightmonitor, worklightoperator, worklightdeployer].
[AUDIT   ] CWWKS9104A: Authorization failed for user admin while invoking WorklightServices on /management-apis/1.0/runtimes/. The user is not granted access to any of the required roles: [worklightadmin, worklightmonitor, worklightoperator, worklightdeployer].
[AUDIT   ] CWWKS9104A: Authorization failed for user admin while invoking WorklightServices on /management-apis/1.0/runtimes/. The user is not granted access to any of the required roles: [worklightadmin, worklightmonitor, worklightoperator, worklightdeployer].
[AUDIT   ] CWWKS9104A: Authorization failed for user admin while invoking WorklightServices on /management-apis/1.0/runtimes/. The user is not granted access to any of the required roles: [worklightadmin, worklightmonitor, worklightoperator, worklightdeployer].
[AUDIT   ] CWWKS9104A: Authorization failed for user admin while invoking WorklightServices on /management-apis/1.0/runtimes/. The user is not granted access to any of the required roles: [worklightadmin, worklightmonitor, worklightoperator, worklightdeployer].
[AUDIT   ] CWWKS9104A: Authorization failed for user admin while invoking WorklightServices on /management-apis/1.0/runtimes/EvidencerMob/applications. The user is not granted access to any of the required roles: [worklightadmin, worklightmonitor, worklightoperator, worklightdeployer].
[AUDIT   ] CWWKS9104A: Authorization failed for user admin while invoking WorklightConsole on /index.html. The user is not granted access to any of the required roles: [worklightadmin, worklightmonitor, worklightoperator, worklightdeployer].
[AUDIT   ] CWWKS9104A: Authorization failed for user admin while invoking WorklightConsole on /services. The user is not granted access to any of the required roles: [worklightadmin, worklightmonitor, worklightoperator, worklightdeployer].
[AUDIT   ] CWWKS9104A: Authorization failed for user admin while invoking WorklightConsole on /index.html. The user is not granted access to any of the required roles: [worklightadmin, worklightmonitor, worklightoperator, worklightdeployer].
[AUDIT   ] CWWKS9104A: Authorization failed for user admin while invoking WorklightConsole on /services. The user is not granted access to any of the required roles: [worklightadmin, worklightmonitor, worklightoperator, worklightdeployer].

1 ответ

Консоль MobileFirst на сервере разработки MobileFirst (версия для разработчиков доступна в виде подключаемого модуля Eclipse) не требует входа в систему. В случае, если по какой-либо причине требуется вход в систему, учетные данные для использования являются admin/admin.

Мне непонятно, почему вы получили эту ошибку, но один из возможных способов это сделать:

  1. Закрыть Затмение
  2. Откройте рабочую область Eclipse и удалите папку MobileFirstConfigServer
  3. Снова откройте Eclipse, запустите сервер и посетите консоль.
Другие вопросы по тегам