public class DefaultSecurityContextAccessor extends Object implements SecurityContextAccessor
Constructor and Description |
---|
DefaultSecurityContextAccessor() |
Modifier and Type | Method and Description |
---|---|
Set<org.springframework.security.core.GrantedAuthority> |
getAuthorities()
Get the current granted authorities (never null)
|
boolean |
isUser() |
public boolean isUser()
isUser
in interface SecurityContextAccessor
public Set<org.springframework.security.core.GrantedAuthority> getAuthorities()
SecurityContextAccessor
getAuthorities
in interface SecurityContextAccessor
Copyright © 2019. All rights reserved.