add auth-proxy-test

Adds the first auth proxy test. This sets up a front proxy ahead of the oauth/authorize endpoint and proves that you pass an X-Remote-User header to our requestheader authentication request handler, you get back a code.

@liggitt Probably of interest to you.
We don't use all caps constants.  Stop shouting!


> On Nov 21, 2014, at 3:46 PM, Jordan Liggitt <notifications@github.com> wrote:
> 
> In test/integration/auth_proxy_test.go:
> 
> > +	"github.com/openshift/origin/pkg/cmd/server/origin"
> > +	oauthapi "github.com/openshift/origin/pkg/oauth/api"
> > +	oauthclient "github.com/openshift/origin/pkg/oauth/registry/client"
> > +	oauthetcd "github.com/openshift/origin/pkg/oauth/registry/etcd"
> > +	"github.com/openshift/origin/pkg/oauth/server/osinserver"
> > +	"github.com/openshift/origin/pkg/oauth/server/osinserver/registrystorage"
> > +	"github.com/openshift/origin/pkg/user"
> > +	useretcd "github.com/openshift/origin/pkg/user/registry/etcd"
> > +)
> > +
> > +func init() {
> > +	requireEtcd()
> > +}
> > +
> > +var (
> > +	VALID_USERS = []User{
> either make the values easier to match to the fields or add field names
> 
> —
> Reply to this email directly or view it on GitHub.
>