fix spring config
This commit is contained in:
parent
c1aff280d9
commit
9dacdfb2e2
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue