All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.unicon.cas.mfa.web.flow.ConfigurableSpringWebflowExceptionHandler Maven / Gradle / Ivy

Go to download

This module is intended to include all the Java you need to add to a CAS implementation to take advantage of the extended multifactor authentication features in this project.

There is a newer version: 2.0.0-RC3
Show newest version
package net.unicon.cas.mfa.web.flow;

import org.springframework.webflow.engine.support.TransitionExecutingFlowExecutionExceptionHandler;

/**
 * A extension of {@link TransitionExecutingFlowExecutionExceptionHandler} that exposes configuration
 * for convenience directly via a constructor, such that handlers can be configured via explicit spring beans.
 * @author Misagh Moayyed
 */
public final class ConfigurableSpringWebflowExceptionHandler extends TransitionExecutingFlowExecutionExceptionHandler {

    /**
     * Initialize the handler with the exception class to handle, and the state to which the flow must move.
     * @param exceptionClass exception class to handle
     * @param state state to which the flow moves.
     */
    public ConfigurableSpringWebflowExceptionHandler(final Class exceptionClass, final String state) {
        super();
        add(exceptionClass, state);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy