Deployment Example 2: Federation Using SAML v2

ProcedureTo Update the Federation Manager 2 serverconfig.xml File

  1. Go to the directory that contains the file serverconfig.xml:


    # cd /var/opt/SUNWam/fm/war_staging/web-src/WEB-INF/config
  2. Make a backup of serverconfig.xml, and then modify the following entry.

    Modify the host name, port, and user DNs as in the following example:


    <ServerGroup name="userdefault" minConnPool="1" 
    				maxConnPool="10">
                    <Server name="Server1" host="LoadBalancer-8.siroe.com" 
                    port="1389" type="SIMPLE" />
                    <User name="User1" type="proxy">
                            <DirDN>
                                    uid=amadmin,ou=people,o=siroeusers.com
                            </DirDN>
                            <DirPassword>
                                    AQICGmG7l+gzO6bjmbDBve/MqicBf/zR2I+P
                            </DirPassword>
                    </User>
                    <User name="User2" type="admin">
                            <DirDN>
                                    uid=amadmin,ou=people,o=siroeusers.com
                            </DirDN>
                            <DirPassword>
                                    AQICGmG7l+gzO6bjmbDBve/MqicBf/zR2I+P
                            </DirPassword>
                    </User>
                    <BaseDN>
                            ou=people,o=siroeusers.com
                    </BaseDN>
            				</ServerGroup>

    Save the file.

  3. Regenerate the redeploy the Federation Manager 2 WAR file.

    See To Regenerate and Redeploy the Federation Manager 2 WAR File.

  4. Restart the Federation Manager web container.


    #cd /opt/SUNWwbsvr/https-FederationManager-2.siroe.com
    # ./stop
    # ./start
  5. Verify that you can access the Federation Manager 2 server.

    1. In a browser, go to the Federation Manager URL:


      http://FederationManager-2.siroe.com:8080/federation/UI/Login
    2. Log in to the Federation Manager console:

      User Name:

      amadmin

      Password:

      11111111

    If you can log in successfully, the WAR file was deployed successfully.