Technical Note: Deploying Access Manager With Application Server 9.1

ProcedureTo Configure the Access Manager 7.1 SDK

  1. On the server where you installed the Access Manager 7.1 SDK, change to the /bin directory, depending on your platform:

    • Solaris systems: /opt/SUNWam/bin

    • Linux and HP-UX systems: /opt/sun/identity/bin

    • Windows systems: javaes-install-dir\identity\setup

      Where javaes-install-dir is the Java ES 5 installation directory. The default value is C:\Program Files\Sun\JavaES5.

  2. Make a copy of the amsamplesilent file. The following examples use the amsdk_configure file.

  3. In the amsdk_configure file, set the following Access Manager configuration variables.

    If a variable is commented out, also remove the comment character (#) when you set the value.

    Variable 

    Description 

    DEPLOY_LEVEL

    Action performed by the amconfig script. To install the Access Manager 7.1 SDK and configure the Application Server 9.1 web container, set as:

    DEPLOY_LEVEL=4

    AM_REALM

    Access Manager mode: AM_REALM=enabled for Realm Mode or AM_REALM=disabled for Legacy Mode.

    Note: Portal Server 7.1 supports either Realm Mode or Legacy Mode if user data is stored in Sun Java System Directory Server.

    However, if your deployment also includes a Sun Java System Communications Suite product, You must specify Legacy Mode. 

    BASEDIR

    Base installation directory. Set BASEDIR to the installation directory that you specified during the Access Manager 7.1 SDK installation. By default, BASEDIR is set to PLATFORM_DEFAULT, which is /opt on Solaris systems and /opt/sun on Linux systems.

    On Windows systems, the base installation directory is the Java ES installation directory. The default value is C:\Program Files\Sun\JavaES5.

    SERVER_NAME

    Host name of the server where the full Access Manager 7.1 installation is running. For example: amhost

    SERVER_HOST

    Fully qualified name of the host server where the full Access Manager 7.1 installation is running. For example: amhost.example.com

    SERVER_PORT

    Port number of the host server where the full Access Manager 7.1 installation is running. 

    ADMIN_PORT

    Port on which the administration instance will listen for connections. Default for Application Server 9.1 is 4848.  

    ADMINPASSWD

    Password for the Access Manager administrator (amadmin) for the full Access Manager 7.1 server installation.

    COOKIE_DOMAIN

    Names of the trusted DNS domains that Access Manager returns to a browser when it grants a session ID to a user. Specify at least one value. The format is the server's domain name preceded with a period. For example: 

    COOKIE_DOMAIN=.example.com

    AM_ENC_PWD

    Password encryption key value. 

    Important: Set AM_ENC_PWD to the same password encryption key value used for the full Access Manager 7.1 server installation.

    NEW_OWNER and NEW_GROUP

    Owner and group, respectively, of the Application Server 9.1 instance on which the Access Manager SDK is being configured.  

    PAM_SERVICE_NAME

    Name of the PAM service from the PAM configuration or stack that comes with the operating system and is used for the UNIX authentication module. Usually, other for Solaris or password for Linux. Default: other

    WEB_CONTAINER

    Web container for the Access Manager 7.1 SDK. 

    Note: Although you are deploying the Access Manager SDK on Application Server 9.1, set the variable as follows:

    WEB_CONTAINER=AS8

    Set any other variables in the amsdk_configure file as required for your deployment.

  4. In the amsdk_configure file, set the following Application Server 9.1 web container variables:

    Note: Although you are deploying the Access Manager SDK on Application Server 9.1, the web container variables begin with AS81.

    Variable 

    Description 

    AS81_HOME

    Path to the directory where Application Server 9.1 is installed. 

    Default values: 

    • Solaris systems: /opt/SUNWappserver/appserver

    • Linux and HP-UX systems: /opt/sun/appserver

    • Windows systems: javaes-install-dir/appserver

      javaes-install-dir represents the Java ES 5 installation directory. The default value is C:\Program Files\Sun\JavaES5.

    AS81_PROTOCOL

    Protocol used by the Application Server 9.1 instance: http or https.

    Default: Access Manager protocol variable (SERVER_PROTOCOL).

    AS81_HOST

    Fully qualified domain name (FQDN) on which the Application Server 9.1 instance listens for connections. 

    Default: Access Manager host variable (SERVER_HOST)

    AS81_PORT

    Port on which Application Server 9.1 instance listens for connections. 

    Default: Access Manager port number variable (SERVER_PORT).

    AS81_ADMINPORT

    Port on which the Application Server 9.1 administration server listens for connections. 

    Default: 4848 

    AS81_ADMIN

    User ID of the Application Server 9.1 administrator. 

    Default: admin

    AS81_ADMINPASSWD

    Password for the Application Server 9.1 administrator. 

    Default: Access Manager administrator password (ADMINPASSWD).

    AS81_INSTANCE

    Name of the Application Server 9.1 instance on which the Access Manager SDK will be deployed. 

    Default: server

    AS81_DOMAIN

    Name of the Application Server 9.1 domain in which the Application Server instance exists. 

    Default: domain1

    AS81_INSTANCE_DIR

    Path to the directory where Application Server 9.1 stores its files for the instance. Default: 

    • Solaris systems: /opt/SUNWappserver/domains/domain1

    • Linux and HP-UX systems: /opt/sun/appserver/domains/domain1

    • Windows systems: javaes-install-dir/appserver/domains/domain1

      javaes-install-dir represents the Java ES 5 installation directory. The default value is C:\Program Files\Sun\JavaES5.

    AS81_DOCS_DIR

    Path to the directory where the Application Server 9.1 instance stores its files. Default: 

    • Solaris systems: /opt/SUNWappserver/domains/domain1/docroot

    • Linux and HP-UX systems: /opt/sun/appserver/domains/domain1/docroot

    • Windows systems: javaes-install-dir/appserver/domains/domain1/docroot

      javaes-install-dir represents the Java ES 5 installation directory. The default value is C:\Program Files\Sun\JavaES5.

    AS81_ADMIN_IS_SECURE

    Specifies whether the Application Server 9.1 administration instance is using SSL: 

    • true: Secure port is enabled (HTTPS protocol).

    • false: Secure port is not enabled (HTTP protocol).

    Default: true (enabled)

  5. In the amsdk_configure file, set the following Directory Server variables:

    Variable 

    Description 

    DIRECTORY_MODE

    Directory Server mode. For example, specify DIRECTORY_MODE=4 for an existing multiple-server installation. For more information, see Directory Server Configuration Variables in Sun Java System Access Manager 7.1 Postinstallation Guide.

    DS_HOST

    Fully qualified server name where Directory Server is running.  

    DS_PORT

    Directory Server port. Default: 389. 

    DS_DIRMGRDN

    Directory manager DN: user who has unrestricted access to Directory Server. Default: "cn=Directory Manager"

    DS_DIRMGRPASSWD

    Password for the directory manager.  

    AMLDAPUSERPASSWD

    Password for amldapuser used for the full Access Manager 7.1 server installation. The AMLDAPUSERPASSWD value must be different from the amadmin password.

    ROOT_SUFFIX

    Root suffix of Directory Server.  

  6. While running as root, run the amconfig script using the edited amsdk_configure file. For example, on Solaris systems with the Access Manager SDK installed in the default directory:

    # cd /opt/SUNWam/bin
    # ./amconfig -s ./amsdk_configure

    Note –

    On Windows systems, to configure Access Manager, run amconfig.bat with the AMConfigurator.properties file. These files are installed in the javaes-install-dir\identity\setup directory, where javaes-install-dir is the Java ES 5 installation directory. The default value is C:\Program Files\Sun\JavaES5.


  7. Stop and then restart the Application Server 9.1 instance.

Next Steps

After you have installed and configured the Access Manager 7.1 SDK, an application such as Portal Server can use the Access Manager SDK APIs to manage users and related information in the user branch of the identity repository. If you want to install and configure Portal Server 7.1, refer to the following documentation collection for more information:

http://docs.sun.com/coll/1552.1