public interface CurrentRequestAuthInfoFactory
servlet implementation,
and any higher level framework integration (such as Jersey or SpringMVC) can be responsible for simply calling
AuthorizationContextProvider.| Modifier and Type | Method and Description |
|---|---|
CurrentRequestAuthInfo |
getCurrentRequestInfo() |
CurrentRequestAuthInfo getCurrentRequestInfo() throws InvalidAuthorizationHeaderException
CurrentRequestAuthInfo for the currently executing request. Does not return null.InvalidAuthorizationHeaderException - If an Authorization header was not presented with the request
(i.e. it cannot be authenticated), or there was some basic formatting problem with said header.IllegalStateException - If called outside the scope of a request.Copyright © 2020. All rights reserved.