public interface SecurityContext
org.restsql.service.SecurityContextAdapter
.Modifier and Type | Method and Description |
---|---|
Principal |
getUserPrincipal()
Returns a java.security.Principal object containing the name of the current authenticated user.
|
boolean |
isUserInRole(String roleName)
Returns a boolean indicating whether the authenticated user is included in the specified logical "role".
|
boolean isUserInRole(String roleName)
roleName
- a String specifying the name of the rolePrincipal getUserPrincipal()
Copyright © 2011-2018 restSQL Project Contributors