SEC-1132: Moved switch user event class to web module as it is only used by SwitchUserProcessingFilter.
This commit is contained in:
+3
-2
@@ -13,10 +13,11 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.security.event.authentication;
|
||||
package org.springframework.security.web.authentication.switchuser;
|
||||
|
||||
import org.springframework.security.Authentication;
|
||||
|
||||
import org.springframework.security.event.authentication.AbstractAuthenticationEvent;
|
||||
import org.springframework.security.userdetails.UserDetails;
|
||||
|
||||
|
||||
@@ -33,7 +34,7 @@ public class AuthenticationSwitchUserEvent extends AbstractAuthenticationEvent {
|
||||
|
||||
//~ Constructors ===================================================================================================
|
||||
|
||||
/**
|
||||
/**
|
||||
* Switch user context event constructor
|
||||
*
|
||||
* @param authentication The current <code>Authentication</code> object
|
||||
-1
@@ -42,7 +42,6 @@ import org.springframework.security.GrantedAuthority;
|
||||
import org.springframework.security.LockedException;
|
||||
import org.springframework.security.SpringSecurityMessageSource;
|
||||
import org.springframework.security.context.SecurityContextHolder;
|
||||
import org.springframework.security.event.authentication.AuthenticationSwitchUserEvent;
|
||||
import org.springframework.security.providers.UsernamePasswordAuthenticationToken;
|
||||
import org.springframework.security.userdetails.UserDetails;
|
||||
import org.springframework.security.userdetails.UserDetailsChecker;
|
||||
|
||||
Reference in New Issue
Block a user