Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8322493
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T23:24:27+00:00 2026-06-08T23:24:27+00:00

Everyday, I have to go through a web based authentication system (firewall) which works

  • 0

Everyday, I have to go through a web based authentication system (firewall) which works likes this:
Once I am connected to the network and I type in any web address say www.google.com, I am presented with a web based login form (typing any address brings up the same form)
and after submit I get a Authenticated response page from the router with address:
192.168.2.254:1000/keepalive?somejibberjabbernumberwhichchangeseverytime

The page must be refreshed after 200 seconds or else you are logged out. This is done automatically but sometimes it fails.

After that, Internet is enabled and one can browse. I want to make a simple application (java) which does this boring task for me.
It will send in my credentials to the server. Log me in. Send refresh command after say 30 seconds automatically.

Are there any suggestions as to how to do this? I need to create a standalone desktop application not a server-side app.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T23:24:30+00:00Added an answer on June 8, 2026 at 11:24 pm

    So basically, you want to “play browser” with your application? Web testing libraries like httpunit are well suited for such tasks. Basically, that’s what you would do:

    • Query some page (GetMethodWebRequest), expect to be redirected
    • Check you’re being redirected
    • Extract the form (response.getFormWithID), fill in your credentials, submit it
    • Most likely the tricky part: Get the popup window URL.
    • Periodically poll the extracted URL

    Have a look at httpunit’s cookbook and tutorial, my guess would be that you find all information required for your problem there.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a task which has to be run everyday. I will get just
I have a table called DUD which is pretty much Static (which means once
I have some data in my database this data updates everyday i want to
I have a windows service that runs at 5 PM everyday. Once it starts
I have xml file like this <bookstore> <book category=cooking> <title lang=en>Everyday Italian</title> <author>Giada De
I have a MySQL/Slave Setup everyday we are executing queries on slave machine for
I have a database backup running hourly between 7am and 7pm everyday, each file
I have an Enum for Days of week (with Everyday, weekend and weekdays) as
I have a backup created of my mysql database (vbulletin forum v3.8) everyday. It's
C++ templates have been a blessing in my everyday work because of its power.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.