Interface HttpEntryPoint.AuthorizationInterceptor
- Enclosing class:
HttpEntryPoint
Authorization-only interceptor for an operation discovered inside an active HTTP entry point.
This contract is intended for protocol integrations that must authorize a framework-owned operation after request parsing has identified it. Authentication and the remaining HTTP entry point interceptors are handled by the enclosing HTTP entry point and must not be repeated by this interceptor.
-
Method Summary
Modifier and TypeMethodDescriptionvoidauthorize(InterceptionContext interceptionContext, HttpEntryPoint.Interceptor.Chain chain, ServerRequest request, ServerResponse response) Authorize the operation.
-
Method Details
-
authorize
void authorize(InterceptionContext interceptionContext, HttpEntryPoint.Interceptor.Chain chain, ServerRequest request, ServerResponse response) throws Exception Authorize the operation.- Parameters:
interceptionContext- context with invocation metadatachain- authorization interceptor chainrequest- server requestresponse- server response- Throws:
Exception- in case authorization fails with an exception
-