Contenues dans
Trouver plus de documentationRessources d'assistance comprises | Télécharger cet ouvrage au format PDF (820 Ko)
Access Manager 7.1 Patch ReleasesThe latest revisions of the Access Manager 7.1 patches are available for download from SunSolve Online: http://sunsolve.sun.com. The most recent patch IDs are:
Note – Access Manager 7.1 patches are cumulative. You can install the latest patch without first installing an earlier patch. However, if you did not install an earlier patch, review the new features and issues in the earlier patch sections to determine if any of the features and issues apply to your deployment. Information about Access Manager 7.1 patches includes: Sun Alerts. Occasionally, Sun releases Alerts for Access Manager 7.1. Consider periodically checking SunSolve (http://sunsolve.sun.com/) to determine if there are any Sun Alerts that affect your deployment. Sun Java System LDAP JDK PatchesSun provides the following LDAP JDK patches for security and performance related fixes:
Check SunSolve (http://sunsolve.sun.com/) for the latest version of these patches. For more information, see Sun Alert http://sunsolve.sun.com/search/document.do?assetkey=1-26-242246-1. Note – For most deployments, Sun recommends that you apply the latest version of these patches. However, in the following situations, these patches are required:
Access Manager 7.1 Patch 3Access Manager 7.1 patch 3 fixes a number of problems, as listed in the README file included with the patch. Patch 3 also includes changes and known issues: New Features and Changes in Access Manager 7.1 Patch 3
Sun Java System LDAP JDK Patches are AvailableCheck the Sun Java System LDAP JDK Patches section to determine if you need to apply these patches. Running the updateschema Script is RequiredBeginning with patch 3 (and any subsequent patches unless specifically noted), you must run the updateschema.sh script on Solaris and Linux systems or the updateschema.pl script on Windows. The updateschema script updates the Sun Java System Directory Server schema with any new attributes required by the patch. Requirements for the updateschema.sh or updateschema.pl script include:
Access Manager 7.1 WAR File Deployment To locate the updateschema script:
For an Access Manager 7.1 WAR file deployment, run the updateschema script after you add the patch. The script prompts you for paths to the following items:
Access Manager 7.1 Installer (Package-Based) Deployment After you unzip the patchID.zip file, the updateschema.sh or updateschema.bat script is in the patchID directory, where patchID is 126356-03, 126357-03, 126358-03, or 126359-03, depending on your platform. For an Access Manager 7.1 installer (package-based) deployment, run the updateschema script after you add the patch. The script prompts you for the same Directory Server information as requested for a WAR file deployment. Limitation is Removed for Creation of Data Store Authentication Module Instance in Legacy ModePatch 3 removes the limitation for Creation of Data Store authentication module instance fails in Legacy mode (6764919). In patch 2, the amadmin user was prevented from logging in to any authentication module other than the Data Store and Application authentication modules. CR 6811036 in patch 3 removes this restriction, but at the same time re-implements the original security fix to protect the authentication for the amadmin user, which is considered as a special or “internal” user. An internal user such as amadmin must first authenticate internally to the OpenSSO configuration data store before it can authenticate to any authentication module. Hence you can login as amadmin to any authentication module only if you can first successfully authenticate to the configuration data store. Note. Due to CR 6811036, if you log in as amadmin to the Access Manager Admin Console and provide an incorrect password, the “Your authentication module is denied' message will be displayed instead of “Authentication Failed” (which was displayed prior to patch 2). Backward Compatibility Issue Between Access Manager 7.1 and amclientsdk.jar is FixedPatch 3 fixes the Backward compatibility issue between Access Manager 7.1 and amclientsdk.jar File (6754863). If you apply patch 3, the workaround documented for patch 2 is not needed. Sun Java Web Console 3.1 Patches Are RequiredThe fix for CR 6804294 requires that the following Java Web Console 3.1 patches be applied:
These patches are available on SunSolve (http://sunsolve.sun.com/). New Property Prevents Sessions From Being Destroyed After Session UpgradeFor a Distributed Authentication UI server deployment, Access Manager 7.1 patch 3 (CR 6700722) includes the new com.sun.identity.authentication.destroySessionAfterUpgrade property to prevent old sessions from being destroyed after a session upgrade. Values for this property can be:
Note. This new property applies only to a Distributed Authentication UI server and not to Access Manager 7.1 server. To prevent sessions from being destroyed after a session upgrade:
New Property Allows SSO Token Restriction Other Than an IP AddressAccess Manager 7.1 patch 3 (CR 6496155) includes the new com.iplanet.dpro.session.dnRestrictionOnly property to enforce the DN as the SSO token restriction rather then the IP address in cross-domain single sign-on (CDSSO) deployments and cookie-hijacking prevention mode. Values for this property can be:
Note: Older agents that use amclientsdk.jar from Access Manager 7 2005Q4 patch 5 and earlier should not set this property to true. To require Access Manager 7.1 server to enforce that an agent send the DN as the SSO token restriction:
Distributed Authentication UI Server Works With Basic AuthenticationAn Access Manager 7.1 patch 3 Distributed Authentication UI server now works with basic authentication (CR 6754852). SecurID Authentication Support is Added for Linux SystemsAccess Manager 7.1 patch 3 includes support for the SecurID authentication module on Linux systems (CR 6767780). (SecurID authentication support is also available on Solaris SPARC systems and on Solaris x86 systems since patch 2.) Known Issues in Access Manager 7.1 Patch 3
Single WAR Access Manager Deployment Cannot Use https Protocol Handler (6810092)If Access Manager 7.1 patch 3 is deployed from a single WAR file, the https protocol handler cannot be used. Workaround. None. If config Directory Path on Windows Contains a Space, Patch 3 updateschema.pl Fails (6852463)If Access Manager 7.1 patch 3 is deployed from a single WAR file on Windows, running the updateschma.pl script fails if the path to the config directory contains a space. For example: c:\Documents and Settings\Administrator\AMConfig Workaround. In the updateschema.pl file, add a double quote (") around the filename path in the following lines and then rerun the script: $XMLFILE="$AM_ETCDIR/add_cert_org_serverconfig.xml"; $XMLFILE="$AM_ETCDIR/add_cert_org.xml"; $XMLFILE="$AM_ETCDIR/add_choice_none_org.xml"; $XMLFILE="$AM_ETCDIR/add_choice_none_org_serverconfig.xml"; $XMLFILE="$AM_ETCDIR/add_delegation_default_SubjectIdType.xml"; $XMLFILE="$AM_ETCDIR/add_auth_attr.xml"; For example: $XMLFILE="\"$AM_ETCDIR/add_cert_org_serverconfig.xml\""; $XMLFILE="\"$AM_ETCDIR/add_cert_org.xml\""; $XMLFILE="\"$AM_ETCDIR/add_choice_none_org.xml\""; $XMLFILE="\"$AM_ETCDIR/add_choice_none_org_serverconfig.xml\""; $XMLFILE="\"$AM_ETCDIR/add_delegation_default_SubjectIdType.xml\""; $XMLFILE="\"$AM_ETCDIR/add_auth_attr.xml\""; Entry 1 Hard-coded Path Should be Removed from Patch 3 updateschema.pl Script on Windows (6852467)If Access Manager 7.1 patch 3 is deployed from a single WAR file on Windows, running the updateschma.pl script fails because the path to the tools directory is hard-coded. Workaround. Remove /amAdminTools from the following line of the updateschema.pl file and then rerun the script: $AM_ADMIN_CMD="$WAR_TOOLS_DIR/amAdminTools/$DEPLOY_URI/bin/amadmin.bat"; Access Manager 7.1 Patch 2Note – Considerations for patch 2 include:
Access Manager 7.1 patch 2 fixes a number of problems, as listed in the README file included with the patch. Patch 2 also includes these changes:
Access Manager 7.1 on WebLogic Server requires new ldapjdk.jar File (6774634)Sun provides a new ldapjdk.jar file that includes security and performance related fixes for Access Manager 7.1 patch 2. However, the Sun ldapjdk.jar won't be effective on WebLogic Server because weblogic.jar bundles an older ldapjdk.jar file. Workaround. Put the Sun ldapjdk.jar ahead of weblogic.jar in the CLASSPATH, as follows:
Creation of Data Store authentication module instance fails in Legacy mode (6764919)If you install Access Manager 7.1 patch 2 in Legacy mode and you create a Data Store authentication module instance in the Console, an error occurs while the module instance is created. Note: This problem applies only to Access Manager 7.1 patch 2 and previous releases. Workaround for Access Manager 7.1 in Legacy Mode. On systems running Access Manager 7.1 in Legacy Mode, in Directory Server, add the sunRegisteredServiceName attribute to the Data Store service and set the sunAMAuthDataStoreAuthLevel attribute to the minimum value (zero), to ensure the creation of the Data Store authentication module instance. For example, using ldapmodify: ldapmodify -D "cn=Directory Manager" -w dm-password -h ds-host -p ds-port dn: ds-rootdn changetype: modify add: sunRegisteredServiceName sunRegisteredServiceName: sunAMAuthDataStoreService ldapmodify -D "cn=Directory Manager" -w dm-password -h ds-host -p ds-port dn: ou=default,ou=OrganizationConfig,ou=1.0,ou=sunAMAuthDataStoreService,ou=services, ds-rootdn changetype: modify add: sunkeyvalue sunkeyvalue: sunAMAuthDataStoreAuthLevel=0 Sub-realm administrator can log in as amadmin in root realm (6761627)If Access Manager 7.1 is installed in Realm mode and a sub-realm administrator creates another amadmin user in the sub realm, the second amadmin can also log in to the root (top-level) realm. Access Manager 7.1 patch 2 fixes this problem. As the consequence of this fix, amadmin can log in to the Console using this URL: http://amhost.example.com:port/amserver/UI/Login?module=DataStore New com.sun.identity.appendSessionCookieInURL property (6740071)The new com.sun.identity.appendSessionCookieInURL property determines whether Access Manager appends the session cookie to the URL for zero page authentication. Set this property to false to prevent Access Manager from appending the session cookie to the URL. For example, if an application is filtering incoming URLs for special characters for security reasons and a cookie contains a special character, then access is denied The default value is true (cookie is appended). Backward compatibility issue between Access Manager 7.1 and amclientsdk.jar File (6754863)A backward compatibility issue exists between Access Manager 7.1 (all patch levels) and the amclientsdk.jar bundled with the policy agent 2.2 Hotpatch 5 and 7. Workaround. If Access Manager 7.1 does not have cookie hijacking prevention enabled, add the following property to the policy agent AMAgent.properties file: com.sun.identity.enableUniqueSSOTokenCookie=false Note: If Access Manager 7.1 does have cookie hijacking prevention enabled, this workaround will not work. Access Manager JAR files should include version number in MANIFEST.MF file (6693152)Access Manager JAR files now have the version and build timestamp added to the MANIFEST.MF file. For example: Specification-Version: "7.1" Implementation-Version: "AM_7.1_20080917:05:27:19" Security permission is missing for CRL validation (6673538)Certificate-based authentication is not working if it is configured with Certificate Revocation list (CRL) checking. Workaround. For an existing Access Manager instance, add the following security permission to the web container server policy file and then restart the web container: permission java.security.SecurityPermission "getProperty.ocsp.*"; For Sun Java System Application Server and IBM WebSphere Application Server, the security policy file is server.policy. For BEA WebLogic Server, the file is weblogic.policy. For new Access Manager instances, the respective web container amconfig script has been revised to add this security permission to the security policy file. SecurID authentication is supported on Solaris x86 systems (6621802)SecurID authentication is now supported on Solaris x86 systems (as well as on Solaris SPARC systems). Access Manager Key Provider needs option to use types other than JKS format (6603228)The default Key Provider implementation (JKSKeyProvider) uses JKS format. Access Manager now includes the following new configuration property that allows the keystore type to be changed. For example, for PKCS12 format: com.sun.identity.saml.xmlsig.storetype=PKCS12 To use this new property, add it the AMConfig.properties file and restart the Access Manager web container. Delegation privileges cannot be defined for a filtered role (6486843)If you create a new filtered role, it does not appear under the Privileges tab in the Admin Console. Workaround. After you apply patch 2, follow these steps to update the Delegation Service (sunAMDelegationService) in the Directory Server schema:
Now, when you log in to the Administration Console, the filtered role will appear under the Privileges tab. Persistent cookie support is added (6600325)Persistent cookie support is added for Access Manager session cookies if:
Access Manager 7.1 Patch 1Access Manager 7.1 patch 1 fixes a number of problems, as listed in the README file included with the patch. Patch 1 also includes the following new features and known issues:
Support for specific application idle session timeout valuesPatch 1 allows different applications to have different session idle timeout values. In an enterprise, some applications might require session idle timeout values that are less than the session idle time out specified in the session service. For example, you have specified session the idle timeout value in the session service as 30 minutes, but an HR application should timeout if a user has been idle for more than 10 minutes. This feature is not currently supported for Distributed Authentication and Cross Domain Single Sign-on scenarios Requirements to use this feature are:
To use this feature:
For example, consider a policy http://host.sample.com/hr/*, with this Authentication Scheme Condition:
If there are multiple policies defined to protect resources of the HR application, you must add the Condition to all of the policies. When a user in a distinct session attempts to access the HR application protected by the Access Manager agent, that user is prompted to authenticate for the LDAP scheme (if the user is not yet authenticated). If the user has already authenticated to the LDAP scheme, that user is allowed access only if the time is less than 10 minutes since the time the last authentication or if the time is less than 10 minutes since that user's last access time to the HR application. Otherwise, the user is prompted to authenticate to the LDAP scheme again to access the application. The Idle Session Timeout for a realm is configured for the highest value required by all applications. Shorter Idle Session Timeout requirements are enforced by the Policy Condition protecting the appropriate applications. However, if you define explicit "deny" policies to protect the application, it would break this protection. This is because the new the new Condition extends the idle timeout for the application, assuming that the access to the application is allowed if this Condition is satisfied. If the other "deny" policy is satisfied, the user can not access the application. Application idle timeout of value 0 is treated as Integer.MAX_VALUE for the purposes of idle timeout enforcement. Web Proxy Agent 2.2-01 in CDSSO mode does not work with Access Manager 7.1 Patch 1 (CR 6611841)The Web Proxy Agent 2.2-01 in Cross Domain Single Sign-on mode does not work with Access Manager 7.1 Patch . The agentRootURL requirement was added as a security measure to ensure that CDC is handing off ssotoken cookie to trusted agents running at known URLs. Workaround
Distributed Auth UI does not work with a WebSphere Application Server 5.1.1.12 server (CR 6625928)In Patch 1, the Distributed Authentication user interface does not work with a WebSphere Application Server 5.1.1.12 server. Password file exposed in a temporary directory after Patch 1 re-deployment (CR 6640377)After Access Manager Patch 1 applied to Access Manager 7.1 and re-deployed, several/tmp directories are created. In one of them, the permissions are incorrectly set so that the sun_ad_dirmgrpasswd is readable. These directories are automatically deleted when the deployment is completed, but they are exposed for a matter of time before hand. This is a potential security risk. Workaround Before re-deploying the patch, set umask 077. The files will then be created with the correct permissions. LDAP Failover not working properly (CR 6611627)LDAP failover does not work if the primary LDAP failover server is set to SSL and the secondary server is set to non-SSL. There is no workaround at this time. amconfig does not tag-swap and re-register the monitoring framework descriptor (CR 6636710)When Patch 1 is applied to a full Access Manager installation using the amconfig script to redeploy all of the web applications, amconfig does not tag swap the monitoring framework descriptor. As a result, the monitoring framework description at $CONFIG_DIR/com.sun.cmm.am.xml only contains tags. Workaround Back up the monitoring framework descriptor (Solaris locatoin is /etc/opt/SUNWam/config/com.sun.cmn.am.xml, Linux location is /etc/opt/sun/identity/config/com.sun.am.xml) before applying the patch. Once the patch is applied, replace the patched file with the original file in the same location. amtune does not work if installed in a non-default directory (CR6640673)The amtune script will not work if installed in a non-default directory. This occurs on all platforms. The script is defaulting to the LDAP installation directory when the package is not found on the system. Workaround Modify the amtune-directory so that LDAP_DIR points to the DSEE base directory: DSADMIN=$LDAP_DIR/ds6/bin/dsadm amtune does not delete the world readable password file (CR 6640672)The amtune script does not delete the password file after it completes. The file should be deleted after the completion of the script. Workaround Modify the set DSADMIN_PASSFILE attribute, or any directory that only the root user can read, in the amtune-env file before running the amtune script. For example: DSADMIN_PASSFILE=/var/tmp/dspassfile amtune should set thread pool size at 3 times the number of CPUs or cores for CMT servers (CR 6631123)The optimal size of Access Manager's notification thread pool size (com.iplanet.am.notification.threadpool.size in AMConfig.properties) was 3 times the number of CPU's where Access Manager is deployed or the number of cores in cases of CMT servers like Niagara I and II (Sun Fire T1000/2000 and T5120/T5220 servers). The current amtune-identity sets the maximum number of thread pools at 28 regardless of number of CPU's and calculates the optimal value based on the available amount of memory. Workaround Increase the value in the com.iplanet.am.notification.threadpool.size property in AMConfig.properties by three times the number of CPU's or cores in cases of CMT servers (e.g., T1000/T2000 or T5210/T5220 servers), overriding the recommended values by amtune-identity script. amsfo.pl does not work for Windows (CR 6629189)For Access Manager Patch 1 for Windows, the amsfo.pl script does not work properly. There is no workaround at this time. Not able to deploy WAR file generated by patch.bat if -l option is used for Windows (CR 6636474)If you are deploying the WAR file using patch.bat, do not use the -l option as it will cause errors and fail to deploy. amserveradmin.bat throwing errors for Access Manager 7.1 Patch for Windows (CR 6631526)Executing the amserveradmin.bat batch file produces the following error message:
This is because after reconfiguring, tokens in this file are not getting tag swapped. Workaround In the amserveradmin.bat.template, set the value for AM_DIR to AM_DIR=c:\sun\identity. Rename the template file to amserveradmin.bat. amsfo.pl script does not work for Session Failover in a Single War deployment for Windows (CR 6646519)In a single WAR deployment for Windows, the session failover script, amsfo.pl, fails to start the amsessiondb client. In order to fix this, perform all of the steps described in the following workaround. Workaround
Access Manager classpath not pointing to xml.sec.jar in Patch 1 for Windows (CR 6644461)In Access Manager Patch 1 for Windows, the Access Manager classpath is not pointing to the patched version of the xmlsec.jar. Workaround Copy jes-install-dir\identity\lib\xmlsec.jar to jes-install-dir\share\lib\xmlsec.jar. Post authentication plug-in supports Microsoft SharePoint (CR 6541695)The Access Manager post-authentication plug-in (ReplayPasswd.java) has been modified in this patch release to read the com.sun.am.sharepoint_login_attr_name=sharepoint-login-value property. The value of this property indicates the user token that SharePoint uses for authentication. For example, if “login” is the LDAP attribute that is mapped in both the places (Access Manager and SharePoint), then the property should be com.sun.am.sharepoint_login_attr_name=login. The post-authentication plug-in will read this property and retrieve the corresponding value from Directory Server. It will then replace this value as a session property. The IIS6 authentication plug-in is modified to read this new property and set authorization headers for Sharepoint to work. Retrieving schema from Active Directory data store fails (CR 6542686)Access Manager 7.1 would not successfully retrieve the schema if you are using the Active Directory datastore. Installing patch 1 will fix this issue. To incorporate the fix, load the am_remote_ad_schema.ldif file. This file is located at /etc/opt/SUNWam/config/ldif for Solaris systems, /etc/opt/sun/identity/config/ldif for Linux systems, and \identity\config\ldif for Windows systems. Access Manager supports the JDK 1.5 HttpURLConnection setReadTimeout method (CR 6536635)To support the setReadTimeout method, the AMConfig.properties file has the following new property for you to set the read timeout value: com.sun.identity.url.readTimeout If the web container is using JDK 1.5, set this property to an appropriate value to cause connections to time out, in order to avoid having too many open HttpURLConnections that might cause the server to hang. The default is 30000 milliseconds (30 seconds). The setReadTimeout method is ignored if com.sun.identity.url.readTimeout is not present in the AMConfig.properties file or is set to an empty string. saml samples will not work if the saml module instance is created with lower case name "saml" (CR 6648342)If a SAML instance is created with the name "saml", the amSAML authentication fails and the sample will not work. G11n: CLI commands amhasetup and amserver are not localized (CR 6567135)For EMEA locales, the amhasetup and amserver command line utilities return unlocalized output. For other languages, the output is localized. G11n: The User sub-tab incorrectly translated in French language (CR 6633529)After you have created a user in the User sub-tab of the Realm tab in the French language, the edited user message is incorrectly displayed as Modification de Utilisateur. Web Security Service Issues Fixed6543625 — UserName token authentication can authenticate against a configured LDAP moduleThe UserName token authentication is able to authenticate against a configured LDAP module. In previous releases, the UserName token authentication could only use the Access Manager file-based authentication realm. 6543626 — SOAPRequestHandler returns the SSOToken set in the SubjectSOAPRequestHandler now returns the SSOToken set in the Subject, in addition to X509 or UserName token that was used for authentication. The SSOToken is in the format usable to the PolicyEvaluator API. 6544177 — When using X509 token with an invalid certificate AM always accepts the cert even without root CAWhen using X509 token with an invalid certificate, Access Manager always accepts the certificate, despite the fact that the root CA is not in the Keystore. this problem has been fixed. 6559603 — Boolean configuration flag for "request" signingA web service user can now choose boolean configuration for SOAP request signing. 6543620 Access Manager Policy Agent profiles able to apply a digital signature to the service request for UserName tokenAccess Manager Policy Agent profiles can apply a digital signature to the service request and the service response. In previous releases, digital signature could be used only in case when X509 token is included into SOAP message for authentication. 6543623 Access Manager Policy Agent profiles able to encrypt SOAP request body and SOAP response bodyAccess Manager Policy Agent profiles are now able to encrypt SOAP request body and SOAP response body. 6570021 Encryption supports SOAP messages with extra spaces.Access Manager now supports the encryption of SOAP message with extra spaces and new lines between XML elements of SOAP message. It is common to see SOAP messages with extra spaces and new lines inserted for better readability. Removed ACIs that cause unnecessary performance degradation (CR 6484947)The amtune script has been changed to enhance the performance of AM 7.1 by removing unnecessary ACI checks. You must run amtune after the patch installation to remove the ACIs. 6.3–based console online help not displayed win Application Server 8.2 (CR 6587213)If you have installed Access Manager from the Java ES 5 update 1, and have it deployed with Application Server 8.2, the Access Manager console online help will not display. This only occurs in the 6.3–based Access Manager console, accessed by /amconsole. Multiple passwords not required for amtune scriptIn Access Manager 7.1 Patch 1 you do not need to enter multiple passwords when executing individual amtune scripts. Only the wrapper amtune script which calls individual scripts needs multiple passwords. For instance, amtune-os and amtune-identity do not require any password. amtune-directory requires only Directory Manager password, while amtune-ws6, -ws7 and -as8 require the corresponding web container admin passwords. amtune-os will not run in local zoneamtune-os will not run if the wrapper amtune script is run in a local zone on Solaris 10, or higher, but other individual amtune scripts will still run. Pre-Installation ConsiderationsReview the following section before applying the patch. Installing and Configuring Access ManagerThe Access Manager patches described in this document do not install Access Manager. Before you install the patch, Access Manager 7.1 must be installed on the server. For information about installation for Sun Java Enterprise System 5, see following documents:
For information about installation for Sun Java Enterprise System 5 Update 1, see following documents: You should also be familiar with running the amconfig script to deploy, re-deploy, and configure Access Manager, as described in the Chapter 2, Running the Access Manager amconfig Script, in Sun Java System Access Manager 7.1 Postinstallation Guide. For a list of the Access Manager patches that are made obsolete by this patch and any patches that you must install before you install this patch, refer to the README file included with this patch. Access Manager patches (as with any other patches) should be tested on a staging or pre-deployment system before you put them into a production environment. Also, the patch installer might not update your customized JSP files properly, so you might need to make manual changes in these files in order for Access Manager to function properly. Patch Installation InstructionsNote – Beginning with patch 3 (and any subsequent patches unless specifically noted), you must run the updateschema.sh script on Solaris and Linux systems or the updateschema.pl script on Windows. The updateschema script updates the Sun Java System Directory Server schema with any new attributes required by the patch. For more information see Running the updateschema Script is Required. Patch Installation Instructions For Solaris SystemsBefore you install the Solaris patch, make sure that you have backed up the files listed in Pre-Installation Considerations. To add and remove patches on Solaris systems, use the patchadd and patchrm commands, which are provided with the OS. patchadd Command Use the patchadd command to install a patch on a standalone system. For example: # patchadd /var/spool/patch/126356-03 Note – If you are installing the Solaris patch on a Solaris 10 global zone, invoke the patchadd command with the -G argument. For example: patchadd -G /var/spool/patch/126356-03 The postpatch script displays a message about redeploying the Access Manager applications, except on a system that has only the Access Manager SDK component installed. The postpatch script creates the amsilent file in the following directory:
AccessManager-base is the base installation directory. The default base installation directory is /opt on Solaris systems and /opt/sun on Linux systems. The amsilent is based on the amsamplesilent file, but with some required parameters set according to the Access Manager configuration files on the system. The password parameters, however, contain default values. Uncomment and modify the value of each password parameter and carefully check values of other parameters in this file, as needed for your deployment. The COMMON_DEPLOY_URI parameter, the URI prefix for the common domain web application, also contains a default value. If you have chosen a non-default value for this URI, make sure to update this value. Otherwise, the redeployment of the web applications with amconfig and the patch generated amsilent file will fail. Then, run the following command (shown with Access Manager installed in the default directory): # cd /opt/SUNWam/bin # ./amconfig -s /opt/SUNWam/amsilent The amsilent file contains sensitive data such as administrator passwords in plain text, so make sure you secure the file as appropriate for your deployment. patchrm Command Use the patchrm command to remove a patch from a standalone system. For example: # patchrm 126356-03 The backout script displays a message similar to the patchadd command, except on a system that has only the Access Manager SDK component installed. After the patch is removed, redeploy the Access Manager applications using the amsilent file in the AccessManager-base/SUNWam directory, where AccessManager-base is the base installation directory. The default base installation directory is /opt on Solaris systems. Set the parameters in the amsilent file, as needed for your deployment. Then, run the following command, which is shown with Access Manager installed in the default directory on Solaris systems: # cd /opt/SUNWam/bin # ./amconfig -s /opt/SUNWam/amsilent For additional information and examples about the patchadd and patchrm commands, see the appropriate Solaris man pages. Solaris 10 ZonesThe Solaris 10 operating system introduced the new concept of “zones.” Consequently, the patchadd command includes the new -G option, which adds a patch only to the global zone. By default, the patchadd command looks for the SUNW_PKG_ALLZONES variable in the pkginfo of packages to be patched. However, for all Access Manager packages, the SUNW_PKG_ALLZONES variable is not set, and the -G option is required if Access Manager 7.1 is installed in the global zone. If Access Manager is installed in a local zone, the patchadd -G option has no effect. If you are installing Access Manager 7.1 patches on a Solaris system, it is recommended that you use the -G option. For example: # patchadd -G AM7_patch_dir Similarly, if Access Manager is installed in the global zone, the -G option is required to run the patchrm command. For example: # patchrm -G 126356-03 Patch Installation Instructions For Linux SystemsBefore you install the Linux patch, make sure that you have backed up the files listed in Pre-Installation Considerations. The installpatch installs a patch on a standalone Linux system. For example: # ./installpatch The postpatch script prints messages similar to the messages on a Solaris system. However, the procedure to back out a patch on a Linux system is different than on a Solaris system. There is no generic script to back out a Linux patch. If a lower version of the patch was previously installed, you can re-install that version and then follow the postpatch instructions to redeploy the Access Manager applications by running the amconfig script. If the patch is installed on the Access Manager 7.1 RTM release and you want to remove the patch and restore the system to the RTM state, you must reinstall the Access Manager RTM bits using the reinstallRTM script. This script takes the path where the Access Manager RTM RPMs are stored and installs the RTM RPMs over the patched RPMs. For example: # ./scripts/reinstallRTM path_of_AM71_RTM_RPM_directory After you run the reinstallRTM script, redeploy the Access Manager applications by running the amconfig script and the restart the web container. Patch Installation Instructions For Windows SystemsThe requirements to install the Windows patch include:
Installing the Windows PatchBefore you install the Windows patch, make sure that you have backed up the files listed in Pre-Installation Considerations. In the base directory path for input to the patch scripts, use a forward slash (/). For example: c:/sun To install the Windows patch:
Note – If Access Manager is deployed to Web Server 7.0, make sure that Web Server administration server is up and running Backing Out the Windows PatchTo back out the Windows patch:
Access Manager 7.1 Patch 1 Single WAR DeploymentNote – Sun provides patch functionality for Access Manager 7.1 WAR deployments on all platforms in patch 140504, which is available on http://sunsolve.sun.com/. See the patch README file for more information. (For consistency with other Access Manager 7.1 patches, “02” is the first release of this patch.) This section describes new features, installation instructions and known problems for Access Manager 7.1 patch 1 single WAR deployment. New Container Versions SupportedThe Access Manager 7.1 patch 1 now supports the following containers:
The version of Access Manager single web-application (WAR) supported on these containers is located in zip_install_directory/applications/jdk14. zip_install_directory is the directory to which you downloaded the .ZIP file for the WAR. Note – Even though WebLogic 9.2 is compatible with Sun's JDK version 1.5_04, not all of the classes required by Access Manager are present. Access Manager single web-application, when deployed from zip_install_directory/applications/jdk15, will result in exceptions thrown of missing classes. The deployment succeeds and the console is accessible, but this causes issues with the clients. In general, zip_install_directory/applications/jdk14 should be used for non-Sun or third party containers, even if their run time environment is JDK 1.5.x. Considerations for Single WAR Deployment with WebSphere 6.1After you obtain the Access Manager 7.1 patch 1 single WAR, see Adding Access Manager Permissions to the Server Policy File in Sun Java System Access Manager 7.1 Postinstallation Guide for information on configuring the permissions to the server policy file for the web container on which Access Manager will be deployed. In addition to the policy changes, follow the steps described in Deploying an Access Manager 7.1 WAR File in IBM WebSphere Application Server in Sun Java System Access Manager 7.1 Postinstallation Guide. Considerations for Single WAR Deployment with Weblogic 9.2For BEA WebLogic Server 9.2, the following JVM property needs to be added in the BEA WebLogic Server instance start script, startWebLogic.sh: JAVA_OPTIONS= "-Djavax.xml.soap.MessageFactory=com.sun.xml. messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl" After you obtain the Access Manager 7.1 patch 1 single WAR, see Adding Access Manager Permissions to the Server Policy File in Sun Java System Access Manager 7.1 Postinstallation Guide for information on configuring the permissions to the server policy file for the web container on which Access Manager will be deployed. Applying Patch 1 for Single WAR DeploymentThe application of patch 1 is required if you already have an RTM version of the Access Manager single web-application deployed and wish to redeploy the Access Manager patch 1 web application. If there is no prior deployment of Access Manager, then Access Manager single web-application (WAR) provided under the zip_install_dir/applications directory can be used. The patch is provided in a separate directory, zip_install_dir/patch. In this directory, there is a README provided with instructions on running the patch utility. The patch utility and related files provided in the ZIP file are only for applying the patch to Access Manager single web-application downloaded from the SUN's download site. This patch will not operate with the Access Manager single WAR web-application generated by using the Java Enterprise Systems 5 “Configure Later” option with DEPLOY_LEVEL=10. After you have successfully applied the patch, copy the following property in the configured instance's AMConfig.properties file and then restart the container: com.sun.identity.url.readTimeout=30000 This patch does not support the patch application to the JavaEE SDK Access Manager WAR file. Known Issues with Patch 1 WAR DeploymentThis section lists the known issues with the Access Manager 7.1 patch 1 WAR deployment. Modifying SAML source ID in WAR deployment for Access Manager 7.1 Patch 1 (CR 6582972)This issue will only occur when you already have a RTM version of Access Manager single web-application deployed and would now want to redeploy Access Manager patch 1 web-application. After you have successfully un-deployed the RTM version of Access Manager and redeployed the patch 1 version of Access Manager, follow the steps outlined under the "Workaround" section. If you are deploying Access Manager patch 1 web-application without any prior installation of Access Manager in your environment, then the outlined workaround is not required. Additionally, this workaround is applicable only when using SAML v.1. Workaround
amAdmin from amAdminTools.zip Single WAR does not work with IBM JDK WebSphere 6.1 (CR 6618861)Currently there is no support to run Access Manager's CLI tools with a non-Sun JDK. |
||