1: The login module is a JBoss AS thing. Look the AS forum/docs/wiki etc to replace it. But watch out, the identity module is not the same as the loginmodule. If you need to retrieve roles etc, you must implement your own assignment handlers!!
2: Search the api, the docs etcthere must be a way to retrieve the current actor ;-)
3: Not yet, in 3.2 there will be something for this. Look at cvs for this. (btw, already answered lots of times in the forum!!!!!)
Thanks for the prompt response. I found out how to get the current logged in user; from the execution context you can get the actorId
I am still facing problems though with the users authentication replacement. I tried checking the JBoss AS forums, as you said but all the Login customization are about the JBoss Portal.
I don't see what am i looking for under JBoss AS in terms of logging in. I am not familiar with JBoss but when u run the server I don't see a default web app with login that i want to replace.
I saw the forums of the portal but i don't see how this relates to what I want to do as I don't have the portal modules at all.
I would appreciate any help as where to start if I want to authenticate users on the JBPM from some other source (basically an LDAP) than what is currently happening from the table JBPM_ID_USER and contiue to use the same jBPM interface.
Sorry, one omission on my side. The use of the jboss loginmodule is in 3.2. In 3.1 it is a bean in the webapp that just 'sets' the user. There is no real login module