Class MockAuthenticationRequestPostProcessor<T extends org.springframework.security.core.Authentication>
java.lang.Object
com.c4_soft.springaddons.security.oauth2.test.MockAuthenticationBuilder<T,MockAuthenticationRequestPostProcessor<T>>
com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockAuthenticationRequestPostProcessor<T>
- All Implemented Interfaces:
com.c4_soft.springaddons.security.oauth2.AuthenticationBuilder<T>,AuthenticationRequestPostProcessor<T>,org.springframework.test.web.servlet.request.RequestPostProcessor
public class MockAuthenticationRequestPostProcessor<T extends org.springframework.security.core.Authentication>
extends MockAuthenticationBuilder<T,MockAuthenticationRequestPostProcessor<T>>
implements AuthenticationRequestPostProcessor<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MockAuthenticationRequestPostProcessor<org.springframework.security.core.Authentication>static <T extends org.springframework.security.core.Authentication>
MockAuthenticationRequestPostProcessor<T>mockAuthentication(Class<T> authType) Methods inherited from class com.c4_soft.springaddons.security.oauth2.test.MockAuthenticationBuilder
authorities, authorities, build, configure, credentials, details, downcast, name, principal, setAuthenticatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.c4_soft.springaddons.security.oauth2.AuthenticationBuilder
buildMethods inherited from interface com.c4_soft.springaddons.security.oauth2.test.mockmvc.AuthenticationRequestPostProcessor
postProcessRequest
-
Constructor Details
-
MockAuthenticationRequestPostProcessor
-
-
Method Details
-
mockAuthentication
public static <T extends org.springframework.security.core.Authentication> MockAuthenticationRequestPostProcessor<T> mockAuthentication(Class<T> authType) -
mockAuthentication
public static MockAuthenticationRequestPostProcessor<org.springframework.security.core.Authentication> mockAuthentication()
-