public class MockAuthenticationBuilder<A extends org.springframework.security.core.Authentication,T extends MockAuthenticationBuilder<A,T>> extends Object
| Constructor and Description |
|---|
MockAuthenticationBuilder(Class<A> authType) |
| Modifier and Type | Method and Description |
|---|---|
T |
authorities(Stream<String> authorities) |
T |
authorities(String... authorities) |
A |
build() |
T |
configure(Consumer<A> authConsumer) |
T |
credentials(Object credentials) |
T |
details(Object details) |
protected T |
downcast() |
T |
name(String name) |
T |
principal(Object principal) |
T |
setAuthenticated(boolean authenticated) |
Copyright © 2022. All rights reserved.