KEYCLOAK-11632 Don't cache server info endpoint

This commit is contained in:
vmuzikar 2019-10-04 15:29:26 +02:00 committed by Stian Thorgersen
parent 5f006b283a
commit 434ea0965c

View file

@ -17,6 +17,7 @@
package org.keycloak.services.resources.admin.info;
import org.jboss.resteasy.annotations.cache.NoCache;
import org.keycloak.broker.provider.IdentityProvider;
import org.keycloak.broker.provider.IdentityProviderFactory;
import org.keycloak.broker.social.SocialIdentityProvider;
@ -86,6 +87,7 @@ public class ServerInfoAdminResource {
* @return
*/
@GET
@NoCache
@Produces(MediaType.APPLICATION_JSON)
public ServerInfoRepresentation getInfo() {
ServerInfoRepresentation info = new ServerInfoRepresentation();