|
|||||
FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Intercepts j_spring_facebook_security_check to trigger Facebook login.
Field Summary | |
---|---|
String |
_apiKey
|
String |
_authenticationUrlRoot
|
String |
_secretKey
|
Constructor Summary | |
FacebookAuthenticationProcessingFilter()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
Authentication |
attemptAuthentication(HttpServletRequest request)
|
FacebookAuthenticationToken |
createToken(String authToken, HttpServletRequest request, HttpServletResponse response, String apiKey, String secretKey)
Build an authentication from a login auth_token .
|
String |
determineFailureUrl(HttpServletRequest request, AuthenticationException failed)
|
String |
getDefaultFilterProcessesUrl()
|
int |
getOrder()
|
void |
setApiKey(String key)
Dependency injection for the API key. |
void |
setAuthenticationUrlRoot(String authenticationUrlRoot)
Dependency injection for the Facebook auth url root. |
void |
setLastUsername(long userId, HttpServletRequest request)
|
void |
setSecretKey(String key)
Dependency injection for the secret key. |
Constructor Detail |
---|
FacebookAuthenticationProcessingFilter()
Method Detail |
---|
public void afterPropertiesSet()
public Authentication attemptAuthentication(HttpServletRequest request)
FacebookAuthenticationToken createToken(String authToken, HttpServletRequest request, HttpServletResponse response, String apiKey, String secretKey)
auth_token
.
auth_token
String determineFailureUrl(HttpServletRequest request, AuthenticationException failed)
public String getDefaultFilterProcessesUrl()
public int getOrder()
public void setApiKey(String key)
public void setAuthenticationUrlRoot(String authenticationUrlRoot)
void setLastUsername(long userId, HttpServletRequest request)
public void setSecretKey(String key)