Re: [basedb-devel] External authentication

2011-03-01 Thread Nicklas Nordborg
On 2011-03-01 12:58, Pawel Sztromwasser wrote: > Hi Nicklas, > > I changed the Application.getAuthenticator() to use a separate > classloader for external login plugin (attached a diff to the ticket > #1575) and I was able to verify user's credentials using an STS service. Thanks for the patch. It

Re: [basedb-devel] External authentication

2011-03-01 Thread Pawel Sztromwasser
Hi Nicklas, I changed the Application.getAuthenticator() to use a separate classloader for external login plugin (attached a diff to the ticket #1575) and I was able to verify user's credentials using an STS service. I got a bit unexpected behavior of BASE that tried to create a new account fo

Re: [basedb-devel] External authentication

2011-02-01 Thread Nicklas Nordborg
On 2011-02-01 13:24, Pawel Sztromwasser wrote: > Sorry, just noticed that you mentioned the > ...basedb.util.JarClassLoader, not a regular Java class loader as I > initially thought. Check the code for DataFileType.getValidator(): http://base.thep.lu.se/browser/tags/2.16.1/src/core/net/sf/basedb

Re: [basedb-devel] External authentication

2011-02-01 Thread Pawel Sztromwasser
Sorry, just noticed that you mentioned the ...basedb.util.JarClassLoader, not a regular Java class loader as I initially thought. On 01/02/11 13:17, Pawel Sztromwasser wrote: > Thanks for a quick reply. I really wanted to avoid selecting jars and so > on since BASE has over 50 of them, and mave

Re: [basedb-devel] External authentication

2011-02-01 Thread Pawel Sztromwasser
Thanks for a quick reply. I really wanted to avoid selecting jars and so on since BASE has over 50 of them, and maven downloads over 60 for my plugin. Lots of manual work that needs to be done every time BASE is upgraded. I will try to change the Application class as you suggested. I have alre

Re: [basedb-devel] External authentication

2011-02-01 Thread Nicklas Nordborg
I added a ticket: http://base.thep.lu.se/ticket/1575 /Nicklas -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download u

Re: [basedb-devel] External authentication

2011-02-01 Thread Nicklas Nordborg
On 2011-02-01 11:29, Pawel Sztromwasser wrote: > Hi, > > I am working on an external authentication plugin for BASE that will use > an STS Web service to authenticate users. The plugin uses a bunch of > external jars for WS communication, but with different versions then > BASE. I was hoping for th

[basedb-devel] External authentication

2011-02-01 Thread Pawel Sztromwasser
Hi, I am working on an external authentication plugin for BASE that will use an STS Web service to authenticate users. The plugin uses a bunch of external jars for WS communication, but with different versions then BASE. I was hoping for the same classloading mechanism as for regular plugins (