Repository: deltaspike Updated Branches: refs/heads/master 8048657e2 -> a490378de
[DELTASPIKE-DOC] / DELTASPIKE-748 - Fix DS Security AbstractAccessDecisionVoter documentation Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/a490378d Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/a490378d Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/a490378d Branch: refs/heads/master Commit: a490378dec6db4ede3e7226bd98b4e2455332222 Parents: 8048657 Author: Rafael Benevides <[email protected]> Authored: Thu Oct 23 10:52:12 2014 -0200 Committer: Rafael Benevides <[email protected]> Committed: Thu Oct 23 10:52:12 2014 -0200 ---------------------------------------------------------------------- documentation/src/main/asciidoc/security.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/deltaspike/blob/a490378d/documentation/src/main/asciidoc/security.adoc ---------------------------------------------------------------------- diff --git a/documentation/src/main/asciidoc/security.adoc b/documentation/src/main/asciidoc/security.adoc index 6d8a515..f43d4c2 100644 --- a/documentation/src/main/asciidoc/security.adoc +++ b/documentation/src/main/asciidoc/security.adoc @@ -284,11 +284,11 @@ the result returned by the `AccessDecisionVoter`. You can also implement the abstract class `AbstractAccessDecisionVoter`. This is a convenience class which allows an easier usage: -Example: :::java public class CustomAccessDecisionVoter extends -AbstractAccessDecisionVoter \{ - [source,java] ----------------------------------------------------------------------------------------- +public class CustomAccessDecisionVoter extends AbstractAccessDecisionVoter +{ + @Override protected void checkPermission(AccessDecisionVoterContext accessDecisionVoterContext, Set<SecurityViolation> violations)
