LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-21-2004, 09:10 AM   #1
ashirazi
Member
 
Registered: Jul 2004
Posts: 60

Rep: Reputation: 15
java webs authorization using jaas


Hi,
I was reading the article on jaas authentication (http://java.sun.com/j2se/1.4.2/docs/...html#SampleAcn ), and I was wondering how would we create a simple app to access a webpage that is password protected. From what I gather, we need to create a call back for the URL too, but the url callback requires weblogics, and I do not have that installed. Is there any other way around it? All I basically need is to read a webpage that is password protected.

Thanks
raven
 
Old 11-22-2004, 01:28 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
but the url callback requires weblogics
I don't see where WebLogic is referenced in the url you cite.
 
Old 11-22-2004, 05:37 PM   #3
ashirazi
Member
 
Registered: Jul 2004
Posts: 60

Original Poster
Rep: Reputation: 15
yes the code does not implement the url call back, but dont we need to implement that to access a perticular website? I guess in the code he is trying to access a local host, as i do not see him input a website which he wants to access.

It could be that I have a wrong prespective of the progeam, as its my first time creating an app of this sort.


Thanks
raven
 
Old 11-22-2004, 10:38 PM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
This page may help clarifying how JAAS can be used in a web server context:
http://www.kopz.org/public/documents...sintomcat.html
By the way, JAAS is designed to allow the building of pluggable authorization modules (in the manner of Solaris PAMs). Therefore, when you want to use it while accessing a protected web page, it looks more logical to use it on the server side, not the client side.
Do you really want to implement an authentication module on the client side ?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Network Authorization inescapeableus Linux - Networking 10 08-05-2005 01:35 PM
Apache authorization Sherpa Linux - Software 4 04-25-2004 10:38 AM
authorization varunk123456 Linux - Newbie 2 03-31-2004 02:44 PM
1 external IP 2 webs on 2 PCs netguy2000 Red Hat 0 12-15-2003 04:26 AM
Apache & two webs to serve. navajo Linux - Newbie 3 06-05-2003 01:57 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration