Usage scenarios

Table 2-1 provides a hierarchy of QOP settings. For a given client to access your business logic:

Table 2-1: QOP hierarchy

QOP hierarchy from weaker to stronger

Comments

syb_osauth sybpks_domestic_anon sybpks_simple sybpks_simple_mutual_auth sybpks_intl sybpks_intl_mutual_auth sybpks_domestic sybpks_domestic_mutual_auth sybpks_strong sybpks_strong_mutual_auth

Some QOP profiles overlap. For example, sybpks_domestic supports both 128-bit encryption and 40-bit encryption. If you use sybpks_domestic as a package QOP, a client QOP of sybpks_intl meets the minimum requirement of 40-bit encryption. sybpks_strong supports only 128-bit encryption and is compatible with only one of the domestic or strong profiles.

For a list of CipherSuites supported by each QOP profile, see Table 13-2.

Figure 2-1 illustrates two clients trying to access component A. A QOP of sybpks_strong is set for the component. To access the component, the client must use a QOP that meets the minimum requirements of the component’s QOP, and communicate with a listener that also meets the minimum requirements of the component’s QOP.

Figure 2-1: QOP usage

In Figure 2-1:

Figure 2-2: QOP-compatible listener

Controlling access to methods

Assuming that a compatible listener is configured on the server, Figure 2-3 illustrates a situation in which the client:

Setting a weaker QOP at the method than the component serves no purpose since the client will already be blocked at the component.

Figure 2-3: Using QOP to limit access to methods

syb_osauth

In addition to setting a QOP that establishes minimum encryption requirements, Jaguar provides another QOP, syb_osauth, for operating system authentication. You can set two QOP settings at the package, component, or method level, as long as one of them is syb_osauth:

NoteFor syb_osauth to work properly, you must enable operating-system- based authentication server-wide (not at the listener level). If you do not, you cannot load packages, components, or methods that have the syb_osauth QOP set. See “Configuring OS authentication” for information about enabling authentication for your operating system.

In Figure 2-4:

Figure 2-4: Using syb_osauth

StepsConfiguring QOP from EAServer Manager

Highlight the package, component, or method for which you want to establish a QOP.

  1. Select File | Package, Component, or Method Properties.

  2. Select the Advanced tab and set:

    • The com.sybase.package.qop property for a package.

    • The com.sybase.component.qop property for a component.

    • The com.sybase.method.qop property for a method.

  3. If the property already exists, you can highlight it and click Modify. Otherwise, click Add.

  4. Enter the appropriate property name in the Property Name field and one (or two if using syb_osauth) of the values from Table 2-1 in the Property Value field.

After configuring QOP, you must either refresh or restart the server for your changes to take effect.