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.HttpServletRequest
transform
(jakarta.servlet.http.HttpServletRequest request) Deprecated, for removal: This API element is subject to removal in a future version.Return theHttpServletRequest
that 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.HttpServletRequestTransformer
Return theHttpServletRequest
that is passed into theAuthorizationManager
- Specified by:
transform
in interfaceAuthorizationManagerWebInvocationPrivilegeEvaluator.HttpServletRequestTransformer
- Parameters:
request
- theHttpServletRequest
created by theWebInvocationPrivilegeEvaluator
- Returns:
- the
HttpServletRequest
that is passed into theAuthorizationManager
-
PathPatternRequestTransformer
instead