oltu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asa...@apache.org
Subject svn commit: r1483470 - /oltu/trunk/oauth-2.0/integration-tests/src/test/java/org/apache/oltu/oauth2/integration/endpoints/ResourceHeaderEndpoint.java
Date Thu, 16 May 2013 17:51:14 GMT
Author: asanso
Date: Thu May 16 17:51:14 2013
New Revision: 1483470

URL: http://svn.apache.org/r1483470
Log:
OLTU-107 - ResourceHeaderEndpoint should use e.getUri():

* applied patch from Dominik Schürmann (thanks)

Modified:
    oltu/trunk/oauth-2.0/integration-tests/src/test/java/org/apache/oltu/oauth2/integration/endpoints/ResourceHeaderEndpoint.java

Modified: oltu/trunk/oauth-2.0/integration-tests/src/test/java/org/apache/oltu/oauth2/integration/endpoints/ResourceHeaderEndpoint.java
URL: http://svn.apache.org/viewvc/oltu/trunk/oauth-2.0/integration-tests/src/test/java/org/apache/oltu/oauth2/integration/endpoints/ResourceHeaderEndpoint.java?rev=1483470&r1=1483469&r2=1483470&view=diff
==============================================================================
--- oltu/trunk/oauth-2.0/integration-tests/src/test/java/org/apache/oltu/oauth2/integration/endpoints/ResourceHeaderEndpoint.java
(original)
+++ oltu/trunk/oauth-2.0/integration-tests/src/test/java/org/apache/oltu/oauth2/integration/endpoints/ResourceHeaderEndpoint.java
Thu May 16 17:51:14 2013
@@ -105,7 +105,7 @@ public class ResourceHeaderEndpoint {
                 .setRealm(Common.RESOURCE_SERVER_NAME)
                 .setError(e.getError())
                 .setErrorDescription(e.getDescription())
-                .setErrorUri(e.getDescription())
+                .setErrorUri(e.getUri())
                 .buildHeaderMessage();
 
             return Response.status(Response.Status.BAD_REQUEST)



Mime
View raw message