[ome-devel] Custom authentication backend

Mark Woodbridge m.woodbridge at imperial.ac.uk
Fri Feb 4 11:04:15 GMT 2011


Hi,

I currently patch the server code to perform authentication using a 
combination of active directory (for most users) and OMERO's database 
(for the rest). This avoids providing most users with a password just 
for OMERO. This could conceivably be done by modifying the ldap and jdbc 
providers but it would be easier for me to write my own PasswordProvider 
and put it on the server classpath at runtime. This is simple enough, 
but is there a hook for this to work? I see that I can select a 
password_provider in omero.properties but I guess I need to declare a 
spring bean too?

Any advice would be appreciated as it would mean I don't have to rebuild 
the server...

Mark.


More information about the ome-devel mailing list