gluu
|
クラス | |
class | OAuthHttpServletRequestWrapper |
公開メンバ関数 | |
void | init (final FilterConfig filterConfig) throws ServletException |
void | destroy () |
void | doFilter (final ServletRequest servletRequest, final ServletResponse servletResponse, final FilterChain filterChain) throws IOException, ServletException |
限定公開メンバ関数 | |
SimplePrincipal | retrievePrincipalFromSessionOrRequest (final ServletRequest servletRequest) |
final String | getPropertyFromInitParams (final FilterConfig filterConfig, final String propertyName, final String defaultValue) |
限定公開変数類 | |
final Log | log = LogFactory.getLog(getClass()) |
Implementation of a filter that wraps the normal HttpServletRequest with a wrapper that overrides the following methods to provide data from the OAuth data:
This filter needs to be configured in the chain so that it executes after both the authentication and the validation filters.
|
inline |
Wraps the HttpServletRequest in a wrapper class that delegates request.getRemoteUser
to the underlying OAuthData object stored in the user session.
|
inlineprotectedinherited |
Retrieves the property from the FilterConfig. First it checks the FilterConfig's initParameters to see if it has a value. If it does, it returns that, otherwise it retrieves the ServletContext's initParameters and returns that value if any.
filterConfig | the Filter Configuration. |
propertyName | the property to retrieve. |
defaultValue | the default value if the property is not found. |
|
inline |
|
inlineprotected |
|
protectedinherited |