fixed gui only profile annotations
This commit is contained in:
parent
979d4a6e89
commit
684da72060
1 changed files with 4 additions and 0 deletions
|
@ -10,12 +10,16 @@ package ch.ethz.seb.sebserver.webservice.weblayer.oauth;
|
||||||
|
|
||||||
import javax.annotation.PostConstruct;
|
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.security.web.authentication.preauth.PreAuthenticatedAuthenticationProvider;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
import ch.ethz.seb.sebserver.webservice.weblayer.WebServiceUserDetails;
|
import ch.ethz.seb.sebserver.webservice.weblayer.WebServiceUserDetails;
|
||||||
|
|
||||||
|
@Lazy
|
||||||
@Component
|
@Component
|
||||||
|
@WebServiceProfile
|
||||||
public class PreAuthProvider extends PreAuthenticatedAuthenticationProvider {
|
public class PreAuthProvider extends PreAuthenticatedAuthenticationProvider {
|
||||||
|
|
||||||
private final WebServiceUserDetails webServiceUserDetails;
|
private final WebServiceUserDetails webServiceUserDetails;
|
||||||
|
|
Loading…
Reference in a new issue