@Override
    public boolean supports(final AuthenticationToken token) {
        return token instanceof BearerToken;
    }
@Test
    public void testSupports() {
        BearerToken token = mock(BearerToken.class);
        assertTrue(shiroRealm.supports(token));
    }