B4J Question Set username and password for my fileserver

schimanski

Well-Known Member
Licensed User
Longtime User
With httpjob, i can set username and password. But how can I check it on my fileserver?
I want to set a filter to check, if username and password are correct, but how do I get the username in the filter sub?

B4X:
Public Sub Filter(req As ServletRequest, resp As ServletResponse) As Boolean
    Log("Filter ausgelöst!")
   
    ???????

   Return True
End Sub

Thanks for help...
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…