ShaunChow / shaun-iam-UAA

Wraps the UAA into a Spring Boot application, provides an executable JAR that includes both the UAA and an embedded Tomcat instance.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UAA Bundled

Build Status

Introduction

The CloudFoundry User Account and Authentication (UAA) Server is an OpenID certified OAuth2 provider that is distributed as a WAR file. In order to provide a more streamlined user experience, this project wraps the WAR file into a Spring Boot application and as such provides an executable JAR that includes both the UAA and an embedded Tomcat instance.

IMPORTANT

This project is not to be used in production environments. It is provided solely as an example / demo.

Usage

In order to get started, simply execute the following steps:

$ git clone https://github.com/pivotal/uaa-bundled.git
$ cd uaa-bundled
$ ./mvnw clean install
$ java -jar target/uaa-bundled-1.0.0.BUILD-SNAPSHOT.jar

For customization you can also reference, e.g. a uaa.yml file, simply specify the respective environment variable:

$ export CLOUD_FOUNDRY_CONFIG_PATH=/path/to/dev/ldap-uaa-example

For a more detailed sample that uses the UAA to provide security to Spring Cloud Data Flow, please have a look at the Spring Cloud Data Flow LDAP UAA Sample.

About

Wraps the UAA into a Spring Boot application, provides an executable JAR that includes both the UAA and an embedded Tomcat instance.

License:Apache License 2.0


Languages

Language:Java 93.0%Language:Dockerfile 7.0%