Package org.apache.struts2.action

# Interface 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.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `withPrincipalProxy(PrincipalProxy principalProxy)`

- ## Method Details

  - ### withPrincipalProxy

    void withPrincipalProxy(PrincipalProxy principalProxy)