public static class WithMockAuthentication.Factory extends Object implements org.springframework.security.test.context.support.WithSecurityContextFactory<WithMockAuthentication>
| Constructor and Description |
|---|
Factory() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.core.Authentication |
authentication(WithMockAuthentication annotation) |
org.springframework.security.core.context.SecurityContext |
createSecurityContext(WithMockAuthentication annotation) |
public org.springframework.security.core.context.SecurityContext createSecurityContext(WithMockAuthentication annotation)
createSecurityContext in interface org.springframework.security.test.context.support.WithSecurityContextFactory<WithMockAuthentication>public org.springframework.security.core.Authentication authentication(WithMockAuthentication annotation)
Copyright © 2021. All rights reserved.