Class IsAdministratorGuard

java.lang.Object
org.nuxeo.ecm.webengine.security.guards.IsAdministratorGuard
All Implemented Interfaces:
Guard

public class IsAdministratorGuard extends Object implements Guard
Author:
Bogdan Stefanescu
  • Field Details

    • isAdministrator

      protected boolean isAdministrator
  • Constructor Details

    • IsAdministratorGuard

      public IsAdministratorGuard()
    • IsAdministratorGuard

      public IsAdministratorGuard(String isAdministrator)
    • IsAdministratorGuard

      public IsAdministratorGuard(Access isAdministrator)
  • Method Details

    • check

      public boolean check(Adaptable context)
      Specified by:
      check in interface Guard
    • isAdministrator

      public boolean isAdministrator()
    • toString

      public String toString()
      Overrides:
      toString in class Object