Skip to content

Commit

Permalink
FSU040THUL-4142 #604 WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Possommi committed Aug 13, 2024
1 parent efa28ac commit 574886f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
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;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ MCR.user2.matching.lead_id=%UBO.projectid.default%

MCR.user2.Realms.URI=

MCR.IdentityPicker.strategy=org.mycore.ubo.ldap.picker.LDAPWithLocal
#MCR.IdentityPicker.strategy=org.mycore.ubo.ldap.picker.LDAPWithLocal
MCR.IdentityPicker.strategy=de.uni_jena.thunibib.ldap.picker.ThUniBibLDAPWithLocal
MCR.IdentityPicker.strategy.Local.PID.Filter.enabled=false
MCR.IdentityPicker.LDAP.normalization.ORCID.resolver=https://orcid.org/
MCR.IdentityPicker.LDAP.SearchFormMapping.lastName=sn
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ a {
color: $color-dark-blue;
}

i.ubo-picker-service-LDAPWithLocalService::before {
i.ubo-picker-service-ThUniBibLDAPWithLocalService::before {
color: $primary;
content: "\f1ad";
}
Expand Down

0 comments on commit 574886f

Please sign in to comment.