How do I add a photo to my comment or blog entry?
[Security & JAAS/JBoss] - custom login and web.xml declarative security
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > Java Programming > [Security & JAAS/JBoss] - custom login and web.xml declarative security 21 April 2006 11:59:54

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

[Security & JAAS/JBoss] - custom login and web.xml declarative security

Kgrjb 21 April 2006 11:59:54
 ive searched and read a lot but havenot found a solution.

the question is if you use custom login and not j_security_check then How to associate security credentials with web container so that declarative security in web.xml still works??

- jboss 4.0.3SP1 with bundled tomcat 5.5

- i set up tomcat to delegate security[user authentication and declarative url patterns in web.xml] to jboss using jaas DatabaseServerLogin­Module.
this works fine with login using FORM method[web.xml] and j_security_check.

- but i want to control the login process but theres no way to intecept pre and post of j_security_check.

- so i still use FORM method but instead of calling j_security_check, i post to my login action which simply uses the jaas setup described above. this works fine but How to tell web container to
associate security credentials(subject­ ,principals, etc) of the login to apply on declarative security of url patterns in web.xml??




View the original post : http://www.jboss.co­m/index.html?module=­bb&op=viewtopic&p=39­38602#3938602

Reply to the post : http://www.jboss.co­m/index.html?module=­bb&op=posting&mode=r­eply&p=3938602


-------------------­--------------------­----------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.fa­lkag.net/sel?cmd=lnk­&kid=120709&bid=2630­57&dat=121642
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > Java Programming > [Security & JAAS/JBoss] - custom login and web.xml declarative security 21 April 2006 11:59:54

see also:
Passing a parameter to test files
Re: Change 26165 broke…
bug with Test::Exception? or imacat's…
пройди тесты:
Do you know women?
see also:
How to Remove DRM from iTunes AAC M4V…
You and sex. from 61 to 65 pts ...
craig fox '3xp10i73r' the computer…

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .