Hi,
I just started working on my first plugin (for Crowd), and have hit a problem while following the "Start application" instructions after creating the plugin skeleton.
The instructions say I should log in (to http://localhost:4990/crowd) as user admin with password admin, but when I do so, the page says "Invalid login." and the log shows:
ERROR [crowd.console.action.Login] Client with address "10.0.2.15", and hostname "crowd" is forbidden from making requests to the application, {2}.; nested exception is com.atlassian.crowd.exception.InvalidAuthorizationTokenException:
I've rechecked and I can't see any step that I missed. Does anyone know how to get past this problem?
Thanks,
Phil
Community moderators have prevented the ability to post new answers.
One possibility is that your crowd.properties file is specifying connection over an IP address that Crowd isn't initially expecting. If you're using AMPS, this file will be in target/crowd/home/crowd.properties. Edit this file so the crowd.server.url uses 'localhost' rather than a hostname and restart Crowd.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You need to add the IP address (10.0.2.15) to the Application you are trying to authenticate as.
See: http://confluence.atlassian.com/display/CROWD/Specifying+an+Application's+Address+or+Hostname
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the pointer. I got it to work by modifying crowd.properties.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.