public class SecurityHelperImpl extends Object implements SecurityHelper
Modifier and Type | Method and Description |
---|---|
Collection<? extends org.springframework.security.core.GrantedAuthority> |
getCurrentAuthorities()
Get the granted authorities for the current user.
|
String |
getCurrentUserName()
Get the current user.
|
static SecurityHelper |
getInstance() |
public static SecurityHelper getInstance()
public String getCurrentUserName()
SecurityHelper
getCurrentUserName
in interface SecurityHelper
public Collection<? extends org.springframework.security.core.GrantedAuthority> getCurrentAuthorities()
SecurityHelper
getCurrentAuthorities
in interface SecurityHelper
Copyright © 2022 Apache Software Foundation. All rights reserved.