Package org.springframework.security.authentication.event

Examples of org.springframework.security.authentication.event.AuthenticationFailureExpiredEvent


    verify(this.publisher).publishEvent((ApplicationEvent) anyObject());
  }

  @Test
  public void testAuthenticationFailed() {
    this.listener.onApplicationEvent(new AuthenticationFailureExpiredEvent(
        new UsernamePasswordAuthenticationToken("user", "password"),
        new BadCredentialsException("Bad user")));
    verify(this.publisher).publishEvent((ApplicationEvent) anyObject());
  }
View Full Code Here

TOP

Related Classes of org.springframework.security.authentication.event.AuthenticationFailureExpiredEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.