Commit Graph

18 Commits

Author SHA1 Message Date
Jens Schauder
64c1eeaf05 Polishing.
Add `@author` tags to changed files.
Remove Hamcrest usage.

Original pull request #602
Related tickest #583
2021-01-29 10:54:35 +01:00
divya_jnu08
6a894d9334 Migrates JPA examples to JUnit 5.
Original pull request #602
Related tickest #583
2021-01-29 10:52:20 +01:00
Spring Operator
ccae97890f #491 - URL Cleanup.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
  https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 426 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
2019-03-22 08:13:14 +01:00
Spring Operator
6d51ebf294 #473 - URL Cleanup.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.

* http://mybatis.org/dtd/mybatis-3-config.dtd (301) with 1 occurrences could not be migrated:
   ([https](https://mybatis.org/dtd/mybatis-3-config.dtd) result SSLHandshakeException).
* http://mybatis.org/dtd/mybatis-3-mapper.dtd (301) with 2 occurrences could not be migrated:
   ([https](https://mybatis.org/dtd/mybatis-3-mapper.dtd) result SSLHandshakeException).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://maven.apache.org/xsd/maven-4.0.0.xsd with 70 occurrences migrated to:
  https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd) result 200).
* http://maven.apache.org/maven-v4_0_0.xsd with 6 occurrences migrated to:
  https://maven.apache.org/maven-v4_0_0.xsd ([https](https://maven.apache.org/maven-v4_0_0.xsd) result 301).
* http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd with 1 occurrences migrated to:
  https://java.sun.com/xml/ns/persistence/persistence_2_0.xsd ([https](https://java.sun.com/xml/ns/persistence/persistence_2_0.xsd) result 302).

# Ignored
These URLs were intentionally ignored.

* http://java.sun.com/xml/ns/persistence with 2 occurrences
* http://maven.apache.org/POM/4.0.0 with 152 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 77 occurrences

Original pull request: #472
2019-03-20 10:10:59 -05:00
Oliver Gierke
d854c6d084 #342 - Expanded copyright headers to 2018.
Removed trailing whitespace in touched files.
2018-02-22 11:42:57 +01:00
Oliver Gierke
567da544b7 #297 - Fixed POM setup for 2.0. 2017-10-06 17:39:31 +02:00
Oliver Gierke
5d34f0a00d #297 - Tweaked persistence context handling in security tests.
The modifying query now clears the EntityManager so that the changes are really flushed to the database. This is necessary as Boot 2.0 flips the default for Hibernate's new identifier mappings which causes entities less aggressively being flushed and the previously used detach apparently removing them from the persistence context without ever making it to the database.
2017-10-06 15:15:55 +02:00
Oliver Gierke
dbb13f831f #273 - Upgraded to Spring Boot 1.5.3.
Removed manually declared bean for Spring Security's EvaluationContextExtension.
2017-05-04 21:58:06 +02:00
Oliver Gierke
6709a6137f #236 - Removed obsolete Logback configuration files. 2016-12-15 20:56:48 +01:00
Oliver Gierke
6684c8c69b #190 - More simplifications for Spring Boot 1.4 M3.
Replaced all occurrences of @SpringApplicationConfiguration with @SpringBootTest. Using SpringRunner instead of @SpringJUnit4ClassRunner now.
2016-06-10 21:26:46 +02:00
Oliver Gierke
0c1bee04b3 #128 - Upgraded to Spring Data Gosling GA.
Spring Boot 1.3.0 M2 -> 1.3.0 M4
Spring Framework 4.2.0 -> 4.2.1
2015-09-03 17:14:09 +02:00
Oliver Gierke
9bb284fc84 #119 - Polishing.
Changed the update clause to set the the entire principal the reflect a domain object design that's closer to what might be set up if Spring Data auditing is used, too.

Made use of Lombok in the domain objects where possible. Reduced visibility of repository interfaces to package scope. Minor test case cleanups.
2015-08-01 21:08:38 +02:00
Thomas Darimont
50faabb2af #119 - Added example for use of SpEL expressions in JPQL update statements. 2015-08-01 21:06:46 +02:00
Thomas Darimont
98bfe34996 #105 - Added example for filtering data solely on Role in jpa-security sample.
Added example for dynamic filtering in query solely based on the current principals role.
2015-06-17 12:26:29 +02:00
Oliver Gierke
49d91bb697 #71 - Upgraded to Spring Security 4.0.
Upgraded security related sample projects in the rest and JPA sub-folders to Spring Security 4.0.
2015-03-26 18:38:16 +01:00
Oliver Gierke
7473831b41 Upgraded to Spring Data Evans RC1.
Move to Java 8 entirely.
2014-08-13 18:14:17 +02:00
Thomas Darimont
67ab7716dc Added example for SpringSecurity integration.
Fixed some Java 6 incompatibilities.
Added mention for the security module in readme.

Original pull request: #1.
2014-07-10 21:37:35 +02:00
Oliver Gierke
dce2994f1f Prepare security integration examples. 2014-07-10 21:37:35 +02:00