Class AuthorizationHandler
- java.lang.Object
-
- io.streamthoughts.azkarra.http.security.authorizer.AuthorizationHandler
-
- All Implemented Interfaces:
io.undertow.server.HttpHandler
public class AuthorizationHandler extends Object implements io.undertow.server.HttpHandler
-
-
Constructor Summary
Constructors Constructor Description AuthorizationHandler(io.undertow.server.HttpHandler next, AuthorizationManager authorizationManager, AzkarraPrincipalBuilder principalBuilder)
Creates a newAuthorizationHandler
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleRequest(io.undertow.server.HttpServerExchange exchange)
-
-
-
Constructor Detail
-
AuthorizationHandler
public AuthorizationHandler(io.undertow.server.HttpHandler next, AuthorizationManager authorizationManager, AzkarraPrincipalBuilder principalBuilder)
Creates a newAuthorizationHandler
instance.- Parameters:
next
- theHttpHandler
to forward authorized request.authorizationManager
- theAuthorizationManager
instance.principalBuilder
- theAzkarraPrincipalBuilder
instance (may benull
).
-
-