This commit is contained in:
Bill Burke 2014-08-18 18:52:51 -04:00
parent faf18dfdfd
commit c38abb2cfe
2 changed files with 1 additions and 7 deletions

View file

@ -156,7 +156,7 @@ public class UserFederationResource {
@GET
@NoCache
@Path("instances/{id}")
@Consumes("application/json")
@Produces("application/json")
public UserFederationProviderRepresentation getProviderInstance(@PathParam("id") String id) {
logger.info("getProvider");
auth.requireView();

View file

@ -3,13 +3,7 @@ package org.keycloak.services.util;
import org.jboss.resteasy.spi.HttpResponse;
import org.jboss.resteasy.spi.ResteasyProviderFactory;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletResponse;
import javax.ws.rs.core.HttpHeaders;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Locale;
/**
* @author <a href="mailto:bill@burkecentral.com">Bill Burke</a>