am tried in JAAS in Java.It will work fine.But i don't know how to implement in struts.Thats why am asking.This can be used for authentication purpose. am working in struts.
Thanks InAdvance, Chandar
chandar shanmugam
Greenhorn
Joined: Dec 13, 2007
Posts: 18
posted
0
JAAS(java authentication authorization service).This can be used for security. These are any good tutorials to use jaas in struts
I have seen this tutorial it will quite easy.I will understand it. Thanks......... Is there any tutorial to implement JAAS in Struts.Help me.... please..... Thanks in advance
chandar shanmugam
Greenhorn
Joined: Dec 13, 2007
Posts: 18
posted
0
how to use JAAS in struts.If anybody knows please send the tutorial.I have seen but not comfortable.If anybody having please send sample or otherwise send the tutorial for JAAS in struts.Please........
Thanks in advance chandar
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35438
9
posted
0
As was said before, there's nothing web-app (or Struts-) specific about JAAS. You'd use it with Struts as you would use it with any other web technology.
How have you tried (and failed) using it?
chandar shanmugam
Greenhorn
Joined: Dec 13, 2007
Posts: 18
posted
0
Am trying in JAva only and success one.But in struts i dont how to implement it.Please help me is there any tutorial for it.
Thanks in advance
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35438
9
posted
0
Which part are you struggling with? Just like in a desktop app you need to get the credentials (username/password). That's just a regular web page. With these credentials you can use JAAS for authentication.
Why do you think using JAAS would be any different in a web app (no matter what technology it's implemented in) and a desktop app?
chandar shanmugam
Greenhorn
Joined: Dec 13, 2007
Posts: 18
posted
0
Hi
If you having please send the sample example for JAAS in struts.I dont know where keep policy file and how to configure in web.xml.
chandar shanmugam
Greenhorn
Joined: Dec 13, 2007
Posts: 18
posted
0
Hi
If you having please send the sample example for JAAS in struts.I dont know where keep policy file and how to configure in web.xml with roles etc..........
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35438
9
posted
0
Yes, I understand that you would like examples or a tutorial, but by now it should be obvious that none will be pointed to, likely because none exists.
The reason for that is that -as has been mentioned repeatedly by now- using JAAS with Struts isn't different from using it with any other web technology.
So I repeat my question yet again: You said you have used JAAS before, and it worked fine. Why do you think using JAAS would be any different in a web app (no matter what technology it's implemented in) and a desktop app? What have you tried, and what hasn't worked? Have you gotten it to work in a non-Struts web app? If not, that should be the first step.
chandar shanmugam
Greenhorn
Joined: Dec 13, 2007
Posts: 18
posted
0
No am not working in any web app.This is my first web app
What are steps to be followed to implement JAAS in struts.
Thanks in advance
Alaa Nassef
Ranch Hand
Joined: Jan 28, 2008
Posts: 460
posted
0
Hello Chandar, I didn't work with JAAS before, so I can't help you a lot with that. From the comments of the other members, it seem that there is absolutely no difference between implementing JAAS in struts or in any other web application. Please read the posts in the links I gave to you. They have a lot of steps and how-tos that would solve your problem.
chandar shanmugam
Greenhorn
Joined: Dec 13, 2007
Posts: 18
posted
0
hi Alaa Nassef
Thanks for you guidance
chandar shanmugam
Greenhorn
Joined: Dec 13, 2007
Posts: 18
posted
0
hi Alaa Nassef
Thanks for you guidance
Alaa Nassef
Ranch Hand
Joined: Jan 28, 2008
Posts: 460
posted
0
No problem. Always glad to help.
chandar shanmugam
Greenhorn
Joined: Dec 13, 2007
Posts: 18
posted
0
Hi
If anybody working in unix platform.I need one help.I am working windows platform.I want to convert one tar files.It is JAAS Using struts.I am not that infrastructure.If anybody works please convert the files.I will given the link please help me.