Class OAuthAuthenticator
java.lang.Object
com.flyfish.oauth.common.OAuth2PostAware
com.flyfish.oauth.common.auth.OAuthAuthenticator
- All Implemented Interfaces:
OAuth2SsoInitializeAware
-
Field Summary
Fields inherited from class OAuth2PostAware
auditingEntryPoint, authenticationEntryPoint, client -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticate(OAuthFilterContext context) 鉴权,这里使用请求上下文鉴权booleancheckStatus(javax.servlet.http.HttpServletRequest request) 检查请求状态static OAuthAuthenticatorMethods inherited from class OAuth2PostAware
setAuditingEntryPoint, setAuthenticationEntryPoint, setClient
-
Constructor Details
-
OAuthAuthenticator
public OAuthAuthenticator()
-
-
Method Details
-
getInstance
-
checkStatus
public boolean checkStatus(javax.servlet.http.HttpServletRequest request) 检查请求状态- Parameters:
request- 请求- Returns:
- 结果
-
authenticate
鉴权,这里使用请求上下文鉴权- Parameters:
context- 上下文- Returns:
- 通过与否
- Throws:
IOException
-