Module iu.util.auth

Interface IuCallerAttributes

All Superinterfaces:
IuAuthorizationDetails

public interface IuCallerAttributes extends IuAuthorizationDetails
Caller client identification and authentication details for authorizing remote invocation.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Authorization details type value to match.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the principal name of the authenticated user.
    Gets the remote client IP address.
    Gets the full request URI to the resource that issued the token.
    default String
    Authorization details type.
    Gets the caller's user agent.
  • Field Details

  • Method Details

    • getType

      default String getType()
      Description copied from interface: IuAuthorizationDetails
      Authorization details type.
      Specified by:
      getType in interface IuAuthorizationDetails
      Returns:
      type string
      See Also:
    • getRequestUri

      URI getRequestUri()
      Gets the full request URI to the resource that issued the token.
      Returns:
      Request URI
    • getRemoteAddr

      String getRemoteAddr()
      Gets the remote client IP address.
      Returns:
      IP address
    • getUserAgent

      String getUserAgent()
      Gets the caller's user agent.
      Returns:
      User-Agent header value
    • getAuthnPrincipal

      String getAuthnPrincipal()
      Gets the principal name of the authenticated user.
      Returns:
      Principal name