"Login Failed : Not Authorized , Login as another user. " I got this error while log in to KIE IDE

1,721 views
Skip to first unread message

adarsh6...@gmail.com

unread,
Aug 29, 2017, 11:53:39 AM8/29/17
to Drools Setup
Please Some One Help Me.
I'm using kie-drools-wb-6.5.0.Final-eap7 at Jboss eap7 and also created Application User like this.




What type of user do you wish to add?
 a) Management User (mgmt-users.properties)
 b) Application User (application-users.properties)
(a): b

Enter the details of the new user to add.
Using realm 'ApplicationRealm' as discovered from the existing property files.
Username : admin3
Password recommendations are listed below. To modify these restrictions edit the add-user.properties configuration file.
 - The password should be different from the username
 - The password should not be one of the following restricted values {root, admin, administrator}
 - The password should contain at least 8 characters, 1 alphabetic character(s), 1 digit(s), 1 non-alphanumeric symbol(s)
Password :
Re-enter Password :
What groups do you want this user to belong to? (Please enter a comma separated list, or leave blank for none)[  ]: Role
About to add user 'admin3' for realm 'ApplicationRealm'
Is this correct yes/no? yes
Added user 'admin3' to file 'D:\jboss-eap-7.0\standalone\configuration\application-users.properties'
Added user 'admin3' to file 'D:\jboss-eap-7.0\domain\configuration\application-users.properties'
Added user 'admin3' with groups Role to file 'D:\jboss-eap-7.0\standalone\configuration\application-roles.properties'
Added user 'admin3' with groups Role to file 'D:\jboss-eap-7.0\domain\configuration\application-roles.properties'
Is this new user going to be used for one AS process to connect to another AS process?
e.g. for a slave host controller connecting to the master or for a Remoting connection for server to server EJB calls.
yes/no? no
Press any key to continue . . .



but still I'm unable to login.

Michael B

unread,
Aug 30, 2017, 4:28:59 AM8/30/17
to Drools Setup
HI,
Try to do the same (../bin/add-user.sh), but this time edit admin when you're asked   What groups do you want this user to belong to? -
Now, you should be able to log in.
The user admin3/pwd should be added automatically to application-users.properties and application-roles.properties.
If you want to add more users you can do this by using the UI

Michael B
Reply all
Reply to author
Forward
0 new messages