Gldapo

GldapoSynonymFor breaks GldapoNamingAttribute

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 0.7
  • Fix Version/s: 0.7
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

Hmm, I'm trying out the 0.7 snapshot release and have run into a problem.

I have an LdapPerson class, with something like this:

@GldapoSynonymFor("uid")
String username

the "uid" is my naming attribute, so I change the class to say

@GldapoNamingAttribute
@GldapoSynonymFor("uid")
String username

But now I get this error message:

Message: Attempt to set brdn of object with a naming attribute of 'username' to 'uid=justin.foobar@visn.biz, ou=users, dc=nviznit, dc=com'

Activity

Hide
Luke Daley added a comment -

Fixed and in the new snapshot, please test and let me know when you get a chance.

Show
Luke Daley added a comment - Fixed and in the new snapshot, please test and let me know when you get a chance.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: