[ome-users] Issues with NewUserGroupBean implementation

Harri Jäälinoja harri.jaalinoja at helsinki.fi
Mon Mar 26 15:44:00 BST 2012


On 26/03/12 17:25, Josh Moore wrote:
>> So it seemed that the group was correctly created by the bean, but that was not enough, it should also be made default. How can I do that?
> Most likely, this says that the user was not placed into any groups, other than perhaps the "user" group. Did any of your DEBUG logging get printed? Could you perhaps send us all of Blitz-0.log? Also, did the user get created and placed in at least the "user" group?
>

Hi Josh,
this is what I see in the log:

2012-03-26 17:29:33,734 INFO  [         ome.security.basic.EventHandler] 
(l.Server-4)  Auth: 
user=0,group=0,event=584(Sessions),sess=c6e40670-913c-4f73-aa0f-91c5344398d7
...
hyldap.HyHcNewUserGroupBean] (l.Server-4) grpName matched 
uid=grp-A91900-bi-vart,ou=alma_workgroups,ou=groups,o=hy
2012-03-26 17:29:34,081 DEBUG [             hyldap.HyHcNewUserGroupBean] 
(l.Server-4) grpName matched BI-Vartiainen
...
2012-03-26 17:29:34,083 INFO  [  ome.security.auth.LdapPasswordProvider] 
(l.Server-4) Default choice on create user: hajaalin 
(ome.conditions.ValidationException: No group found for: 
uid=hajaalin,dc=helsinki,dc=fi)
2012-03-26 17:29:34,084 INFO  [                 org.perf4j.TimingLogger] 
(l.Server-4) start[1332772173718] time[366] tag[omero.call.exception]
2012-03-26 17:29:34,085 WARN  [        ome.services.util.ServiceHandler] 
(l.Server-4) Unknown exception thrown.

java.lang.NullPointerException
         at 
ome.security.auth.LdapPasswordProvider.checkPassword(LdapPasswordProvider.java:106)
         at 
ome.security.auth.PasswordProviders.checkPassword(PasswordProviders.java:42)


The new user was not created, but the group (BI-Vartiainen) was.

I've sent you the Blitz log via another route.

Cheers,
Harri

-- 
__________________________________________________
Harri Jäälinoja
Light Microscopy Unit
Institute of Biotechnology, University of Helsinki
http://www.biocenter.helsinki.fi/bi/lmu/
+358 9 191 59370 fax +358 9 191 59366




More information about the ome-users mailing list