After installing Atlassian Crowd, you may get an error that you can’t login. Looking at the logs, you may see something similar to
2014-02-22 23:07:10,982 http-bio-8095-exec-18 INFO [crowd.manager.validation.ClientValidationManagerImpl] Client with address '10.123.11.1' is forbidden from making requests to application 'crowd' 2014-02-22 23:07:10,989 http-bio-8095-exec-4 ERROR [crowd.console.action.Login] Failed to connect to the authentication server, please check your crowd.properties org.springframework.security.authentication.AuthenticationServiceException: Client with address "10.123.11.1" is forbidden from making requests to the application, crowd.
My router (10.123.11.1) acts as a reverse proxy. The documentation shows you how to trust servers using the UI which doesn’t help us at all.
The solution is add an entry to the crowd database. Here’s the steps for Postgresql (assuming your database and user are both called ‘crowd’)
psql -h localhost -U crowd crowd INSERT INTO cwd_application_address VALUES (2,'10.123.11.1');
Dit dan dit.