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
ConstructorsConstructorDescriptionDefaultGuardFactory(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, waitMethods inherited from interface ch.tocco.nice2.security.api.GuardFactory
priority
-
Constructor Details
-
DefaultGuardFactory
-
-
Method Details
-
supports
- Specified by:
supportsin interfaceGuardFactory- Returns:
- the indices of the secured list that are supported by this factory
-
createGuard
- Specified by:
createGuardin interfaceGuardFactory- Returns:
- a
Guardfor the given secured object
-