Package ch.tocco.nice2.security.impl
Class DefaultGuardFactory
java.lang.Object
ch.tocco.nice2.security.impl.DefaultGuardFactory
- All Implemented Interfaces:
GuardFactory
Default
GuardFactory
implementation which supports every object and creates a DefaultListGuard
.-
Constructor Summary
ConstructorDescriptionDefaultGuardFactory
(org.slf4j.Logger logger, SecurityManager securityManager) -
Method Summary
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.api.GuardFactory
priority
-
Constructor Details
-
DefaultGuardFactory
-
-
Method Details
-
supports
- Specified by:
supports
in interfaceGuardFactory
- Returns:
- the indices of the secured list that are supported by this factory
-
createGuard
- Specified by:
createGuard
in interfaceGuardFactory
- Returns:
- a
Guard
for the given secured object
-