Skip to content

Commit 4c6b19b

Browse files
committed
minor fix
1 parent 5e5c2ef commit 4c6b19b

File tree

6 files changed

+13
-12
lines changed

6 files changed

+13
-12
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
#server.contextPath=/resource
2-
#server.port=8081
1+
server.contextPath=/spring-security-oauth-resource
2+
server.port=8081
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
#server.contextPath=/server
1+
server.contextPath=/spring-security-oauth-server
2+
server.port=8081
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
#server.context-path=/ui
2-
#server.port=8080
1+
server.contextPath=/spring-security-oauth-ui-implicit
2+
server.port=8081

spring-security-oauth/spring-security-oauth-ui-implicit/src/main/resources/templates/header.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010

1111

1212
<oauth
13-
site="http://localhost:8080/spring-security-oauth-server"
13+
site="http://localhost:8081/spring-security-oauth-server"
1414
client-id="clientId"
15-
redirect-uri="http://localhost:8080/spring-security-oauth-ui-implicit/index"
15+
redirect-uri="http://localhost:8081/spring-security-oauth-ui-implicit/index"
1616
scope="read"
1717
template="oauthTemp">
1818
</oauth>
@@ -44,7 +44,7 @@
4444
});
4545

4646
$scope.foo = {id:0 , name:"sample foo"};
47-
$scope.foos = $resource("http://localhost:8080/spring-security-oauth-resource/foos/:fooId",{fooId:'@id'});
47+
$scope.foos = $resource("http://localhost:8081/spring-security-oauth-resource/foos/:fooId",{fooId:'@id'});
4848

4949
$scope.getFoo = function(){
5050
$scope.foo = $scope.foos.get({fooId:$scope.foo.id});
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
#server.context-path=/ui
2-
#server.port=8080
1+
server.contextPath=/spring-security-oauth-ui-password
2+
server.port=8081

spring-security-oauth/spring-security-oauth-ui-password/src/main/resources/templates/header.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
app.controller('mainCtrl', function($scope,$resource,$http,$httpParamSerializer,$cookies) {
2424
$scope.foo = {id:0 , name:"sample foo"};
25-
$scope.foos = $resource("http://localhost:8080/spring-security-oauth-resource/foos/:fooId",{fooId:'@id'});
25+
$scope.foos = $resource("http://localhost:8081/spring-security-oauth-resource/foos/:fooId",{fooId:'@id'});
2626

2727
$scope.getFoo = function(){
2828
$scope.foo = $scope.foos.get({fooId:$scope.foo.id});
@@ -50,7 +50,7 @@
5050
$scope.login = function() {
5151
var req = {
5252
method: 'POST',
53-
url: "http://localhost:8080/spring-security-oauth-server/oauth/token",
53+
url: "http://localhost:8081/spring-security-oauth-server/oauth/token",
5454
headers: {
5555
"Authorization": "Basic " + $scope.encoded,
5656
"Content-type": "application/x-www-form-urlencoded; charset=utf-8"

0 commit comments

Comments
 (0)