Deben Oldert 71f3f6e50c Update readme.md 11 年 前
..
firewall 27db624461 Small bug fixed 11 年 前
images 4b37c39b35 Add loading gif 11 年 前
war_exports 71f3f6e50c Update readme.md 11 年 前
Captiveportal.css 5b753723bd Update Captiveportal.css 11 年 前
Command.java ed668737af little update 11 年 前
Database.java 761ab0cbc9 Create database class 11 年 前
Index.java d487fe14e2 Update Index.java 11 年 前
index.html 36d13077e0 Updated callbacks (Damn didly darn) 11 年 前
json.java 5030b10067 Update json.java 11 年 前
loading.html c366aee750 Create loading.html 11 年 前
proccess.java d6b9dc23fa Update proccess.java 11 年 前
readme.md bb30176014 Update readme.md 11 年 前

readme.md

How to deploy?

Just download the latest precompiled .WAR file from here.
The password is: mojado
If you need an older version contact me or download it from your own account.

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.