Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FSU040THUL-4142 #604 Suche nach lokalen Personen zeigt Treffer aus LDAP #605

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading