public interface ImpersonatePermissionVoter
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAllowedToImpersonateUser(Authentication authentication)
Returns
true if the authenticated user is allowed to impersonate another user. |
boolean isAllowedToImpersonateUser(Authentication authentication)
true if the authenticated user is allowed to impersonate another user.authentication - the authentication that should be checkedtrue if it is allowed to impersonate a user