ldap
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ldap [2020/07/20 11:00] – skipidar | ldap [2020/12/27 20:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 365: | Line 365: | ||
contextSource.setUserDn(env.getRequiredProperty(" | contextSource.setUserDn(env.getRequiredProperty(" | ||
contextSource.setPassword(env.getRequiredProperty(" | contextSource.setPassword(env.getRequiredProperty(" | ||
- | contextSource.setPooled(false); | + | contextSource.setPooled(false); |
Map< | Map< | ||
Line 1156: | Line 1156: | ||
} | } | ||
- | public String toTagsString(final String... tags) { | ||
- | return toTagsString(Arrays.asList(tags)); | ||
- | } | ||
- | public String toTagsString(final List< | ||
- | if(tags == null || tags.isEmpty()){ | ||
- | return null; | ||
- | } | ||
- | return cleanUpTags(tags.stream()) | ||
- | .collect(Collectors.joining(" | ||
- | } | ||
- | public List< | ||
- | return toCleanTagList(Arrays.asList(tags)); | ||
- | } | ||
- | public List< | ||
- | return cleanUpTags(tags.stream()) | ||
- | .collect(Collectors.toList()); | ||
- | } | ||
- | |||
- | private Stream< | ||
- | return tags.filter(s -> s != null && !s.isEmpty() && !s.contains(" | ||
- | .map(s -> s.trim()) | ||
- | .sorted(String.CASE_INSENSITIVE_ORDER) | ||
- | .distinct(); | ||
- | } | ||
/** | /** |
ldap.1595242802.txt.gz · Last modified: (external edit)