public interface PrincipalProxy
Modifier and Type | Method and Description |
---|---|
String |
getRemoteUser()
Gets the user id
|
Principal |
getUserPrincipal()
Gets the user principal
|
boolean |
isRequestSecure()
Is the request using https?
|
boolean |
isUserInRole(String role)
True if the user is in the given role
|
boolean isUserInRole(String role)
role
- The rolePrincipal getUserPrincipal()
String getRemoteUser()
boolean isRequestSecure()
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.