Deployment Example 2: Federation Using SAML v2

ProcedureTo Create a J2EE Policy Agent Profile on Protected Resource 3

  1. As a root user, log into the Protected Resource 3 host.

  2. Create an agent profile.

    Create a text file named agent_profile_password, and add to it a name for the new agent profile. Example:


    # cd /export
    # vi agent_profile_password
    asagent

    Save the file.

  3. Generate an encrypted password for the new agent profile.


    # cd /var/opt/SUNWam/fm/federation/users
    # /opt/SUNWam/fm/bin/ampassword -i /var/opt/SUNWam/fm/war_staging --hash asagent
    EW1Ck/Yw4kpyYs9jbu5Dx5pJaH8=
  4. Create a text file named asagent.properties, and add the agent profile password to the file.

    The J2EE Policy Agent installer requires this file for installation.


    # vi asagent.properties
    password=EW1Ck/Yw4kpyYs9jbu5Dx5pJaH8=

    Save the file.