-
1. Re: Is there anyone who is familiar with the console source code?
melc Feb 20, 2012 4:04 AM (in response to jimmy.dongjia)1 of 1 people found this helpfulhello,
it is in the gwt console server war file and it is using jaas security (http form based authentication)
-
2. Re: Is there anyone who is familiar with the console source code?
jimmy.dongjia Feb 20, 2012 5:45 AM (in response to melc)hello! Chris!
I want to use Apache Shiro to support authentication, and can you give me some guide about which code of gwt console server should be modified?
thanks!
-
3. Re: Is there anyone who is familiar with the console source code?
melc Feb 20, 2012 6:11 AM (in response to jimmy.dongjia)Well to be honest i'm not familiar with the Shiro framework. I guess you'll have to disable somehow the jaas authentication and enable yours, so you will probably have to make modifications in web.xml look at the security constraints, roles etc.
For example try to comment them all out to see if security is still required although you'll have to somehow pass the username for the server to make proper retrieval of data i.e. task data, group data etc, i think, not sure though, this happens on the gwt client side by holding the username from the gwt login dialog, then it is using that parameter when requesting stuff from the gwt server by passing it as parameter to the REST API of the gwt server.
-
4. Re: Is there anyone who is familiar with the console source code?
jimmy.dongjia Feb 20, 2012 10:05 PM (in response to melc)OK!
It's very useful !
And now the version of console integrated in jBPM5.2 is v2.3.2 Final, can you tell me where I can get the source code of v2.3.2 Final console?
Thanks!
-
5. Re: Is there anyone who is familiar with the console source code?
melc Feb 21, 2012 5:55 AM (in response to jimmy.dongjia)