Deben Oldert 48a1f67bee JSON CLASS il y a 11 ans
..
firewall 7a3c3befea Update readme.md il y a 11 ans
images 4b37c39b35 Add loading gif il y a 11 ans
war_exports a90b2ca672 Bug free as far as I know. il y a 11 ans
Captiveportal.css 5b753723bd Update Captiveportal.css il y a 11 ans
Command.java 6dc893d5a5 Update Command.java il y a 11 ans
Database.java 761ab0cbc9 Create database class il y a 11 ans
Index.java d487fe14e2 Update Index.java il y a 11 ans
index.html bed979ddcc Update index.html il y a 11 ans
json.java 48a1f67bee JSON CLASS il y a 11 ans
loading.html c366aee750 Create loading.html il y a 11 ans
proccess.java a1d204ba35 Update proccess.java il y a 11 ans
readme.md bb30176014 Update readme.md il y a 11 ans

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.