com.opensymphony.webwork.interceptor
Class PrincipalProxy
java.lang.Object
com.opensymphony.webwork.interceptor.PrincipalProxy
public class PrincipalProxy
- extends Object
Proxy class used together with PrincipalAware interface. It allows to get indirect access to
HttpServletRequest Principal related methods.
- Version:
- $Revision: 577 $
- Author:
- Remigijus Bauzys
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrincipalProxy
public PrincipalProxy(HttpServletRequest request)
isUserInRole
public boolean isUserInRole(String role)
getUserPrincipal
public Principal getUserPrincipal()
getRemoteUser
public String getRemoteUser()
isRequestSecure
public boolean isRequestSecure()
getRequest
public HttpServletRequest getRequest()