Class ActionSecurityDomain
java.lang.Object
ch.tocco.nice2.security.spi.AbstractSecurityDomain
ch.tocco.nice2.model.form.impl.security.ActionSecurityDomain
- All Implemented Interfaces:
SecurityDomain
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate a selector factory.protected Class<?>[]
void
setContributor
(ActionSecurityDomainContributor contributor) Methods inherited from class ch.tocco.nice2.security.spi.AbstractSecurityDomain
aggregateSupportedObjects, clearGuardCache, getOrCreateFilteredPolicy
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.security.spi.SecurityDomain
evaluateCondition
-
Constructor Details
-
ActionSecurityDomain
public ActionSecurityDomain()
-
-
Method Details
-
getSupportedClasses
- Specified by:
getSupportedClasses
in classAbstractSecurityDomain
-
getSelectorFactory
Description copied from interface:SecurityDomain
Create a selector factory. A selector factory is an object which creates selectors. There is no interface as the arguments defined in the policy will be matched to factory methods using reflection. The contract for the object returned by this method is as follows:It specify several methods called
createSelector
with the return typeSelector
. It may take any number of arguments. Supported argument types are all Java primitives, String, enumerations and arrays of enumerations. The last argument may be an array, which indicates varargs. Wildcards will be passed asnull
. The methods may throw anInvalidArgumentException
.- Returns:
- The selector factory.
-
setContributor
-