-
1. Re: Replacing std login with custom login module
kukeltje Jul 5, 2006 7:56 AM (in response to marazik)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!!!!!) -
2. Re: Replacing std login with custom login module
marazik Jul 6, 2006 10:14 AM (in response to marazik)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
executionContext.getJbpmContext().getActorId()
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.
thanks -
3. Re: Replacing std login with custom login module
kukeltje Jul 7, 2006 11:17 AM (in response to marazik)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