Eddú Meléndez
0ebfec5df5
Set anonymousReadOnly true when userDn is not provided
...
Fixes gh-473
2019-01-22 11:14:28 -06:00
Amir Wiener
c0def8583f
return the processed context (as it can be a proxy)
2017-10-06 14:39:26 -05:00
Rob Winch
bdbbd72b7d
Issues: gh-430 gh-432
2017-10-06 14:33:34 -05:00
Tobias Schneider
08e8ae289b
Force reconnect with credentials on DefaultTlsDirContextAuthenticationStrategy
...
refs #430
2017-10-06 14:25:31 -05:00
Konrad Windszus
dd73c9c0a2
added ITs
2017-01-19 13:52:10 -06:00
Konrad Windszus
8dd61f9b6a
added some unit tests for new functionality
2017-01-19 13:52:10 -06:00
Konrad Windszus
c7ac71bea0
fix failing test (by mocking more functionality of nameMock)
2017-01-19 13:52:10 -06:00
Konrad Windszus
e84eda1096
skip transient fields and also consider attribute names of non-annotated
...
fields
2017-01-19 13:52:10 -06:00
Konrad Windszus
9ab8cabedb
always add mandatory attribute 'objectclass'
2017-01-19 13:52:10 -06:00
Konrad Windszus
dd7091513b
disable failing test due to NPE
2017-01-19 13:52:10 -06:00
Konrad Windszus
c5ff90d1c5
fix NPE in case of annotated field not having any attributes connected
...
to it
2017-01-19 13:52:10 -06:00
Konrad Windszus
74c77276ec
removed irrelevant formatting changes
...
javadoc fix
2017-01-19 13:52:10 -06:00
Konrad Windszus
5cecd0b2f7
Support read-only attributes.
...
Also always explicitly request only the necessary attributes (makes
operational attributes work).
This closes #347
2017-01-19 13:52:10 -06:00
Rob Winch
0e280146fb
Remove Spring Data
...
Fixes gh-436
2016-12-16 17:06:32 -06:00
Patryk Petrowski
a44454d221
Fix valuesAsNames on NameAwareAttribute.remote(int)
...
Issue gh-437
2016-12-16 15:39:12 -06:00
Patryk Petrowski
37f8833826
Make NameAwareAttribute Iterable
...
Allow faster iteration over NameAwareAttribute's values
Fixes gh-429
2016-12-16 15:37:47 -06:00
Andrei Ivanov
c885997cd7
Improve Log Levels
...
Issue gh-402
2016-10-21 10:40:29 -05:00
Andrei Ivanov
7d2a71815d
Fix indentation
2016-10-17 21:29:15 -05:00
Andrei Ivanov
468655a17c
Use placeholders instead of string concatenation when logging
2016-10-17 21:29:15 -05:00
Andrei Ivanov
33840bc46c
No need to log twice in case of an exception ( #402 )
2016-10-17 21:29:15 -05:00
Andrei Ivanov
5951d8a526
Fix #402
2016-10-17 21:29:15 -05:00
Rob Winch
c5388bcb5d
Fix XSD Schemas
...
Previously the schemas had been improperly merged into the
spring-ldap-2.0.xsd
This commit properly separates the schemas into their own versions.
Fixes gh-406
2016-10-04 10:25:47 -05:00
Rob Winch
1e542f3381
LdapEncoder Base64 newlines should start with " "
...
Fixes gh-413
2016-09-30 16:46:17 -05:00
Rob Winch
e970111a17
Use versionless schema
2016-09-30 15:33:15 -05:00
Eddú Meléndez
0db2e2fb0a
Add documentation for Commons Pool 2
...
Fixes gh-405
2016-09-30 13:45:05 -05:00
Rob Winch
3739079e5a
Work with Spring 5
...
Fixes gh-415
2016-09-30 11:29:19 -05:00
Eddú Meléndez Gonzales
64208a34ed
Move test to assertj ( #401 )
2016-04-15 12:56:31 -05:00
Rob Winch
46f99adcd4
Merge pull request #390 from eddumelendez/gh-380
...
Upgrade to Spring Data Hopper
2016-03-18 11:07:17 -05:00
Eddú Meléndez
d6cff2e6a8
Upgrade to Spring Data Hopper
...
See gh-380
2016-03-19 01:31:01 +10:00
Eddú Meléndez
7a7726e0b1
Support integer property placeholders for pool and pool2
...
See gh-387
2016-03-18 09:52:43 -05:00
Eddú Meléndez
06caf71e1a
AbstractContextSource.getUserDn() should be public
...
Fixes gh-353
2016-02-18 14:51:26 -06:00
Eddú Meléndez
1ffd11acd8
Support Property Placeholders in XML Configuration
...
Fixes gh-370
2016-02-18 11:10:46 -06:00
Eddú Meléndez
939337399b
Fix DirContextAdapter when adding Name attributes
...
See gh-375
2016-02-11 19:48:58 -05:00
Rob Winch
e2656e675a
LDAP-316: Polish
2015-12-04 10:17:24 -06:00
Anindya Chatterjee
4cefc5b147
LDAP-316 - Optional support for apache commons-pool2 added.
2015-12-04 10:17:24 -06:00
Rob Winch
73eebd4bbf
LDAP-335: Conditionally add RepositoryBeanDefinitionParser
...
We now only add RepositoryBeanDefinitionParser if spring-data-commons is
on the classpath.
2015-09-02 09:00:40 -05:00
Thomas Darimont
4eae1aa150
LDAP-336 - Remove usage of internal class sun.misc.BASE64Encoder.
...
Replaced usage of sun.misc.BASE64Encoder/Decoder with a wrapping
implementation backed by JAXB's DatatypeConverter which is
available since Java 6. Introduced parseBase64Binary and printBase64Binary
to LdapEncoder as wrappers around DatatypeConverter which does additional line
wrapping as required by the RFC2849 for LDAP attributes.
2015-08-04 01:42:36 +02:00
Thomas Darimont
963232f9a9
LDAP-337 - Enable Java 8 build.
...
Fixed various JavaDoc errors that would otherwise cause the build to fail with JDK 8.
Upgraded Jacoco Plugin Version to support Java 8.
Increased heap to javadoc task to speed up doc generation.
The build now works fine with Java 7 and Java 8.
2015-08-03 22:32:19 +02:00
Rob Winch
9b51cf44d0
LDAP-333: Support Spring Data Gosling
2015-07-13 15:14:35 -05:00
Rob Winch
f4fac6d8bf
LDAP-329: Additional Depenency Updates
2015-04-28 16:01:23 -05:00
Rob Winch
340a88da4c
LDAP-321: ContextSourceTransactionManager overrides isExistingTransaction
...
PreviouslyIllegalStateException: No value for key PoolingContextSource
would be thrown.
This is now fixed since isExistingTransaction is now provided.
2015-04-28 13:07:03 -05:00
Rob Winch
ac7b89261c
LDAP-304: Check for modify null attribute
2015-04-27 10:28:47 -05:00
Rob Winch
439da97988
LDAP-314: Polish
2015-04-24 15:15:37 -05:00
Rob Winch
e3e32de451
LDAP-314: Respect @Entry base attribute
2015-04-24 15:12:51 -05:00
Rob Winch
389628c0bc
LDAP-317: ldap:context-source@url supports SpEL
2015-04-24 13:48:25 -05:00
Rob Winch
a1541208b9
LDAP-300: Fix NPE for DefaultObjectDirectoryMapper in uber jar
2014-05-21 07:52:48 -05:00
Rob Winch
a43b0e8d5c
LDAP-295: Fix tests
2014-02-14 14:23:08 -06:00
Rob Winch
5e27d29004
LDAP-295: DefaultObjectDirectoryMapper null check SpringVersion.getVersion()
2014-02-14 14:16:18 -06:00
Rob Winch
0bd11cd4e4
LDAP-284: AbstractContextSource userDn and password are protected
...
This is necessary so Spring Security can support both Spring LDAP 1.x & 2.x
2014-02-11 15:11:51 -06:00
Rob Winch
9e2fbbc273
LDAP-291: LdapTemplate correctly throws EmptyResultDataAccessException
2014-02-11 13:43:40 -06:00