| |
|
| java.lang.Object org.apache.struts2.portlet.interceptor.PortletPrincipalProxy
PortletPrincipalProxy | public class PortletPrincipalProxy implements PrincipalProxy(Code) | | PrincipalProxy implementation for using PortletRequest Principal related methods.
|
PortletPrincipalProxy | public PortletPrincipalProxy(PortletRequest request)(Code) | | Constructs a proxy
Parameters: request - The underlying request |
getRemoteUser | public String getRemoteUser()(Code) | | Gets the user id
The user id |
getUserPrincipal | public Principal getUserPrincipal()(Code) | | Gets the user principal
The principal |
isRequestSecure | public boolean isRequestSecure()(Code) | | Is the request using https?
True if using https |
isUserInRole | public boolean isUserInRole(String role)(Code) | | True if the user is in the given role
Parameters: role - The role True if the user is in that role |
|
|
|