Package org.springframework.security.authentication.jaas.event

Examples of org.springframework.security.authentication.jaas.event.JaasAuthenticationFailedEvent


     * @param token The authentication token being processed
     * @param ase The excetion that caused the authentication failure
     */
    protected void publishFailureEvent(UsernamePasswordAuthenticationToken token, AuthenticationException ase) {
        // exists for passivity (the superclass does a null check before publishing)
        getApplicationEventPublisher().publishEvent(new JaasAuthenticationFailedEvent(token, ase));
    }
View Full Code Here


     * @param token The authentication token being processed
     * @param ase The excetion that caused the authentication failure
     */
    protected void publishFailureEvent(UsernamePasswordAuthenticationToken token, AuthenticationException ase) {
        if (applicationEventPublisher != null) {
            applicationEventPublisher.publishEvent(new JaasAuthenticationFailedEvent(token, ase));
        }
    }
View Full Code Here

                desc.appendText("isA(org.springframework.security.authentication.jaas.event.JaasAuthenticationFailedEvent)");
                desc.appendText(" && event.getException() != null");
            }

            public boolean matches(Object arg) {
                JaasAuthenticationFailedEvent e = (JaasAuthenticationFailedEvent) arg;
                return e.getException() != null;
            }

        }));
        verifyNoMoreInteractions(publisher);
    }
View Full Code Here

     *
     * @param token The authentication token being processed
     * @param ase The excetion that caused the authentication failure
     */
    protected void publishFailureEvent(UsernamePasswordAuthenticationToken token, AuthenticationException ase) {
        applicationEventPublisher.publishEvent(new JaasAuthenticationFailedEvent(token, ase));
    }
View Full Code Here

TOP

Related Classes of org.springframework.security.authentication.jaas.event.JaasAuthenticationFailedEvent

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.