hi,
> Does anyone know the interface you must implement in order to use your own
> custom Authentication and Authorization in the EJB environment?
Start out by looking in the samples guide; there are several samples which use custom
authentication. You will need to implement a user entity bean, a role entity bean, a
login
session bean. Each has a few specific method signatures that must be present, but not
particular interface that has to be implemented. For the user and role entities, the
idea is
that the primary key is the principal name. But make sure you define a getName()
method as
well.
> I would like to use the same source for EJB and Web-Content Authentication
> and Authorization. For the Web-Content I found the interface
> allaire.jrun.security.AuthenticationInterface, but I have yet to see
> something similar for the EJB side of the house.
You can't use the same source; you'll have to implement two different authentication
managers. For my app I did entity beans which talk to a SQL database for usernames and
passwords, and for the web-app side, an implementation of AuthenticationInterface which
queries those beans.
Notice to recipient: This e-mail is meant for only the intended recipient of the
transmission. If you received this e-mail in error, any review, use, dissemination,
distribution or copying of this e-mail is STRICTLY PROHIBITED. Please notify us
immediately of the error by return e-mail and please delete this message from your
system. Thank you in advance for your co-operation.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists