Interface IAuthInfo

All Superinterfaces:
IPrincipalData, Map<String,Object>
All Known Implementing Classes:
AuthInfo

public interface IAuthInfo extends IPrincipalData, Map<String,Object>
  • Field Details

  • Method Details

    • getAuthType

      String getAuthType()
      Get the authorization type (usually the type of auth handler that accepted the auth, like 'simple', 'cookie', 'complex', etc.)
      Returns:
      the auth type
    • setAuthType

      void setAuthType(String authType)
      See Also:
    • setRemoteAddr

      void setRemoteAddr(String remoteAddr)
      Set the Internet Protocol (IP) address of the client that sent the request.
      Parameters:
      remoteAddr - Internet Protocol (IP) address
    • getRemoteAddr

      String getRemoteAddr()
      Get the Internet Protocol (IP) address of the client that sent the request.
      Returns:
      remoteAddr Internet Protocol (IP) address
    • setSessionID

      void setSessionID(String sessionID)
      This stores the current user's Session ID
      See Also:
    • getSessionID

      String getSessionID()
      return the current user's session id
      See Also:
    • getSessionState

      String getSessionState()
      Returns persisted session state in string form.
    • copy

      void copy(IAuthInfo targetAuthInfo)
      Copies the current values into the targetAuthInfo
      Parameters:
      targetAuthInfo -