org.apache.struts2.interceptor
接口 PrincipalAware


public interface PrincipalAware

Actions that want access to the Principal information from HttpServletRequest object should implement this interface.

This interface is only relevant if the Action is used in a servlet environment. By using this interface you will not become tied to servlet environment.


方法摘要
 void setPrincipalProxy(PrincipalProxy principalProxy)
           
 

方法详细信息

setPrincipalProxy

void setPrincipalProxy(PrincipalProxy principalProxy)