org.apache.struts2.action

## Interface PrincipalAware

- All Known Subinterfaces:
    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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `withPrincipalProxy(PrincipalProxy principalProxy)`

- - ### Method Detail

    - #### withPrincipalProxy

          void withPrincipalProxy(PrincipalProxy principalProxy)

Copyright © 2000–2025 Apache Software Foundation. All rights reserved.