public class MockAuthenticationWebTestClientConfigurer<T extends org.springframework.security.core.Authentication> extends Object implements AuthenticationConfigurer<T>
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterConfigureAdded, afterConfigurerAdded, beforeServerCreated, configurerpublic T build()
build in interface com.c4_soft.springaddons.security.oauth2.AuthenticationBuilder<T extends org.springframework.security.core.Authentication>public MockAuthenticationWebTestClientConfigurer<T> authorities(String... authorities)
public MockAuthenticationWebTestClientConfigurer<T> authorities(Stream<String> authorities)
public MockAuthenticationWebTestClientConfigurer<T> name(String name)
public MockAuthenticationWebTestClientConfigurer<T> credentials(Object credentials)
public MockAuthenticationWebTestClientConfigurer<T> details(Object details)
public MockAuthenticationWebTestClientConfigurer<T> principal(Object principal)
public MockAuthenticationWebTestClientConfigurer<T> setAuthenticated(boolean authenticated)
public static MockAuthenticationWebTestClientConfigurer<org.springframework.security.core.Authentication> mockAuthentication()
public static <T extends org.springframework.security.core.Authentication> MockAuthenticationWebTestClientConfigurer<T> mockAuthentication(Class<T> authType)
public static <T extends org.springframework.security.core.Authentication> MockAuthenticationWebTestClientConfigurer<T> mockAuthentication(Class<T> authType, Consumer<T> authMockConfigurer)
Copyright © 2022. All rights reserved.