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 Constructor Description MockAuthenticationRequestPostProcessor(Class<T> authType)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MockAuthenticationRequestPostProcessor<org.springframework.security.core.Authentication>mockAuthentication()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, setAuthenticated
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.c4_soft.springaddons.security.oauth2.AuthenticationBuilder
build
-
Methods inherited from interface com.c4_soft.springaddons.security.oauth2.test.mockmvc.AuthenticationRequestPostProcessor
postProcessRequest
-
-
-
-
Method Detail
-
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()
-
-