A SERVICE OF

logo

WebLogic Authentication Plug-in
BEA AquaLogic Commerce Services Deployment Guide 11
WebLogic Authentication Plug-in
The WebLogic authentication plug-in allows the Storefront to authenticate against WebLogic
Server, and also allows Single Sign-On with WebLogic Server and WebLogic Portal applications
running within the same server instance.
AquaLogic Commerce Services comes pre-configured with the WebLogic authentication plug-in
already setup, so you should never have to manually set it up. However, this section provides the
steps for manually setting up the authentication plug-in for informational purposes. It should help
you to better understand the integration.
Copy the plug-in jar file
The first step is to copy the WebLogic authentication plug-in jar file
com.elasticpath.plugins.wls_authenticator-5.1.jar to the AquaLogic Commerce
Services Storefront
WEB-INF\lib folder. For example into
<BEA_HOME>\user_projects\applications\alcs\commerceApp\commerceServices
\WEB-INF\lib
.
Copy the JAAS login configuration file
Copy the file jaaslogin.config into your domain root folder. For example,
<BEA_HOME>\user_projects\domains\alcs
Set the location of the login configuration file
1. For the application to be able to find the JAAS login configuration file we need to add a
startup option.
2. Navigate to the location of your domain. For our example,
<BEA_HOME>\user_projects\domains\alcs
3. Open the “bin” directory. For our example, this will be
<BEA_HOME>\user_projects\domains\alcs\bin.
4. Open the “setDomainEnv.cmd” file found in the bin directory in a text editor.
5. Add the following option to the end of the “set JAVA_OPTIONS=%JAVA_OPTIONS%
%JAVA_PROPERTIES%” line.
Djava.security.auth.login.config==jaaslogin.config
There does need to be two equal signs in the line above, since the second equal
sign indicates that this login file should override any others.
6. Save the file and exit your text editor.
Change the user id generation mode
To allow customers to log into WebLogic Server after they change their email address, the user id
mode needs to be changed with the following steps.