Class HandlerMappingIntrospectorRequestTransformer
java.lang.Object
org.springframework.security.web.access.HandlerMappingIntrospectorRequestTransformer
- All Implemented Interfaces:
AuthorizationManagerWebInvocationPrivilegeEvaluator.HttpServletRequestTransformer
@Deprecated(forRemoval=true)
public class HandlerMappingIntrospectorRequestTransformer
extends Object
implements AuthorizationManagerWebInvocationPrivilegeEvaluator.HttpServletRequestTransformer
Deprecated, for removal: This API element is subject to removal in a future version.
Transforms by passing it into
HandlerMappingIntrospector.setCache(HttpServletRequest). Before, it wraps the
HttpServletRequest to ensure that the methods needed work since some methods by
default throw UnsupportedOperationException.-
Field Summary
Fields inherited from interface org.springframework.security.web.access.AuthorizationManagerWebInvocationPrivilegeEvaluator.HttpServletRequestTransformer
IDENTITY -
Constructor Summary
ConstructorsConstructorDescriptionHandlerMappingIntrospectorRequestTransformer(org.springframework.web.servlet.handler.HandlerMappingIntrospector introspector) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionjakarta.servlet.http.HttpServletRequesttransform(jakarta.servlet.http.HttpServletRequest request) Deprecated, for removal: This API element is subject to removal in a future version.Return theHttpServletRequestthat is passed into theAuthorizationManager
-
Constructor Details
-
HandlerMappingIntrospectorRequestTransformer
public HandlerMappingIntrospectorRequestTransformer(org.springframework.web.servlet.handler.HandlerMappingIntrospector introspector) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
transform
public jakarta.servlet.http.HttpServletRequest transform(jakarta.servlet.http.HttpServletRequest request) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:AuthorizationManagerWebInvocationPrivilegeEvaluator.HttpServletRequestTransformerReturn theHttpServletRequestthat is passed into theAuthorizationManager- Specified by:
transformin interfaceAuthorizationManagerWebInvocationPrivilegeEvaluator.HttpServletRequestTransformer- Parameters:
request- theHttpServletRequestcreated by theWebInvocationPrivilegeEvaluator- Returns:
- the
HttpServletRequestthat is passed into theAuthorizationManager
-
PathPatternRequestTransformerinstead