Neokernel API

HTTPAuthenticationAgent.getUsername Method

Pass in the Props of an HTTPAgentRequest, get the username that was used to HTTP authenticate this request. null if no username was used to authenticate. NOTE: This method does not check if the username/password is actually valid for the given path.

public static string getUsername(
   Props request
);

See Also

HTTPAuthenticationAgent Class | com.neokernel.httpd Namespace