Use the following template, modify ROOT SUFFIX to reflect that of the organization.
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved
Use is subject to license terms.
-->
<!DOCTYPE Requests
PUBLIC "-//iPlanet//Sun Java System Access Manager 2005Q4 Admin CLI DTD//EN"
"jar://com/iplanet/am/admin/cli/amAdmin.dtd"
<!-- CREATE REQUESTS -->
<Requests>
<OrganizationRequests DN="ROOT SUFFIX">
<ModifyServiceTemplate serviceName="iPlanetAMAuthService"
schemaType="Organization">
<AttributeValuePair>
<Attribute name="iplanet-am-auth-org-config" />
<Value><AttributeValuePair><Value>com.sun.identity.
authentication.modules.ldap.LDAP REQUIRED</Value><
/AttributeValuePair></Value>
</AttributeValuePair>
</ModifyServiceTemplate>
</OrganizationRequests>
</Requests>
|
Modify the following template to change the administrator's default authentication module to LDAP.
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved
Use is subject to license terms.
-->
<!DOCTYPE Requests
PUBLIC "-//iPlanet//Sun Java System Access Manager 2005Q4 Admin CLI DTD//EN"
"jar://com/iplanet/am/admin/cli/amAdmin.dtd">
<!-- CREATE REQUESTS -->
<Requests>
<OrganizationRequests DN="ROOT SUFFIX">
<ModifyServiceTemplate serviceName="iPlanetAMAuthService"
schemaType="Organization">
<AttributeValuePair>
<Attribute name="iplanet-am-auth-admin-auth-module" />
<Value>
<AttributeValuePair><Value>com.sun.identity.
authentication.modules.ldap.LDAP REQUIRED</Value><
/AttributeValuePair>
</Value>
</AttributeValuePair>
</ModifyServiceTemplate>
</OrganizationRequests>
</Requests>
|
Load the modified XML files using amadmin and the format /FederationManager-base/fm/bin/amadmin —u amadmin —w password —i war—staging—directory -t name-of-XML-file.