Commit Graph

16671 Commits (70f492afd4cc8c73c8b0b474b597b656498441c6)
 

Author SHA1 Message Date
Stephane Nicoll 70f492afd4 Merge pull request #13143 from vpavic:improve-ldap-condition
* pr/13143:
  Polish "Improve LDAP auto-configuration conditions"
  Improve LDAP auto-configuration conditions
7 years ago
Stephane Nicoll 8e9a873787 Polish "Improve LDAP auto-configuration conditions"
Closes gh-13143
7 years ago
Vedran Pavic dfceede0bc Improve LDAP auto-configuration conditions
At present, auto-configuration of `LdapContextSource` is conditional on
presence of a `ContextSource` bean. However, there are valid use cases
which require multiple `ContextSource` bean, for instance
`PooledContextSource`. With the current arrangement, the
auto-configuration of `LdapContextSource` will back off if user provides
a `PooledContextSource` bean, while it would still be reasonable to
reuse the auto-configured `LdapContextSource`.

This commit improves `LdapContextSource` factory method return value and
condition to back off only if users actually provide a
`LdapContextSource` bean themselves.

See gh-13143
7 years ago
Andy Wilkinson efda5ef3ac Merge branch '2.0.x' 7 years ago
Andy Wilkinson 3992dacdc8 Bind empty string to empty collection or array of rich types
Previously, when an empty String was bound to a collection or
array of rich types it would fail as there was no converter capable
of creating a Collection<RichType> or RichType[] from the String.

This commit updates IndexedElementsBinder to apply special treatment
to empty String values. Now, when such a value is being processed,
an empty Collection or array is the result.

Closes gh-12965
7 years ago
Stephane Nicoll 1afab3a886 Merge pull request #13136 from vpavic:improve-ldap-autoconfig
* pr/13136:
  Polish "Improve LDAP auto-configuration"
  Improve LDAP auto-configuration
7 years ago
Stephane Nicoll a0a0bea427 Polish "Improve LDAP auto-configuration"
Closes gh-13136
7 years ago
Vedran Pavic f81f50c119 Improve LDAP auto-configuration
Auto-configuration of LDAP's `LdapTemplate` is currently a part of
`LdapDataAutoConfiguration` which is conditional of presence of
`LdapRepository` (i.e. Spring Data LDAP). This arrangement isn't ideal
since the `LdapTemplate` is a part of Spring LDAP project, and therefore
should not be tied to Spring Data LDAP.

This commit improves and simplifies LDAP auto-configuration by moving
`LdapTemplate` configuration to `LdapAutoConfiguration`. Consequently,
`LdapDataAutoConfiguration` is not needed anymore and is removed.

See gh-13136
7 years ago
Andy Wilkinson 2df156bd52 Merge branch '2.0.x' 7 years ago
Andy Wilkinson 45f4e8795e Merge branch '1.5.x' into 2.0.x 7 years ago
Andy Wilkinson a9645a3d07 Polish 7 years ago
Stephane Nicoll ae74ce9b39 Merge branch '2.0.x' 7 years ago
Stephane Nicoll 065f357e79 Merge pull request #13137 from vpavic:update-gitignore
* pr/13137:
  Add .gitignore for Gradle Plugin module
7 years ago
Vedran Pavic a08fa27c39 Add .gitignore for Gradle Plugin module
Closes gh-13137
7 years ago
Stephane Nicoll b0433d66c1 Merge branch '2.0.x' 7 years ago
Stephane Nicoll 846e43ff85 Merge pull request #13144 from dreis2211:remove-unnecessary-semicolons
* pr/13144:
  Remove unnecessary semicolons
7 years ago
dreis2211 e6a23fa3ff Remove unnecessary semicolons
Closes gh-13144
7 years ago
Andy Wilkinson b88a20fabb Polish 7 years ago
Andy Wilkinson 64a62db847 Merge pull request #11948 from Michael Simons
* gh-11948:
  Polish "Auto-configure a ResourceConfig for Jersey endpoints if needed"
  Auto-configure a ResourceConfig for Jersey endpoints if needed
7 years ago
Andy Wilkinson a325b13d05 Polish "Auto-configure a ResourceConfig for Jersey endpoints if needed"
Closes gh-11948
7 years ago
Michael J. Simons bb2864ad02 Auto-configure a ResourceConfig for Jersey endpoints if needed
See gh-11948
7 years ago
Andy Wilkinson d5e4a19446 Upgrade to Liquibase 3.6.1 and adapt to logging changes
Closes gh-13145
7 years ago
Andy Wilkinson 39d7382129 Merge branch '2.0.x' 7 years ago
Andy Wilkinson 972d952716 Merge branch '1.5.x' into 2.0.x 7 years ago
Andy Wilkinson e3f0a70df2 Merge pull request #12958 from Henri Tremblay
* gh-12958:
  Polish "Unwrap InvocationTargetException in isLogConfigurationMessage"
  Unwrap InvocationTargetException in isLogConfigurationMessage
7 years ago
Andy Wilkinson 678e125720 Polish "Unwrap InvocationTargetException in isLogConfigurationMessage"
Closes gh-12958
7 years ago
Henri Tremblay 2953ed1dca Unwrap InvocationTargetException in isLogConfigurationMessage
See gh-12958
7 years ago
Andy Wilkinson 079b67c53b Merge branch '2.0.x' 7 years ago
Andy Wilkinson 7913d9b599 Add methods to BootJar for adding content to BOOT-INF
Closes gh-13000
7 years ago
Andy Wilkinson 07251a09d1 Merge branch '2.0.x' 7 years ago
Andy Wilkinson d9d7499ae6 Merge branch '1.5.x' into 2.0.x 7 years ago
Andy Wilkinson 34af02380c Ensure that ZipHeaderPeekIS doesn't miss bytes on partial header read
Closes gh-13032
7 years ago
Andy Wilkinson 0d858c1278 Merge branch '2.0.x' 7 years ago
Andy Wilkinson 7a27882d62 Restrict Liberty deployment tests to Java 8
OpenLiberty does not yet support Java 9 or 10 and stopping the server
currently hangs when using Java 10.

Closes gh-13141
7 years ago
Stephane Nicoll 360f4e17c2 Add support for PageableHandlerMethodArgumentResolver in WebMvcTest
Closes gh-13066
7 years ago
Stephane Nicoll 5e87a3d2fa Polish
See gh-13130
7 years ago
Stephane Nicoll 00a43d8f4d Merge branch '2.0.x' 7 years ago
Stephane Nicoll 6ddf1c27dd Merge pull request #13130 from izeye:polish-20180510
* pr/13130:
  Polish
7 years ago
Johnny Lim 75e591e76e Polish
Closes gh-13130
7 years ago
Stephane Nicoll c35cb1b69f Merge branch '2.0.x' 7 years ago
Stephane Nicoll 4683940423 Merge branch '1.5.x' into 2.0.x 7 years ago
Stephane Nicoll b17a00d0c3 Merge pull request #13117 from reegnz:feature/support-jersey-wrapping-resource-config
* pr/13117:
  Polish "Add support for Jersey WrappingResourceConfig"
  Add support for Jersey WrappingResourceConfig
7 years ago
Stephane Nicoll b48f34117e Polish "Add support for Jersey WrappingResourceConfig"
Closes gh-13117
7 years ago
Zoltan Reegn dfcd87207f Add support for Jersey WrappingResourceConfig
See gh-13117
7 years ago
Stephane Nicoll a11acbc829 Merge branch '2.0.x' 7 years ago
Stephane Nicoll 4bec3b7cd9 Polish
See gh-13123
7 years ago
Madhura Bhave ea99d8cab0 Merge branch '2.0.x' 7 years ago
Madhura Bhave 05cf8229d9 Fix tests 7 years ago
Madhura Bhave 36c89e2383 Merge branch '2.0.x' 7 years ago
Madhura Bhave c937bb68a0 ServletEndpoints should take servletPath into account
Fixes gh-13106
7 years ago