public class BokuHttpAuthFilterCurrentRequestAuthInfoFactory extends Object implements CurrentRequestAuthInfoFactory
CurrentRequestAuthInfoFactory by interacting with thread-local data stored by
BokuHttpAuthFilter.| Constructor and Description |
|---|
BokuHttpAuthFilterCurrentRequestAuthInfoFactory(ThreadLocalServletRequestContextHolder threadLocalServletRequestContextHolder) |
| Modifier and Type | Method and Description |
|---|---|
CurrentRequestAuthInfo |
getCurrentRequestInfo() |
public BokuHttpAuthFilterCurrentRequestAuthInfoFactory(ThreadLocalServletRequestContextHolder threadLocalServletRequestContextHolder)
public CurrentRequestAuthInfo getCurrentRequestInfo() throws InvalidAuthorizationHeaderException
getCurrentRequestInfo in interface CurrentRequestAuthInfoFactoryCurrentRequestAuthInfo 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.Copyright © 2020. All rights reserved.