Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

authentication ? (servlet or applet?)

 
Joshua Wegrzyn
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All,
I have a question about username and password authentication. I have a Nokia firewall running checkpoint Firewall software on a Unix platform. One of the rules I have set up requires end users to authenticate through a web page that is being hosted on the firewall. I am not certain what web engine is hosting the pages. The pages/code came installed as part of the checkpoint package. I was able to get the authentication working with the default pages and code. Because the default forms and their flow are a bit clumsy I was hoping to change them. Since my background is network administration with very little coding I need some help.
The default code/pages for the current process are all in the same directory on the firewall. There are 8 files called...:ahclientd1.html through ahclientd8.html. I am only using ahclientd 1,2,3 and 7. The remaining is for different services.
Copies of the original code can been seen here: http://www.wegrzyn.com/ahclientd1through8Summary.htm
The following is the current process:
1.User goes to https://firewallAuthpage.com:901
2.Screen 1 prompts for username input
3.Click submit
4.Screen 2 prompts for password input
5.Click submit
6.Screen 3 displays notification of successful or failed authentication.
I would like to change the code so the username and password input were on the same page. I searched a few Nokia / Checkpoint forums and found some code that was suppose to do what I wanted. But it does not work. Can you have a look at the code and help me understand why it does not work? If you can help me with this or if you have ideas on another way to streamline the process I would appreciate your feedback.
Click here to see a copy of the new code that is suppose to combine the username and password into one form: http://www.wegrzyn.com/CombineUsernameAndPassword.htm
Another solution I was thinking about would involve an applet. But that is the least attractive since it would require end user software to be loaded. But here is what I was thinking on that.. Logically the applet would behave as follows:
1.User activates loaded Java applet.
2.Applet input box appears asking for Username and Password
3.Click OK and applet will then pass username and password to https://firewallauthpage.com:901. (Screen 1 & 2 )
4.Applet box displays result of authentication:
A.If successful authentication applet will display successfully authentication message from screen3 and then automatically minimize into
background
B.If failed authentication applet Username and Password input box will reappear. After X number of failed authentications the applet will
notify of failure and instruct them to call helpdesk for further assistance.
Whatever the end result I definately need some hand holding. So any help or Code samples I could reuse would be so greatly appreciated.
Thanks for the help,
Weggy
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please do not multipost. Please respondees, do it over here
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Closing this topic.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic