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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a selector factory.protected Class<?>[]voidsetContributor(ActionSecurityDomainContributor contributor) Methods inherited from class ch.tocco.nice2.security.spi.AbstractSecurityDomain
aggregateSupportedObjects, clearGuardCache, getOrCreateFilteredPolicyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.tocco.nice2.security.spi.SecurityDomain
evaluateCondition
-
Constructor Details
-
ActionSecurityDomain
public ActionSecurityDomain()
-
-
Method Details
-
getSupportedClasses
- Specified by:
getSupportedClassesin classAbstractSecurityDomain
-
getSelectorFactory
Description copied from interface:SecurityDomainCreate 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
createSelectorwith 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
-