authorization header, and throw an authorization exception if they don't
match.AuthorizationContext, given that we've been
provided a webserver-implementation-specific factory that can provide current request information.AuthorizationContextProvider.ServerAuthorizationComponentsFactory.getInstance() returns.BokuHttpAuthFilter.init(javax.servlet.FilterConfig) for details on configuration params.CurrentRequestAuthInfoFactory by interacting with thread-local data stored by
BokuHttpAuthFilter.CurrentRequestAuthInfoFactory interface.servlet implementation,
and any higher level framework integration (such as Jersey or SpringMVC) can be responsible for simply calling
AuthorizationContextProvider.AuthorizationContext.AuthorizationHeader.AuthorizationContextProviderAuthorizationHeader instance supplied with the request.BokuHttpAuthFilter to be installed in your web application.HttpMessageSignerServerAuthorizationComponentsFactory, initializing if necessary.BokuHttpAuthFilter init-params.BokuHttpAuthFilter and AuthorizationContextProvider must share state, and so
must be wired up correctly with the same common dependencies.BasicStringSignerImpl and your given KeyProvider
implementation.StringSigner implementation.BokuHttpAuthFilter sticks information about the request it's currently working on here, so that
BokuHttpAuthFilterCurrentRequestAuthInfoFactory can access it.Copyright © 2020. All rights reserved.