public interface UserContextService
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.core.Authentication |
getPrincipal() |
String |
getUsername() |
boolean |
hasRole(String role) |
String getUsername()
boolean hasRole(String role)
role - org.springframework.security.core.Authentication getPrincipal()
null if no user authenticated.Copyright © 2010–2017 Henix, henix.fr. All rights reserved.