File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Migration from legacy authentication to EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Migration from legacy authentication to EJB" Watch "Migration from legacy authentication to EJB" New topic
Author

Migration from legacy authentication to EJB

Tong Lin
Greenhorn

Joined: Mar 24, 2004
Posts: 12
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

Joined: Jul 10, 2001
Posts: 1934
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.


Kishore
SCJP, blog
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Migration from legacy authentication to EJB