But shouldn't the custom authentication handler get invoked as needed from an HTTP request? You should not need to invoke it yourself.
Robert On Thu, 2018-08-02 at 01:39 +0530, Hasini Witharana wrote: > Hi Robert, > > I am trying to send a request after finding the username and password > to > the custom authentication handler. > > Thank You. > > On Thu, Aug 2, 2018 at 1:22 AM, Robert Munteanu <[email protected]> > wrote: > > > Hi Hasini, > > > > On Thu, 2018-08-02 at 01:17 +0530, Hasini Witharana wrote: > > > Hi all, > > > > > > I have created a servlet extending SlingAllMethodsServlet class > > > and > > > inside > > > the doGet() method I need to send a HTTP GET request with some > > > header > > > values. > > > > > > Below are the values that should be sent through the request. > > > > > > url - http://localhost:8080/ > > > username - username > > > password - abc > > > > > > How to achieve this? > > > > I feel compelled to ask ... why do you need to do this? > > > > Robert > > > > > >
