Search in sources :

Example 1 with CredentialsExpriredAuthenticationFailureHandler

use of ca.corefacility.bioinformatics.irida.ria.security.CredentialsExpriredAuthenticationFailureHandler in project irida by phac-nml.

the class CredentialsExpiredAuthenticationFailureHandlerTest method setUp.

@Before
public void setUp() {
    resetService = mock(PasswordResetService.class);
    userService = mock(UserService.class);
    handler = new CredentialsExpriredAuthenticationFailureHandler(resetService, userService);
}
Also used : PasswordResetService(ca.corefacility.bioinformatics.irida.service.user.PasswordResetService) UserService(ca.corefacility.bioinformatics.irida.service.user.UserService) CredentialsExpriredAuthenticationFailureHandler(ca.corefacility.bioinformatics.irida.ria.security.CredentialsExpriredAuthenticationFailureHandler) Before(org.junit.Before)

Aggregations

CredentialsExpriredAuthenticationFailureHandler (ca.corefacility.bioinformatics.irida.ria.security.CredentialsExpriredAuthenticationFailureHandler)1 PasswordResetService (ca.corefacility.bioinformatics.irida.service.user.PasswordResetService)1 UserService (ca.corefacility.bioinformatics.irida.service.user.UserService)1 Before (org.junit.Before)1