Deben Oldert c2ef20c86c Remove broken link %!s(int64=10) %!d(string=hai) anos
..
firewall 88e7446910 Restore files %!s(int64=10) %!d(string=hai) anos
images 88e7446910 Restore files %!s(int64=10) %!d(string=hai) anos
war_exports 88e7446910 Restore files %!s(int64=10) %!d(string=hai) anos
Captiveportal.css 88e7446910 Restore files %!s(int64=10) %!d(string=hai) anos
Command.java 405648e9a8 Deal with it! (real check) %!s(int64=11) %!d(string=hai) anos
Database.java 88e7446910 Restore files %!s(int64=10) %!d(string=hai) anos
Index.java 88e7446910 Restore files %!s(int64=10) %!d(string=hai) anos
index.html 36d13077e0 Updated callbacks (Damn didly darn) %!s(int64=11) %!d(string=hai) anos
json.java 88e7446910 Restore files %!s(int64=10) %!d(string=hai) anos
loading.html 88e7446910 Restore files %!s(int64=10) %!d(string=hai) anos
proccess.java 88e7446910 Restore files %!s(int64=10) %!d(string=hai) anos
readme.md c2ef20c86c Remove broken link %!s(int64=10) %!d(string=hai) anos

readme.md

How to deploy?

Just download the latest precompiled .WAR file from the war_exports directory.

How the portal works

HTTP request
||>>By just typing in any website
User redirected to the captive portal
||>>By javascript
User fills in ticket number and lastname
||>>By a HTML form
Forms goes to proccess.java
________||
________||>>lastname and ticketnumber return 1 row? (lastname and ticketnumber combination is unique)
________|| Then continue
________|| else Tell the user the lastname and ticketnumber combination was not correct
________||
________||
________||>> Update Database (tell the database the user is using internet)
________|| Succes? return continue
________|| Failure? Tell the user someting went wrong
________||
________||>>Grand IP adress
________|| Succes? continue
________|| else update Database (tell the database the user is not using internet)
________|| Tell the user someting went wrong
________||
________||>>Everyting OK?
________|| Then show the user the loading.html page and The user is free to use the internet
________|| else Tell the user someting went wrong


This is how our captive portal in very global lines works.