Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Migration from legacy authentication to EJB

 
Tong Lin
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,
I am a newbie of EJB. I have a question.
We have backend access based legacy authentication before the
business data access. If I understand correctly, EJB use role
based security and it's not related to the bean coding, which means
the business logic in bean knows nothing about security and it is
supposed to be trusted. My question is how to map the function of
the old authentication to the EJB model?
Thanks in advance.
 
Kishore Dandu
Ranch Hand
Posts: 1934
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is something called Java connectivity architecture(JCA) that can take care of this issue.
You may have to write a connector to take care of accessing the legacy authenticator from your EJB.
I think there should be a software provider who can sell that off the shelf(compared to reinventing the wheel) depending on which legacy system you are trying to access.
Kishore.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic