Index

A B C D F G H J L M O P R S W 
All Classes and Interfaces|All Packages|Serialized Form

A

AddonsWebmvcTestConf - Class in com.c4_soft.springaddons.security.oauth2.test.mockmvc
 
AddonsWebmvcTestConf() - Constructor for class com.c4_soft.springaddons.security.oauth2.test.mockmvc.AddonsWebmvcTestConf
 
AuthenticationRequestPostProcessor<T extends org.springframework.security.core.Authentication> - Interface in com.c4_soft.springaddons.security.oauth2.test.mockmvc
Redundant code for Authentication MockMvc request post-processors
AutoConfigureSecurityAddons - Annotation Interface in com.c4_soft.springaddons.security.oauth2.test.mockmvc
 

B

beanFactory - Variable in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.ServletUnitTestingSupport
 

C

com.c4_soft.springaddons.security.oauth2.test.mockmvc - package com.c4_soft.springaddons.security.oauth2.test.mockmvc
 
containsContext(HttpServletRequest) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.SecurityContextRequestPostProcessorSupport.TestSecurityContextRepository
 

D

delete(String, Object...) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
Shortcut to issue a DELETE request (no header)
deleteRequestBuilder(String, Object...) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
Factory for a DELETE request builder.

F

feed(MockHttpServletRequestBuilder, T, MediaType, Charset) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
Adds serialized payload to request content.

G

get(String, Object...) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
Shortcut to create a builder for a GET request with minimal headers and submit it (Accept header defaulted to what this helper was constructed with).
get(MediaType, String, Object...) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
Shortcut to issue a GET request with minimal headers and submit it.
getContext(HttpServletRequest) - Static method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.SecurityContextRequestPostProcessorSupport.TestSecurityContextRepository
 
getDispatcherServlet() - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
 
getRequestBuilder(String, Object...) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
Factory providing with a request builder to issue a GET request (with Accept header defaulted to what this helper is constructed with).
getRequestBuilder(MediaType, String, Object...) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
Factory providing with a request builder to issue a GET request (with Accept header).

H

head(String, Object...) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
Shortcut to issue a HEAD request (no header)
headRequestBuilder(String, Object...) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
Factory for a HEAD request builder.

J

jwtDecoder() - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.AddonsWebmvcTestConf
 

L

loadContext(HttpRequestResponseHolder) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.SecurityContextRequestPostProcessorSupport.TestSecurityContextRepository
 

M

mockAuthentication() - Static method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockAuthenticationRequestPostProcessor
 
mockAuthentication(Class<T>, Object) - Static method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockAuthenticationRequestPostProcessor
 
MockAuthenticationRequestPostProcessor<T extends org.springframework.security.core.Authentication> - Class in com.c4_soft.springaddons.security.oauth2.test.mockmvc
 
MockAuthenticationRequestPostProcessor(Class<T>, Object) - Constructor for class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockAuthenticationRequestPostProcessor
 
MockAuthenticationRequestPostProcessor(Class<T>, Object, Object, Object) - Constructor for class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockAuthenticationRequestPostProcessor
 
mockMvc() - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.ServletUnitTestingSupport
 
MockMvcPerformException - Exception in com.c4_soft.springaddons.security.oauth2.test.mockmvc
 
MockMvcPerformException(Throwable) - Constructor for exception com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcPerformException
 
MockMvcProperties - Class in com.c4_soft.springaddons.security.oauth2.test.mockmvc
 
MockMvcProperties() - Constructor for class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcProperties
 
mockMvcSupport(MockMvc, SerializationHelper, MockMvcProperties, ServerProperties, SpringAddonsSecurityProperties) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.AddonsWebmvcTestConf
 
MockMvcSupport - Class in com.c4_soft.springaddons.security.oauth2.test.mockmvc
Just another wrapper for Spring MockMvc.
It would extend MockMvc if it was not final :-/
MockMvcSupport(MockMvc, SerializationHelper, MockMvcProperties, ServerProperties, SpringAddonsSecurityProperties) - Constructor for class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
 
mockOidcId() - Static method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.OidcIdAuthenticationTokenRequestPostProcessor
 

O

OidcIdAuthenticationTokenRequestPostProcessor - Class in com.c4_soft.springaddons.security.oauth2.test.mockmvc
 
OidcIdAuthenticationTokenRequestPostProcessor() - Constructor for class com.c4_soft.springaddons.security.oauth2.test.mockmvc.OidcIdAuthenticationTokenRequestPostProcessor
 
option(String, Object...) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
Shortcut to issue an OPTION request with default media-type as Accept header
option(MediaType, String, Object...) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
Shortcut to issue an OPTION request with Accept header
optionRequestBuilder(String, Object...) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
Factory for an OPTION request initialized with an Accept header set to default media-type.
optionRequestBuilder(MediaType, String, Object...) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
Factory for an OPTION request initialized with an Accept header.

P

patch(T, String, Object...) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
Shortcut to issue a patch request with Content-type header and a body (using default media-type).
patch(T, MediaType, String, Object...) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
Shortcut to issue a patch request with Content-type header and a body.
patch(T, MediaType, Charset, String, Object...) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
Shortcut to issue a patch request with Content-type header and a body.
patchRequestBuilder(T, String, Object...) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
Factory for a patch request builder (with Content-type set to default media-type).
patchRequestBuilder(T, MediaType, String, Object...) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
Factory for a patch request builder (with Content-type already set).
patchRequestBuilder(T, MediaType, Charset, String, Object...) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
Factory for a patch request builder (with Content-type already set).
perform(MockHttpServletRequestBuilder) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
To be called with fully configured request builder (wraps MockMvc perform).
post(T, String, Object...) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
Shortcut to issue a POST request with provided payload as body, using default media-type for serialization (and Content-type header).
post(T, MediaType, Charset, MediaType, String, Object...) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
Shortcut to issue a POST request with provided payload as body, using given media-type for serialization (and Content-type header).
post(T, MediaType, MediaType, String, Object...) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
Shortcut to issue a POST request with provided payload as body, using given media-type for serialization (and Content-type header).
postProcessRequest(MockHttpServletRequest) - Method in interface com.c4_soft.springaddons.security.oauth2.test.mockmvc.AuthenticationRequestPostProcessor
 
postRequestBuilder(T, String, Object...) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
Factory for a POST request builder.
postRequestBuilder(T, MediaType, Charset, MediaType, String, Object...) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
Factory for a POST request builder containing a body set to payload serialized in given media type (with adequate Content-type header).
postRequestBuilder(T, MediaType, MediaType, String, Object...) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
Factory for a POST request builder containing a body set to payload serialized in given media type (with adequate Content-type header).
put(T, String, Object...) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
Shortcut to issue a PUT request (with default media-type as Content-type).
put(T, MediaType, String, Object...) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
Shortcut to issue a PUT request.
put(T, MediaType, String, String, Object...) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
Shortcut to issue a PUT request.
putRequestBuilder(T, String, Object...) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
Factory for a POST request builder containing a body.
putRequestBuilder(T, MediaType, String, Object...) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
Factory for a POST request builder containing a body.
putRequestBuilder(T, MediaType, Charset, String, Object...) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
Factory for a POST request builder containing a body.

R

requestBuilder(Optional<MediaType>, Optional<Charset>, HttpMethod, String, Object...) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
Factory for a generic MockHttpServletRequestBuilder with relevant "Accept" and "Content-Type" headers.

S

save(Authentication, HttpServletRequest) - Static method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.SecurityContextRequestPostProcessorSupport
Saves the specified Authentication into an empty SecurityContext using the SecurityContextRepository.
save(SecurityContext, HttpServletRequest) - Static method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.SecurityContextRequestPostProcessorSupport
Saves the SecurityContext using the SecurityContextRepository
saveContext(SecurityContext, HttpServletRequest, HttpServletResponse) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.SecurityContextRequestPostProcessorSupport.TestSecurityContextRepository
 
SecurityContextRequestPostProcessorSupport - Class in com.c4_soft.springaddons.security.oauth2.test.mockmvc
Not visible in springframework (and method not static)
SecurityContextRequestPostProcessorSupport.TestSecurityContextRepository - Class in com.c4_soft.springaddons.security.oauth2.test.mockmvc
Used to wrap the SecurityContextRepository to provide support for testing in stateless mode
serializationHelper(ObjectFactory<HttpMessageConverters>) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.AddonsWebmvcTestConf
 
ServletUnitTestingSupport - Class in com.c4_soft.springaddons.security.oauth2.test.mockmvc
Helper class for servlet @Controller unit-tests using security flow API (useless if using annotations).
Might be used either as a parent class (easier) or collaborator (requires some test configuration).
ServletUnitTestingSupport() - Constructor for class com.c4_soft.springaddons.security.oauth2.test.mockmvc.ServletUnitTestingSupport
 
setCharset(Charset) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
 
setCsrf(boolean) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
 
setMediaType(MediaType) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
 
setSecure(boolean) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
 

W

with(RequestPostProcessor) - Method in class com.c4_soft.springaddons.security.oauth2.test.mockmvc.MockMvcSupport
 
A B C D F G H J L M O P R S W 
All Classes and Interfaces|All Packages|Serialized Form