use of org.springframework.security.authentication.RememberMeAuthenticationProvider in project spring-security by spring-projects.
the class RememberMeAuthenticationProviderTests method testSupports.
@Test
public void testSupports() {
RememberMeAuthenticationProvider aap = new RememberMeAuthenticationProvider("qwerty");
assertThat(aap.supports(RememberMeAuthenticationToken.class)).isTrue();
assertThat(aap.supports(TestingAuthenticationToken.class)).isFalse();
}
Aggregations