Package org.acegisecurity.event.authentication

Examples of org.acegisecurity.event.authentication.AuthenticationSwitchUserEvent


            originalUser = (UserDetails) obj;
        }

        // publish event
        if (this.eventPublisher != null) {
            eventPublisher.publishEvent(new AuthenticationSwitchUserEvent(current, originalUser));
        }

        return original;
    }
View Full Code Here


            logger.debug("Switch User Token [" + targetUserRequest + "]");
        }

        // publish event
        if (this.eventPublisher != null) {
            eventPublisher.publishEvent(new AuthenticationSwitchUserEvent(
                    SecurityContextHolder.getContext().getAuthentication(), targetUser));
        }

        return targetUserRequest;
    }
View Full Code Here

                    originalUser = (UserDetails) obj;
                }

                // publish event
                if (this.eventPublisher != null) {
                    eventPublisher.publishEvent(new AuthenticationSwitchUserEvent(
                            current, originalUser));
                }

                return original;
            }
View Full Code Here

                                + targetUserRequest + "]");
                        }

                        // publish event
                        if (this.eventPublisher != null) {
                            eventPublisher.publishEvent(new AuthenticationSwitchUserEvent(
                                    SecurityContextHolder.getContext()
                                                         .getAuthentication(),
                                    targetUser));
                        }
View Full Code Here

TOP

Related Classes of org.acegisecurity.event.authentication.AuthenticationSwitchUserEvent

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.