Associate Ldap user to a group with Java

前端 未结 4 768
闹比i
闹比i 2021-01-05 17:25

I\'m having problems to find how to associate a #Ldap user to a given group.

That is what I have tried:

    Attributes attrs = new BasicAttributes();         


        
4条回答
  •  一向
    一向 (楼主)
    2021-01-05 17:50

    I had the same problem. Check the value type of this attribute using any client of ldap (for example: Apache Directory Studio). If you try to replace attribute which type is String with int value it will thrown this error.

提交回复
热议问题