public interface SecurityContextService
| Modifier and Type | Method and Description | 
|---|---|
String | 
getPassword()
Get the user password about the currently logged in user 
 | 
String | 
getUsername()
Get the user name about the currently logged in user 
 | 
boolean | 
hasRole(String role)
Check if the currently logged in user has the required role. 
 | 
boolean | 
isAuthenticated()
Check if the currently logged in user is authenticated. 
 | 
String getUsername()
String getPassword()
boolean hasRole(String role)
role - - required roleboolean isAuthenticated()
Copyright © 2021. All rights reserved.