1.5 Configuring Workspace Preferences

This section describes how to configure workspace preferences for workspace login controls, access to Application Builder and SQL Workshop, support for PL/SQL editing and RESTful services, and access to Team Development.

Tip:

Some of these preferences can also be configured for an entire instance. If applicable, this section includes references to any instance-level settings.

1.5.1 Creating Account Login Controls for a Workspace

This section describes how to configure workspace login controls.

1.5.1.1 About Login Controls

Administrators can configure login controls for an entire Oracle Application Express instance or for each individual workspace. For example, if an Instance administrator configures account login controls in Oracle Application Express Administration Services that configuration applies to all Application Express accounts in all workspaces across an entire instance.

If the Instance administrator does not enable login controls across an entire instance, then each Workspace administrator can configure the following controls on a workspace-by-workspace basis:

  • End-user account expiration and locking

  • A maximum number of failed login attempts for end-user accounts

  • The password lifetime (or number of days an end-user account password can be used before it expires for end-user accounts

Tip:

This feature applies only to accounts created using the Application Express user creation and management. Application Accounts Authentication provides additional authentication security for applications. See "Managing Users in a Workspace."

1.5.1.2 Configuring Workspace Account Login Controls

To configure login controls for a workspace:

  1. Navigate to the Workspace Administration page. See "Accessing the Workspace Administration Page."

    The Workspace Administration home page appears.

  2. Click Manage Service.

  3. Click Set Workspace Preferences.

  4. Under Account Login Control:

    1. Account Expiration and Locking - Make a selection to determine whether Application Express end user accounts can be expired or locked. This feature applies only to end-user accounts created using the Application Express user management interface. Options include: Enable or Disable.

      If you select Enable, end-user account passwords expire after the time period specified and accounts are locked after a configurable number of authentication failures. Account passwords can be set to expire after the first use.

      Tip:

      If the Instance administrator sets the Require User Account Expiration and Locking preference to Yes, this preference defaults to Enable and you cannot update it.
    2. Maximum Login Failures Allowed - Enter a positive integer for the maximum number of consecutive unsuccessful authentication attempts allowed before an end-user account is locked. If you do not specify a value in this field, the instance-level setting for Maximum Login Failures Allowed is used.

    3. End User Account Lifetime (days) - Enter a positive integer for the maximum number of days an end-user account password may be used before the account expires. If you do not specify a value in this field, the instance-level setting for Account Password Lifetime is used.

  5. Click Apply Changes.

1.5.2 Controlling Access to Application Builder

To control access to Application Builder:

  1. Navigate to the Workspace Administration page. See "Accessing the Workspace Administration Page."

    The Workspace Administration home page appears.

  2. Click Manage Service.

  3. Click Set Workspace Preferences.

  4. Scroll down to Application Builder.

  5. To Enable Application Builder, select Yes. To disable Application Builder, select No.

  6. Click Apply Changes.

Tip:

These settings can be overridden by an Instance administrator. See "Managing Component Availability for an Instance."

1.5.3 Controlling Access to SQL Workshop

To control access to SQL Workshop:

  1. Navigate to the Workspace Administration page. See "Accessing the Workspace Administration Page."

    The Workspace Administration home page appears.

  2. Click Manage Service.

  3. Click Set Workspace Preferences.

  4. Scroll down to SQL Workshop.

  5. To Enable SQL Workshop, select Yes. To disable SQL Workshop, select No.

  6. Click Apply Changes.

Tip:

These settings can be overridden by an Instance administrator. See "Managing Component Availability for an Instance."

1.5.4 Disabling PL/SQL Program Unit Editing for a Workspace

By default, developers can change and compile PL/SQL source code when browsing database procedures, packages, and functions in SQL Workshop Object Browser. Workspace administrators can disable PL/SQL program unit editing by selecting Do not allow PL/SQL program unit editing on the Set Workspace Preferences page.

To disable PL/SQL program unit editing:

  1. Navigate to the Workspace Administration page. See "Accessing the Workspace Administration Page."

    The Workspace Administration home page appears.

  2. Click Manage Service.

  3. Click Set Workspace Preferences.

  4. Scroll down to SQL Workshop.

  5. Under PL/SQL Editing, select one of the following:

    • Allow PL/SQL program unit editing

    • Do not allow PL/SQL program unit editing

    If you select Do not allow PL/SQL program unit editing, developers can still create and replace PL/SQL program units using scripts or SQL Commands.

  6. Click Apply Changes.

1.5.5 Controlling RESTful Services for a Workspace

Use the Enable RESTful Services attribute to control whether developers can expose report regions as RESTful services. You can enable RESTful services for specific workspace or for an entire development instance.

To configure RESTful access for a workspace:

  1. Navigate to the Workspace Administration page. See "Accessing the Workspace Administration Page."

    The Workspace Administration home page appears.

  2. Click Manage Service.

  3. Click Set Workspace Preferences.

  4. Scroll down to SQL Workshop.

  5. From Enable RESTful Services, select one of the following:

    • Yes - Enables developers to expose report regions as RESTful services.

    • No - Prevents developers from exposing report regions as RESTful services.

  6. For Path Prefix, specify the path prefix to be used to access RESTful Services in the current workspace.

    For example, a workspace named QA_1 could have a path prefix set to QA. The default value is the short name of the workspace.

  7. Click Apply Changes.

1.5.6 Managing Team Development

Use the options under Team Development to specify whether Team Development is available in the current workspace, enable support for file attachments, and specify the maximum size of uploaded files.

Tip:

This attribute can only be modified if the instance-level setting, Enable Team Development's File Repository is set to Yes. See "Enabling Instance-level Support for File Upload in Team Development."

1.5.6.1 Enabling Team Development for a Workspace

To enable Team Development:

  1. Navigate to the Workspace Administration page. See "Accessing the Workspace Administration Page."

    The Workspace Administration home page appears.

  2. Click Manage Service.

  3. Click Set Workspace Preferences.

  4. Scroll down to Team Development.

  5. For Enable Team Development, select either:

    • Yes - Select Yes to enable Team Development in the current workspace.

    • No - Select No to disable Team Development in the current workspace.

  6. Click Apply Changes.

1.5.6.2 Enabling Workspace-level Support for File Upload in Team Development

To enable support for file upload in for Team Development file upload:

  1. Navigate to the Workspace Administration page. See "Accessing the Workspace Administration Page."

    The Workspace Administration home page appears.

  2. Click Manage Service.

  3. Click Set Workspace Preferences.

  4. Under Team Development:

    1. Enable File Repository - Specify whether to enable file upload in Team Development:

      • Yes - Enables support for file attachments in Team Development and creates a local APEX$ table to store the files.

      • No - Disables support for file attachments in Team Development.

        Tip:

        This attribute can only be modified if the instance-level setting, Enable Team Development's File Repository, is set to Yes. See "Enabling Instance-level Support for File Upload in Team Development."
    2. Maximum File Size (in MB) - Select the maximum file size for any file uploaded into the team development file repository. The default value is 15 MB.

  5. Click Apply Changes.