fixed gui only profile annotations

This commit is contained in:
anhefti 2024-02-22 14:27:57 +01:00
parent 979d4a6e89
commit 684da72060

View file

@ -10,12 +10,16 @@ package ch.ethz.seb.sebserver.webservice.weblayer.oauth;
import javax.annotation.PostConstruct;
import ch.ethz.seb.sebserver.gbl.profile.WebServiceProfile;
import org.springframework.context.annotation.Lazy;
import org.springframework.security.web.authentication.preauth.PreAuthenticatedAuthenticationProvider;
import org.springframework.stereotype.Component;
import ch.ethz.seb.sebserver.webservice.weblayer.WebServiceUserDetails;
@Lazy
@Component
@WebServiceProfile
public class PreAuthProvider extends PreAuthenticatedAuthenticationProvider {
private final WebServiceUserDetails webServiceUserDetails;