openshift/origin-server — pull request #809 by Miciah (2012-11-01 04:55:54+00:00)
Title: [test] oo-accept-broker: add support for remote-user auth

Add support for the remote-user auth plug-in. If the plug-in is enabled,
then the following steps are performed:

• In verbose mode, the trusted header is printed.

• /var/www/openshift/broker/httpd/conf.d/*.conf is grepped for the
necessary settings to pass requests through for JBossTools and
node-to-broker communication.

• The following APIs are requested without authentication to ensure that
the appropriate responses are received.

• The following should return 200 responses:

/broker/rest/api
/broker/rest/application_templates
/broker/rest/cartridges

• The following should return 401 responses, indicating that
authentication is required:

/broker/rest/user
/broker/rest/domains

This commit also makes remote-user plug-in the default authentication
plug-in.