Deployment Example 2: Federation Using SAML v2

14.1 Creating Web Agent Profiles on the Federation Manager Servers

Use the following as your check list for creating Web Agent profiles on the Federation Manager servers:

  1. Create the UrlAccessAgent.properties file on Federation Manager 1.

  2. Create the UrlAccessAgent.properties file on Federation Manager 2.

ProcedureTo Create the UrlAccessAgent.properties File on Federation Manager 1

  1. Log into the Federation Manager 1 host.

  2. Generate an encrypted password:


    # /opt/SUNWam/fm/bin/ampassword  -i /var/opt/SUNWam/fm/war_staging --hash 11111111
    BeUPgddAimR404ivWY6HPQ==

    Make note of this encrypted password. You will use this password as the UrlAccessAgent encrypted password which is similar to a shared secret used by other web containers.

  3. Go to the following directory:


    /var/opt/SUNWam/fm/federation/users
  4. Create a file that contains the UrlAccessAgent encrypted password.


    # vi UrlAccessAgent.properties
    password=BeUPgddAimR404ivWY6HPQ==
    

    Save the file.

  5. Restart the Federation Manager 1 server.


    # /opt/SUNWwbsvr/https-FederationManager-1.siroe.com
    # ./stop; ./start

ProcedureTo Create the UrlAccessAgent.properties File on Federation Manager 2

  1. Log into the Federation Manager 2 host.

  2. Generate an encrypted password:


    # /opt/SUNWam/fm/bin/ampassword  -i /var/opt/SUNWam/fm/war_staging --hash 11111111
    BeUPgddAimR404ivWY6HPQ==

    Make note of this encrypted password. You will use this password as the UrlAccessAgent encrypted password which is similar to a shared secret used by other web containers.

  3. Go to the following directory:


    /var/opt/SUNWam/fm/federation/users
  4. Create a file that contains the UrlAccessAgent encrypted password.


    # vi UrlAccessAgent.properties
    password=BeUPgddAimR404ivWY6HPQ==
    

    Save the file.

  5. Restart the Federation Manager 2 server.


    # /opt/SUNWwbsvr/https-FederationManager-2.siroe.com
    # ./stop; ./start