Created
October 18, 2011 22:14
-
-
Save runeflobakk/1296896 to your computer and use it in GitHub Desktop.
Snippet: Dersom det ikke finnes ConfigAttributes som støttes av SecurityLevelVoter, returner ACCESS_ABSTAIN
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Collection<ConfigAttribute> supportedAttributes = select(attributes, new SupportedBy(this)); | |
if (supportedAttributes.isEmpty()) { | |
return ACCESS_ABSTAIN; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment