Class SPNEGOAuthentication.SPNEGOResult

    • Constructor Summary

      Constructor Description
      SPNEGOResult​( uri, java.lang.String token)  
      SPNEGOResult​( uri, HttpHeader header, java.lang.String token)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void apply​(Request request)
      Applies the authentication result to the given request. getURI()  
      • Methods inherited from class java.lang.Object

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

      • SPNEGOResult

        public SPNEGOResult​( uri,
                            java.lang.String token)
      • SPNEGOResult

        public SPNEGOResult​( uri,
                            HttpHeader header,
                            java.lang.String token)
    • Method Detail

      • apply

        public void apply​(Request request)
        Description copied from interface: Authentication.Result
        Applies the authentication result to the given request. Typically, a Authorization header is added to the request, with the right information to successfully authenticate at the server.
        Specified by:
        apply in interface Authentication.Result
        request - the request to authenticate