-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
common/src/main/java/de/uni_jena/thunibib/ldap/picker/ThUniBibLDAPWithLocalService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package de.uni_jena.thunibib.ldap.picker; | ||
|
||
import org.mycore.ubo.ldap.picker.LDAPWithLocalService; | ||
import org.mycore.ubo.picker.PersonSearchResult; | ||
|
||
import javax.naming.OperationNotSupportedException; | ||
|
||
public class ThUniBibLDAPWithLocalService extends LDAPWithLocalService { | ||
|
||
@Override | ||
public PersonSearchResult searchPerson(String query) throws OperationNotSupportedException { | ||
PersonSearchResult results = super.searchPerson(query); | ||
flipNameParts(results.personList); | ||
return results; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters