Apache Shiro Authentication with Facebook OAuth - Stack Overflow
stackoverflow.com
You should extend your FacebookRealm with the following method: @Override
public boolean supports(AuthenticationToken token) { return ...