Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

Solution for the issue #9 #10

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Solution for the issue #9 #10

wants to merge 3 commits into from

Conversation

vicpenap
Copy link

@vicpenap vicpenap commented Aug 9, 2011

I've implemented a solution for the issue #9.

Now it's possible to extend Security class as much as needed. I've changed the invoke method in Security.java, and instead of looking for the only class that extended Security, now it looks for a class annotated with @SecurityClass. If it finds none or more than one, an exception will be thrown.

If you want to add compatibility for previous versions, you could change the behaviour when no @SecurityClass annotation is found and search in that case for any Security child class, as you were doing.

vicpenap and others added 3 commits August 9, 2011 11:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants