Example usage for org.springframework.security.web.authentication AuthenticationFailureHandler interface-usage

List of usage examples for org.springframework.security.web.authentication AuthenticationFailureHandler interface-usage

Introduction

In this page you can find the example usage for org.springframework.security.web.authentication AuthenticationFailureHandler interface-usage.

Usage

From source file tomekkup.helenos.security.web.authentication.JsonAuthenticationFailureHandler.java

/**
 * ********************************************************
 * Copyright: 2012 Tomek Kuprowski
 *
 * License: GPLv2: http://www.gnu.org/licences/gpl.html
 *

From source file com.beto.test.securityinterceptor.security.MyAuthErrorHandler.java

/**
 *
 * @author Belgelerim
 */
@Service(value = "myAuthErrorHandler")
public class MyAuthErrorHandler implements AuthenticationFailureHandler {

From source file authentication.DefaultAuthenticationFailureHandler.java

/**
 * A classe <code>DefaultAuthenticationFailureHandler</code> representa a
 * implementao de <code>AuthenticationFailureHandler</code> que trata
 * possveis problemas de autenticao na aplicao.
 *
 * @author Roberto Perillo

From source file com.milos.neo4j.security.IntgeoAuthenticationErrorHandler.java

/**
 *
 * @author milos
 */
@Service
public class IntgeoAuthenticationErrorHandler implements AuthenticationFailureHandler {

From source file br.com.valecard.services.security.impl.AuthenticationHandlerImpl.java

/**
 *
 * @author Marcos
 */
@Service("authenticationHandler")
public class AuthenticationHandlerImpl implements AuthenticationSuccessHandler, AuthenticationFailureHandler {

From source file cs544.letmegiveexam.util.CustomFailureHandler.java

/**
 *
 * @author nirali_bheda
 */
public class CustomFailureHandler implements AuthenticationFailureHandler {
    @Autowired

From source file com.cruz.sec.config.ItemBasedAuthenticationFailureHandler.java

/**
 *
 * @author SIGSA
 */
public class ItemBasedAuthenticationFailureHandler implements AuthenticationFailureHandler {

From source file opensnap.security.NoOpAuthenticationFailureHandler.java

@Component
public class NoOpAuthenticationFailureHandler implements AuthenticationFailureHandler {

    @Override
    public void onAuthenticationFailure(HttpServletRequest request, HttpServletResponse response,
            AuthenticationException exception) throws IOException, ServletException {

From source file com.rockagen.gnext.service.spring.security.extension.ExAuthenticationFailureHandler.java

/**
 * Handle authentication if Failure
 *
 * @author RA
 * @since 3.0
 */

From source file org.chtijbug.drools.platform.web.security.Http403AuthenticationFailureHandler.java

public class Http403AuthenticationFailureHandler implements AuthenticationFailureHandler {
    @Override
    public void onAuthenticationFailure(HttpServletRequest request, HttpServletResponse response,
            AuthenticationException exception) throws IOException, ServletException {
        response.setStatus(SC_FORBIDDEN);
        response.getWriter().write(exception.getMessage());