Class SessionOnlyGuardFactory

All Implemented Interfaces:

@Component public class SessionOnlyGuardFactory extends Object implements GuardFactory
  • Constructor Details

    • SessionOnlyGuardFactory

      public SessionOnlyGuardFactory(org.slf4j.Logger log, SecurityManager manager)
  • Method Details

    • supports

      public int[] supports(List<?> secured)
      Specified by:
      supports in interface GuardFactory
      the indices of the secured list that are supported by this factory
    • priority

      public int priority()
      Description copied from interface: GuardFactory
      if multiple factories support a specific secured objects, the one with the highest priority will be used.
      Specified by:
      priority in interface GuardFactory
    • createGuard

      public ListGuard createGuard(List<?> secured, GuardContext guardContext)
      Specified by:
      createGuard in interface GuardFactory
      a Guard for the given secured object