fix spring config

This commit is contained in:
anhefti 2019-02-04 17:05:39 +01:00
parent c1aff280d9
commit 9dacdfb2e2

View file

@ -12,7 +12,9 @@ import java.util.Collection;
import javax.servlet.http.HttpServletRequest;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.ApplicationEvent;
import org.springframework.context.annotation.Import;
import org.springframework.context.event.EventListener;
import org.springframework.http.HttpStatus;
import org.springframework.security.oauth2.common.OAuth2AccessToken;
@ -27,6 +29,7 @@ import ch.ethz.seb.sebserver.gbl.profile.WebServiceProfile;
@Controller
@WebServiceProfile
@Import(DataSourceAutoConfiguration.class)
public class RevokeTokenEndpoint {
private final ConsumerTokenServices tokenServices;