public abstract class AbstractAnnotatedAuthenticationBuilder<A extends Annotation,T extends org.springframework.security.core.Authentication> extends Object implements org.springframework.security.test.context.support.WithSecurityContextFactory<A>
| Constructor and Description |
|---|
AbstractAnnotatedAuthenticationBuilder() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
authentication(A annotation) |
Set<org.springframework.security.core.GrantedAuthority> |
authorities(String... authorities) |
org.springframework.security.core.context.SecurityContext |
createSecurityContext(A annotation) |
protected T |
downcast() |
OidcToken |
token(OpenIdClaims annotation) |
public AbstractAnnotatedAuthenticationBuilder()
public org.springframework.security.core.context.SecurityContext createSecurityContext(A annotation)
createSecurityContext in interface org.springframework.security.test.context.support.WithSecurityContextFactory<A extends Annotation>public Set<org.springframework.security.core.GrantedAuthority> authorities(String... authorities)
public OidcToken token(OpenIdClaims annotation)
protected T downcast()
Copyright © 2022. All rights reserved.