mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-08 19:42:48 +00:00
Update docs to point to ACL samples
Closes gh-10110
This commit is contained in:
parent
41feec4766
commit
670cf99258
@ -125,7 +125,7 @@ This should therefore work with all major databases.
|
|||||||
At the time of writing, the system had been successfully tested using Hypersonic SQL, PostgreSQL, Microsoft SQL Server and Oracle.
|
At the time of writing, the system had been successfully tested using Hypersonic SQL, PostgreSQL, Microsoft SQL Server and Oracle.
|
||||||
|
|
||||||
Two samples ship with Spring Security that demonstrate the ACL module.
|
Two samples ship with Spring Security that demonstrate the ACL module.
|
||||||
The first is the Contacts Sample, and the other is the Document Management System (DMS) Sample.
|
The first is the {gh-samples-url}/servlet/xml/java/contacts[Contacts Sample], and the other is the {gh-samples-url}/servlet/xml/java/dms[Document Management System (DMS) Sample].
|
||||||
We suggest taking a look over these for examples.
|
We suggest taking a look over these for examples.
|
||||||
|
|
||||||
|
|
||||||
|
@ -258,7 +258,7 @@ Their use is enabled through the `global-method-security` namespace element:
|
|||||||
|
|
||||||
===== Access Control using @PreAuthorize and @PostAuthorize
|
===== Access Control using @PreAuthorize and @PostAuthorize
|
||||||
The most obviously useful annotation is `@PreAuthorize` which decides whether a method can actually be invoked or not.
|
The most obviously useful annotation is `@PreAuthorize` which decides whether a method can actually be invoked or not.
|
||||||
For example (from the "Contacts" sample application)
|
For example (from the {gh-samples-url}/servlet/xml/java/contacts[Contacts] sample application)
|
||||||
|
|
||||||
====
|
====
|
||||||
.Java
|
.Java
|
||||||
@ -492,7 +492,7 @@ This would look something like this:
|
|||||||
|
|
||||||
Where `myPermissionEvaluator` is the bean which implements `PermissionEvaluator`.
|
Where `myPermissionEvaluator` is the bean which implements `PermissionEvaluator`.
|
||||||
Usually this will be the implementation from the ACL module which is called `AclPermissionEvaluator`.
|
Usually this will be the implementation from the ACL module which is called `AclPermissionEvaluator`.
|
||||||
See the "Contacts" sample application configuration for more details.
|
See the {gh-samples-url}/servlet/xml/java/contacts[Contacts] sample application configuration for more details.
|
||||||
|
|
||||||
===== Method Security Meta Annotations
|
===== Method Security Meta Annotations
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user