Class AdminMenuSecurityDomain
java.lang.Object
ch.tocco.nice2.security.spi.AbstractSecurityDomain
ch.tocco.nice2.model.menu.impl.security.AdminMenuSecurityDomain
- All Implemented Interfaces:
SecurityDomain
Is registred as the "adminMenu" security domain and accepts
RootMenuItem
.-
Constructor Summary
-
Method Summary
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
-
AdminMenuSecurityDomain
public AdminMenuSecurityDomain()
-
-
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.
-