Examples of JaasAuthenticationFailedEvent


Examples of org.acegisecurity.providers.jaas.event.JaasAuthenticationFailedEvent

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

Examples of org.acegisecurity.providers.jaas.event.JaasAuthenticationFailedEvent

     * processed
     * @param ase The {@link AcegiSecurityException} that caused the failure
     */
    protected void publishFailureEvent(
            UsernamePasswordAuthenticationToken token, AcegiSecurityException ase) {
        getApplicationContext().publishEvent(new JaasAuthenticationFailedEvent(
                token, ase));
    }
View Full Code Here

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

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) {
        if (applicationEventPublisher != null) {
            applicationEventPublisher.publishEvent(new JaasAuthenticationFailedEvent(token, ase));
        }
    }
View Full Code Here

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

                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

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) {
        applicationEventPublisher.publishEvent(new JaasAuthenticationFailedEvent(token, ase));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.