Move VCAP_SERVICES processing over from spring-cloud-security
This commit is contained in:
@@ -6,7 +6,15 @@ middlware that you "bind" to an app, essentially providing it with an
|
||||
environment variable containing credentials (e.g. the location and
|
||||
username to use for the service).
|
||||
|
||||
This project provides an implementation of Spring Cloud Commons `DiscoveryClient` so you can `@EnableDiscoveryClient`
|
||||
and provide your credentials as `spring.cloud.cloudfoundry.discovery.[email,password]` and then you can use the
|
||||
`DiscoveryClient` directly or via a `LoadBalancerClient` (also `*.url` if you are not connecting to [Pivotal Web
|
||||
The `spring-cloud-cloudfoundry-web` project provides basic support for
|
||||
some enhanced features of webapps in Cloud Foundry: binding
|
||||
automatically to single-sign-on services and optionally enabling
|
||||
sticky routing for discovery.
|
||||
|
||||
The `spring-cloud-cloudfoundry-discovery` project provides an
|
||||
implementation of Spring Cloud Commons `DiscoveryClient` so you can
|
||||
`@EnableDiscoveryClient` and provide your credentials as
|
||||
`spring.cloud.cloudfoundry.discovery.[email,password]` and then you
|
||||
can use the `DiscoveryClient` directly or via a `LoadBalancerClient`
|
||||
(also `*.url` if you are not connecting to [Pivotal Web
|
||||
Services](https://run.pivotal.io)).
|
||||
@@ -9,3 +9,17 @@ the fact that it has to get an access token from Cloud Foundry.
|
||||
|
||||
include::quickstart.adoc[]
|
||||
|
||||
=== Single Sign On
|
||||
|
||||
NOTE: All of the OAuth2 SSO and resource server features moved to Spring Boot
|
||||
in version 1.3. You can find documentation in the
|
||||
http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/[Spring Boot user guide].
|
||||
|
||||
This project provides automatic binding from CloudFoundry service
|
||||
credentials to the Spring Boot features. If you have a CloudFoundry
|
||||
service called "sso", for instance, with credentials containing
|
||||
"client_id", "client_secret" and "auth_domain", it will bind
|
||||
automatically to the Spring OAuth2 client that you enable with
|
||||
`@EnableOAuth2Sso` (from Spring Boot). The name of the service can be
|
||||
parameterized using `spring.oauth2.sso.serviceId`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user