}
@Override
protected OAuthPrincipal<FacebookAccessTokenContext> getOAuthPrincipal(HttpServletRequest request, HttpServletResponse response,
InteractionState<FacebookAccessTokenContext> interactionState) {
FacebookAccessTokenContext accessTokenContext = interactionState.getAccessTokenContext();
FacebookPrincipal principal = ((GateInFacebookProcessor)getOauthProviderProcessor()).getPrincipal(accessTokenContext);
if (principal == null) {
log.error("Principal was null");
return null;