Skip to content

Commit

Permalink
CFID-251: change config path
Browse files Browse the repository at this point in the history
Change-Id: Iebb3985ef7d7abdbc36e2be36e5c4fca5a8e6c58
  • Loading branch information
dsyer committed Apr 16, 2012
1 parent bca1626 commit e2e261b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions uaa/src/main/resources/uaa.yml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -26,12 +26,10 @@ cloud_controller:
batch: batch:
username: batch_user username: batch_user
password: batch_password password: batch_password

endpoints:
authorize:
ssl: # set this to "true" to force https to be used by the user approval page


oauth: oauth:
authorize:
ssl: # set this to "true" to force https to be used by the user approval page
clients: clients:
admin: admin:
authorized-grant-types: client_credentials authorized-grant-types: client_credentials
Expand Down
2 changes: 1 addition & 1 deletion uaa/src/main/webapp/WEB-INF/spring-servlet.xml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@
<bean id="accessController" class="org.cloudfoundry.identity.uaa.oauth.AccessController"> <bean id="accessController" class="org.cloudfoundry.identity.uaa.oauth.AccessController">
<property name="clientDetailsService" ref="clientDetails" /> <property name="clientDetailsService" ref="clientDetails" />
<!-- Always use HTTPS if deployed on cloudfoundry --> <!-- Always use HTTPS if deployed on cloudfoundry -->
<property name="useSsl" value="#{applicationProperties['endpoints.authorize.ssl']?:(T(java.lang.System).getenv('VCAP_APPLICATION')!=null ? true : null)}"/> <property name="useSsl" value="#{applicationProperties['oauth.authorize.ssl']?:(T(java.lang.System).getenv('VCAP_APPLICATION')!=null ? true : null)}"/>
</bean> </bean>


<bean id="homeController" class="org.cloudfoundry.identity.uaa.home.HomeController" /> <bean id="homeController" class="org.cloudfoundry.identity.uaa.home.HomeController" />
Expand Down

0 comments on commit e2e261b

Please sign in to comment.