Class ActionConstants


  • public final class ActionConstants
    extends java.lang.Object
    • Method Detail

      • getPermission

        public static java.security.Permission getPermission​(java.lang.String name,
                                                             java.lang.String serviceName,
                                                             java.lang.String... actions)
        Creates a permission
        Parameters:
        name - the permission name
        serviceName - the service name
        actions - the actions
        Returns:
        the created Permission
        Throws:
        java.lang.IllegalArgumentException - if there is no service found with the given serviceName.