Class AuthenticationRequest


  • public class AuthenticationRequest
    extends java.lang.Object
    Request context provided to each Authenticator to perform Authentication. Currently, this class only hold the inbound request's headers, but could certainly be extended to contain additional information like the request parameters, body, ip, etc as needed.
    • Constructor Summary

      Constructors 
      Constructor Description
      AuthenticationRequest​(java.util.Map<java.lang.String,​java.lang.String> requestHeaders)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.String> getRequestHeaders()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AuthenticationRequest

        public AuthenticationRequest​(@Nonnull
                                     java.util.Map<java.lang.String,​java.lang.String> requestHeaders)
    • Method Detail

      • getRequestHeaders

        @Nonnull
        public java.util.Map<java.lang.String,​java.lang.String> getRequestHeaders()
        Returns:
        Returns a case-insensitive map of the inbound request's headers.