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

Create a dedicated example on Spring Data REST and Spring Security #21

Closed
odrotbohm opened this issue Oct 9, 2014 · 1 comment
Closed
Assignees

Comments

@odrotbohm
Copy link
Member

  • show @Secured working
  • show filtering in @Query working (there should be a basic sample like this in the jpa module already)
  • show URI security config
gregturn added a commit to gregturn/spring-data-rest that referenced this issue Oct 9, 2014
… Security

Spring Data REST should be easy to apply method-level security controls. This issue contains a battery of tests verifying that method level security works as expected.

> **NOTE:** The only Spring Security dependencies added in this commit are test-scoped, meaning they don't add any extra depdencies to users of Spring Data REST.

This is also demonstrated by some canonical samples found in spring-projects/spring-data-examples#21
gregturn added a commit to gregturn/spring-data-rest that referenced this issue Oct 9, 2014
… Security

Spring Data REST should be easy to apply method-level security controls. This issue contains a battery of tests verifying that method level security works as expected.

> **NOTE:** The only Spring Security dependencies added in this commit are test-scoped, meaning they don't add any extra depdencies to users of Spring Data REST.

This is also demonstrated by some canonical samples found in spring-projects/spring-data-examples#21
gregturn added a commit to gregturn/spring-data-rest that referenced this issue Oct 9, 2014
… Security

Spring Data REST should be easy to apply method-level security controls. This issue contains a battery of tests verifying that method level security works as expected.

> **NOTE:** The only Spring Security dependencies added in this commit are test-scoped, meaning they don't add any extra depdencies to users of Spring Data REST.

This is also demonstrated by some canonical samples found in spring-projects/spring-data-examples#21
gregturn added a commit to gregturn/spring-data-rest that referenced this issue Oct 9, 2014
… Security

Spring Data REST should be easy to apply method-level security controls. This issue contains a battery of tests verifying that method level security works as expected.

> **NOTE:** The only Spring Security dependencies added in this commit are test-scoped, meaning they don't add any extra depdencies to users of Spring Data REST.

This is also demonstrated by some canonical samples found in spring-projects/spring-data-examples#21
gregturn added a commit to gregturn/spring-data-rest that referenced this issue Oct 9, 2014
… Security

Spring Data REST should be easy to apply method-level security controls. This issue contains a battery of tests verifying that method level security works as expected.

> **NOTE:** The only Spring Security dependencies added in this commit are test-scoped, meaning they don't add any extra depdencies to users of Spring Data REST.

This is also demonstrated by some canonical samples found in spring-projects/spring-data-examples#21
gregturn added a commit to gregturn/spring-data-examples that referenced this issue Oct 10, 2014
gregturn added a commit to gregturn/spring-data-examples that referenced this issue Oct 10, 2014
gregturn added a commit that referenced this issue Oct 17, 2014
Added example of how to secure a Spring Data REST project with Spring Security both on the method level as well as the URI level.

Original pull request: #22.
odrotbohm added a commit that referenced this issue Oct 17, 2014
Removed obsolete dependency declarations from pom.xml. Rewrote test cases to use Spring MVC test support instead of a running server and RestTemplate. Fixed Security configuration to allow bootstrap in Spring MVC test context. Formatting, JavaDoc.

Original pull request: #22.
@odrotbohm
Copy link
Member Author

Fixed by applying #22 and polishing.

gregturn added a commit to spring-projects/spring-data-rest that referenced this issue Jan 9, 2015
… Security

Spring Data REST should be easy to apply method-level security controls. This issue contains a battery of tests verifying that method level security works as expected.

> **NOTE:** The only Spring Security dependencies added in this commit are test-scoped, meaning they don't add any extra depdencies to users of Spring Data REST.

This is also demonstrated by some canonical samples found in spring-projects/spring-data-examples#21
gregturn added a commit to spring-projects/spring-data-rest that referenced this issue Jan 9, 2015
… Security

Spring Data REST should be easy to apply method-level security controls. This issue contains a battery of tests verifying that method level security works as expected.

> **NOTE:** The only Spring Security dependencies added in this commit are test-scoped, meaning they don't add any extra depdencies to users of Spring Data REST.

This is also demonstrated by some canonical samples found in spring-projects/spring-data-examples#21
gregturn added a commit to spring-projects/spring-data-rest that referenced this issue Feb 26, 2015
… Security

Spring Data REST should be easy to apply method-level security controls. This issue contains a battery of tests verifying that method level security works as expected.

> **NOTE:** The only Spring Security dependencies added in this commit are test-scoped, meaning they don't add any extra depdencies to users of Spring Data REST.

This is also demonstrated by some canonical samples found in spring-projects/spring-data-examples#21
gregturn added a commit to spring-projects/spring-data-rest that referenced this issue Feb 27, 2015
Added test cases that verify method level security on repositories.

This is also demonstrated by some canonical samples found in spring-projects/spring-data-examples#21

Original pull request: #165.
gregturn added a commit to spring-projects/spring-data-rest that referenced this issue Feb 27, 2015
… Security

Spring Data REST should be easy to apply method-level security controls. This issue contains a battery of tests verifying that method level security works as expected.

> **NOTE:** The only Spring Security dependencies added in this commit are test-scoped, meaning they don't add any extra depdencies to users of Spring Data REST.

This is also demonstrated by some canonical samples found in spring-projects/spring-data-examples#21
gregturn added a commit to spring-projects/spring-data-rest that referenced this issue Feb 27, 2015
… Security

Spring Data REST should be easy to apply method-level security controls. This issue contains a battery of tests verifying that method level security works as expected.

> **NOTE:** The only Spring Security dependencies added in this commit are test-scoped, meaning they don't add any extra depdencies to users of Spring Data REST.

This is also demonstrated by some canonical samples found in spring-projects/spring-data-examples#21
gregturn added a commit to spring-projects/spring-data-rest that referenced this issue Mar 2, 2015
… Security

Spring Data REST should be easy to apply method-level security controls. This issue contains a battery of tests verifying that method level security works as expected.

> **NOTE:** The only Spring Security dependencies added in this commit are test-scoped, meaning they don't add any extra depdencies to users of Spring Data REST.

This is also demonstrated by some canonical samples found in spring-projects/spring-data-examples#21
gregturn added a commit to spring-projects/spring-data-rest that referenced this issue Mar 26, 2015
…g Security

* Spring Data REST should be easy to apply method-level security controls. This issue contains a battery of tests verifying that method level security works as expected.
* The reference docs now include a security section as well.
* This is also demonstrated by some canonical samples found in spring-projects/spring-data-examples#21

> **NOTE:** The only Spring Security dependencies added in this commit are test-scoped, meaning they don't add any extra depdencies to users of Spring Data REST.
gregturn added a commit to spring-projects/spring-data-rest that referenced this issue Apr 13, 2015
…g Security

* Spring Data REST should be easy to apply method-level security controls. This issue contains a battery of tests verifying that method level security works as expected.
* The reference docs now include a security section as well.
* This is also demonstrated by some canonical samples found in spring-projects/spring-data-examples#21

> **NOTE:** The only Spring Security dependencies added in this commit are test-scoped, meaning they don't add any extra depdencies to users of Spring Data REST.
gregturn added a commit to spring-projects/spring-data-rest that referenced this issue May 22, 2015
…g Security

* Spring Data REST should be easy to apply method-level security controls. This issue contains a battery of tests verifying that method level security works as expected.
* The reference docs now include a security section as well.
* This is also demonstrated by some canonical samples found in spring-projects/spring-data-examples#21

> **NOTE:** The only Spring Security dependencies added in this commit are test-scoped, meaning they don't add any extra depdencies to users of Spring Data REST.
gregturn added a commit to spring-projects/spring-data-rest that referenced this issue Jun 9, 2015
…g Security

* Spring Data REST should be easy to apply method-level security controls. This issue contains a battery of tests verifying that method level security works as expected.
* The reference docs now include a security section as well.
* This is also demonstrated by some canonical samples found in spring-projects/spring-data-examples#21

> **NOTE:** The only Spring Security dependencies added in this commit are test-scoped, meaning they don't add any extra depdencies to users of Spring Data REST.
gregturn added a commit to spring-projects/spring-data-rest that referenced this issue Jun 15, 2015
…g Security

* Spring Data REST should be easy to apply method-level security controls. This issue contains a battery of tests verifying that method level security works as expected.
* The reference docs now include a security section as well.
* This is also demonstrated by some canonical samples found in spring-projects/spring-data-examples#21

> **NOTE:** The only Spring Security dependencies added in this commit are test-scoped, meaning they don't add any extra depdencies to users of Spring Data REST.
gregturn added a commit to spring-projects/spring-data-rest that referenced this issue Jun 19, 2015
…king with Spring Security.

Added integration tests to verify Spring Data REST works with Spring Security as expected. Added method level security to sample repositories and verified HTTP responses to consider those.

Added some words on security configuration in the reference documentation. This is also demonstrated by some canonical samples found in [0].

[0] spring-projects/spring-data-examples#21
gregturn added a commit to spring-projects/spring-data-rest that referenced this issue Jun 23, 2015
…king with Spring Security.

Added integration tests to verify Spring Data REST works with Spring Security as expected. Added method level security to sample repositories and verified HTTP responses to consider those.

Added some words on security configuration in the reference documentation. This is also demonstrated by some canonical samples found in [0].

Original pull request: #171.

[0] spring-projects/spring-data-examples#21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants