sandy km

Greenhorn
+ Follow
since Jan 11, 2004
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by sandy km

your web site is good and informative.
would you know of some affordable devices to test out applications ? specially j2me enable phones. the sony ericsson P900 is way too expensive...
thanks

Originally posted by Ben Hui:
Hi, may I suggest you to take a look at www.benhui.net?
it is a mobile developer resources portal that has lots of J2ME links, bluetooth code, and java phone review. It is recently updated with lots of new content.
Cheers,
Ben

14 years ago
please suggest me some j2me enabled device that I could use to run and test applications. (devices available today and commercially)
14 years ago
I want to test out JAAS login module using xyz application.
I thought telnet would be an easy one.... Any app is fine as long as I can write and test the jaas login module to authenticate a user for this app. User database could be a windows NT database or any other userdatabase.
In summary application and user_db could be any.
thanks

Originally posted by Dave Teare:
Sorry Sandy,
I don't understand your question. Now, I just got back from vacation in Mexico so perhaps the sun has fried my brain
Are you writting a telnet application that will validate users against JAAS, or are you trying to test your JAAS login module using telnet?
From what I understand, the LoginModule impl will live in your application server, say WebSphere, and you will connect to it from your client using the code posted above. Of course, if you are not using WAS, you need to find an example for your particular env.
If you're simply trying to test your JAAS LoginModule impl, I would write a JUnit test that excercises your module, I don't see how telnet would fit in since the transport is specific to your env (i.e., WAS runs over IIOP).
Now, on my vacation I did read a great Struts book that showed you how to connect to your app server via telnet s.t. you could see the data traffic between a browser and a servlet. Is this similar to what yoy are trying?
--Dave.

14 years ago
thanks dave for your inputs. I have been trying to get an answer for a similar question which I have posted today and earlier as well.
I want to test out the jaas with a very simple example and so I could take any application.
Question is where is the jaas module running ?
can i test say a telnet application with jaas ?
ie the telnet client would call a jaas module that would verify the credentials of the user and telnet client. would that be a feasible to test ? or there are some modifications required to the client as well as the server ?
there are tutorials and white papers on jaas but none of them explains this basic fact ? or may be i need to re-read them again.
thanks

Originally posted by Dave Teare:
Good question - I'm not sure if I have enough hands-on experience with stand-alone Java clients to help you, but I will try.
My understanding is that your client will create a LoginContext s.t. it can perform login(), doAs(), etc. The LoginModule itself will live on the server, and will authenticate users. Your client will therefore need to be configured to know where the security server is and what port it is running on.
Here is some sample WebSphere code:

I grabbed this from WebSphere's Developing with JASS and JAAS Example.
Hope this helps!
Cheers,
--Dave.

14 years ago
not a direct certification prep question (hope some people can give me some direction). Also if someone would know a good form to post jaas questions, on the web or any this web site.....
I want to implement a jaas example, where a client logs into a server (telnet is fine for an example) and uses a jaas module that verifies the user credentials.
1. first question is where is this jaas module running ?
(a third machine, other than client and server)
2. where is the user login database stored (username and password) ?
i want to implement a jaas example, where a client logs into a server (telnet is fine for an example) and uses a jaas module that verifies the user credentials.
1. first question is where is this jaas module running ?
(a third machine, other than client and server)
2. where is the user login database stored (username and password) ?

thanks
14 years ago
this is a basic question and I am in a similar situation.
can someone explain how the architecture for jaas authentication works.
client ------- server
the client being, say a simple telnet client and server being a telnet server. i want to implement a jaas module where this client contacts the jaas module in order to log/authenticate to the target server.
question is where is this jaas module running ? where is the user login database stored (username and password)
thanks

Originally posted by Jamal Hasanov:
Hello, Ranchers
Are there any samples about connecting NT domain through JAAS?
Thanx a lot,
Jamal.

14 years ago
But it shows a maximum of 50 posts only ? is this a limitation ?
what if one has posted more than 50 posts ?
14 years ago
for moderator/admin of this website:
to search for all posts sent by myself, i am using the search tool.
fine. but in order to use this tool one has to select a particular Forum like Security or Weblogic etc etc.
Is there a way to search one's post to the whole site instead of selecting from a particular Forum ?
why ? since i started posting in multiple forums one has to remember which forum to search in ?
14 years ago
thanks for the examples.
also what about the products from vignette, tibco, seebeyond ? would you know any example web sites ?
14 years ago
also what about the following product suites:
Webmethods, Vignette, Seebeyond and Tibco.
are these products similar to Webspher/Weblogic ?

Originally posted by sandy km:
I am curious to know from the list members what sort of applications or office processes are being done today with Websphere ?
I have seen articles that say how major airlines bookings and related process have been automated with Websphere and Weblogic. I would like to hear from the list members on what kind of applications they have been using Websphere.
thanks

14 years ago
I am curious to know from the list members what sort of applications or office processes are being done today with Websphere ?
I have seen articles that say how major airlines bookings and related process have been automated with Websphere and Weblogic. I would like to hear from the list members on what kind of applications they have been using Websphere.
thanks
14 years ago
please help me get started with this simple getting started jaas project to demonstrate application of jaas.
Authentication/Authorization : User account and info pulled from Windows Active Directory
Application: A simple login to say a Unix server which interacts with the jaas to query for a user's authentication credentials and authorization to use the application.
where would the jaas actually reside ? on the application server ? or on another server ?
any other project that one has in mind or has implemented ?
14 years ago