The [web_request->httpAuthorization] method returns a map of the all the authorization parameters and their values sent by the client to the web server.
web_request->httpAuthorization
The code below will display "Success" if a user is authenticated to any of the web servers realms and "Access Denied" if they are not.
Code
if(web_request->httpAuthorization->find('username') == 'Anonymous') => {^
'Access Denied'
else
'Success'
^}
Result
Access Denied
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments