Klasse IxAccessController

java.lang.Object
de.uplanet.lucy.server.security.IxAccessController

@Scriptable public final class IxAccessController extends Object
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    static void
    Determines whether the access request indicated by the specified permission should be allowed or denied, based on the security policy currently in effect.
    static void
    checkPermissionAnyOf(Permission p_permission1, Permission p_permission2)
    Determines whether the access request indicated by the specified permissions should be allowed or denied, based on the security policy currently in effect.
    static void
    checkPermissionAnyOf(Permission p_permission1, Permission p_permission2, Permission p_permission3)
    Determines whether the access request indicated by the specified permissions should be allowed or denied, based on the security policy currently in effect.
    static void
    checkPermissionAnyOf(Permission p_permission1, Permission p_permission2, Permission p_permission3, Permission p_permission4)
    Determines whether the access request indicated by the specified permissions should be allowed or denied, based on the security policy currently in effect.
    static void
    checkPermissionAnyOf(Permission p_permission1, Permission p_permission2, Permission p_permission3, Permission p_permission4, Permission p_permission5)
    Determines whether the access request indicated by the specified permissions should be allowed or denied, based on the security policy currently in effect.
    static void
    checkPermissionAnyOf(Permission p_permission1, Permission p_permission2, Permission p_permission3, Permission p_permission4, Permission p_permission5, Permission p_permission6)
    Determines whether the access request indicated by the specified permissions should be allowed or denied, based on the security policy currently in effect.
    static void
    checkPermissionAnyOf(Permission p_permission1, Permission p_permission2, Permission p_permission3, Permission p_permission4, Permission p_permission5, Permission p_permission6, Permission p_permission7)
    Determines whether the access request indicated by the specified permissions should be allowed or denied, based on the security policy currently in effect.
    static boolean
    hasPermission(Permission p_permission)
    Determines whether the access request indicated by the specified permission should be allowed or denied, based on the security policy currently in effect.
    static boolean
    hasPermissionAnyOf(Permission p_permission1, Permission p_permission2)
    Determines whether the access request indicated by the specified permissions should be allowed or denied, based on the security policy currently in effect.
    static boolean
    hasPermissionAnyOf(Permission p_permission1, Permission p_permission2, Permission p_permission3)
    Determines whether the access request indicated by the specified permissions should be allowed or denied, based on the security policy currently in effect.
    static boolean
    hasPermissionAnyOf(Permission p_permission1, Permission p_permission2, Permission p_permission3, Permission p_permission4)
    Determines whether the access request indicated by the specified permissions should be allowed or denied, based on the security policy currently in effect.
    static boolean
    hasPermissionAnyOf(Permission p_permission1, Permission p_permission2, Permission p_permission3, Permission p_permission4, Permission p_permission5)
    Determines whether the access request indicated by the specified permissions should be allowed or denied, based on the security policy currently in effect.

    Von Klasse geerbte Methoden java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Methodendetails

    • checkPermission

      public static void checkPermission(Permission p_permission)
      Determines whether the access request indicated by the specified permission should be allowed or denied, based on the security policy currently in effect.

      This method quietly returns if the access request is permitted, or throws a suitable AccessControlException otherwise.

      Parameter:
      p_permission - The requested permission.
      Löst aus:
      AccessControlException - If the specified permission is not permitted, based on the current security policy.
    • checkPermissionAnyOf

      public static void checkPermissionAnyOf(Permission p_permission1, Permission p_permission2)
      Determines whether the access request indicated by the specified permissions should be allowed or denied, based on the security policy currently in effect.

      This method quietly returns if the access request is permitted by at least one of the given permissions, or throws a suitable AccessControlException otherwise.

      Note: For performance reasons the most likely granted permission should be the first in the list.

      Parameter:
      p_permission1 - The first permission to be checked.
      p_permission2 - The second permission that may be be checked.
      Löst aus:
      AccessControlException - If none of the specified permission is granted, based on the current security policy.
    • checkPermissionAnyOf

      public static void checkPermissionAnyOf(Permission p_permission1, Permission p_permission2, Permission p_permission3)
      Determines whether the access request indicated by the specified permissions should be allowed or denied, based on the security policy currently in effect.

      This method quietly returns if the access request is permitted by at least one of the given permissions, or throws a suitable AccessControlException otherwise.

      Note: For performance reasons the most likely granted permission should be the first in the list.

      Parameter:
      p_permission1 - The first permission to be checked.
      p_permission2 - The second permission that may be be checked.
      p_permission3 - The third permission that may be be checked.
      Löst aus:
      AccessControlException - If none of the specified permission is granted, based on the current security policy.
    • checkPermissionAnyOf

      public static void checkPermissionAnyOf(Permission p_permission1, Permission p_permission2, Permission p_permission3, Permission p_permission4)
      Determines whether the access request indicated by the specified permissions should be allowed or denied, based on the security policy currently in effect.

      This method quietly returns if the access request is permitted by at least one of the given permissions, or throws a suitable AccessControlException otherwise.

      Note: For performance reasons the most likely granted permission should be the first in the list.

      Parameter:
      p_permission1 - The first permission to be checked.
      p_permission2 - The second permission that may be be checked.
      p_permission3 - The third permission that may be be checked.
      p_permission4 - The fourth permission that may be be checked.
      Löst aus:
      AccessControlException - If none of the specified permission is granted, based on the current security policy.
    • checkPermissionAnyOf

      public static void checkPermissionAnyOf(Permission p_permission1, Permission p_permission2, Permission p_permission3, Permission p_permission4, Permission p_permission5)
      Determines whether the access request indicated by the specified permissions should be allowed or denied, based on the security policy currently in effect.

      This method quietly returns if the access request is permitted by at least one of the given permissions, or throws a suitable AccessControlException otherwise.

      Note: For performance reasons the most likely granted permission should be the first in the list.

      Parameter:
      p_permission1 - The first permission to be checked.
      p_permission2 - The second permission that may be be checked.
      p_permission3 - The third permission that may be be checked.
      p_permission4 - The fourth permission that may be be checked.
      Löst aus:
      AccessControlException - If none of the specified permission is granted, based on the current security policy.
    • checkPermissionAnyOf

      public static void checkPermissionAnyOf(Permission p_permission1, Permission p_permission2, Permission p_permission3, Permission p_permission4, Permission p_permission5, Permission p_permission6)
      Determines whether the access request indicated by the specified permissions should be allowed or denied, based on the security policy currently in effect.

      This method quietly returns if the access request is permitted by at least one of the given permissions, or throws a suitable AccessControlException otherwise.

      Note: For performance reasons the most likely granted permission should be the first in the list.

      Parameter:
      p_permission1 - The first permission to be checked.
      p_permission2 - The second permission that may be be checked.
      p_permission3 - The third permission that may be be checked.
      p_permission4 - The fourth permission that may be be checked.
      p_permission5 - The fourth permission that may be be checked.
      p_permission6 - The fourth permission that may be be checked.
      Löst aus:
      AccessControlException - If none of the specified permission is granted, based on the current security policy.
    • checkPermissionAnyOf

      public static void checkPermissionAnyOf(Permission p_permission1, Permission p_permission2, Permission p_permission3, Permission p_permission4, Permission p_permission5, Permission p_permission6, Permission p_permission7)
      Determines whether the access request indicated by the specified permissions should be allowed or denied, based on the security policy currently in effect.

      This method quietly returns if the access request is permitted by at least one of the given permissions, or throws a suitable AccessControlException otherwise.

      Note: For performance reasons the most likely granted permission should be the first in the list.

      Parameter:
      p_permission1 - The first permission to be checked.
      p_permission2 - The second permission that may be be checked.
      p_permission3 - The third permission that may be be checked.
      p_permission4 - The fourth permission that may be be checked.
      p_permission5 - The fourth permission that may be be checked.
      p_permission6 - The fourth permission that may be be checked.
      p_permission7 - The fourth permission that may be be checked.
      Löst aus:
      AccessControlException - If none of the specified permission is granted, based on the current security policy.
    • hasPermission

      public static boolean hasPermission(Permission p_permission)
      Determines whether the access request indicated by the specified permission should be allowed or denied, based on the security policy currently in effect.
      Parameter:
      p_permission - The requested permission.
      Gibt zurück:
      true if the permission is granted, or false if the permission is denied.
    • hasPermissionAnyOf

      public static boolean hasPermissionAnyOf(Permission p_permission1, Permission p_permission2)
      Determines whether the access request indicated by the specified permissions should be allowed or denied, based on the security policy currently in effect.

      This method returns true if the access request is permitted by at least one of the given permissions, or false otherwise.

      Note: For performance reasons the most likely granted permission should be the first in the list.

      Parameter:
      p_permission1 - The first permission to be checked.
      p_permission2 - The second permission that may be be checked.
      Gibt zurück:
      true if any permission is granted, or false if all permissions are denied.
    • hasPermissionAnyOf

      public static boolean hasPermissionAnyOf(Permission p_permission1, Permission p_permission2, Permission p_permission3)
      Determines whether the access request indicated by the specified permissions should be allowed or denied, based on the security policy currently in effect.

      This method returns true if the access request is permitted by at least one of the given permissions, or false otherwise.

      Note: For performance reasons the most likely granted permission should be the first in the list.

      Parameter:
      p_permission1 - The first permission to be checked.
      p_permission2 - The second permission that may be be checked.
      p_permission3 - The third permission that may be be checked.
      Gibt zurück:
      true if any permission is granted, or false if all permissions are denied.
    • hasPermissionAnyOf

      public static boolean hasPermissionAnyOf(Permission p_permission1, Permission p_permission2, Permission p_permission3, Permission p_permission4)
      Determines whether the access request indicated by the specified permissions should be allowed or denied, based on the security policy currently in effect.

      This method returns true if the access request is permitted by at least one of the given permissions, or false otherwise.

      Note: For performance reasons the most likely granted permission should be the first in the list.

      Parameter:
      p_permission1 - The first permission to be checked.
      p_permission2 - The second permission that may be be checked.
      p_permission3 - The third permission that may be be checked.
      p_permission4 - The fourth permission that may be be checked.
      Gibt zurück:
      true if any permission is granted, or false if all permissions are denied.
    • hasPermissionAnyOf

      public static boolean hasPermissionAnyOf(Permission p_permission1, Permission p_permission2, Permission p_permission3, Permission p_permission4, Permission p_permission5)
      Determines whether the access request indicated by the specified permissions should be allowed or denied, based on the security policy currently in effect.

      This method returns true if the access request is permitted by at least one of the given permissions, or false otherwise.

      Note: For performance reasons the most likely granted permission should be the first in the list.

      Parameter:
      p_permission1 - The first permission to be checked.
      p_permission2 - The second permission that may be be checked.
      p_permission3 - The third permission that may be be checked.
      p_permission4 - The fourth permission that may be be checked.
      p_permission5 - The fifth permission that may be be checked.
      Gibt zurück:
      true if any permission is granted, or false if all permissions are denied.