javascript refresh token

This commit is contained in:
Bill Burke committed 2014-02-24 19:58:54 -05:00
1 parent 4b78857b51
commit 64065a4573
15 files changed
+208 -11

No files matched your search

@@ -1,5 +1,7 @@
package org.keycloak.example.oauth;
import org.jboss.resteasy.annotations.cache.NoCache;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
@@ -14,6 +16,7 @@ import java.util.List;
public class CustomerService {
@GET
@Produces("application/json")
@NoCache
public List<String> getCustomers() {
ArrayList<String> rtn = new ArrayList<String>();
rtn.add("Bill Burke");
@@ -1,5 +1,7 @@
package org.keycloak.example.oauth;
import org.jboss.resteasy.annotations.cache.NoCache;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
@@ -14,6 +16,7 @@ import java.util.List;
public class ProductService {
@GET
@Produces("application/json")
@NoCache
public List<String> getProducts() {
ArrayList<String> rtn = new ArrayList<String>();
rtn.add("iphone");