
17
Set up default Pega credentials for the server
Complete the following procedures to provide the default credentials that match the JBoss
specific deployment descriptors shipped with PegaRULES. This is necessary to avoid exceptions
during EJB deployment.
Edit conf\login-config.xml
1. Open the file $JBOSS_HOME/server/pega/conf/login-config.xml in a text
editor.
2. Search for '"other"' (with quotation marks)
3. Change the definition of that UsersRolesLoginModule to include the
unauthenticated identity name ”anonymous”.
Replace the login-module element with the following:
<login-module code =
"org.jboss.security.auth.spi.UsersRolesLoginModule" flag =
"required">
<module-option
name="unauthenticatedIdentity">anonymous</module-option>
</login-module>
The entire authentication element should look like the following:
<authentication>
<login-module code =
"org.jboss.security.auth.spi.UsersRolesLoginModule" flag =
"required">
<module-option
name="unauthenticatedIdentity">anonymous</module-option>
</login-module>
</authentication>
Create users.properties and roles.properties files
In order to resolve a reference to the PegaAuthUser role in the Process Commander deployment
files, you must create users.properties and roles.properties files as described in the following
procedure.
In the $JBOSS_HOME/server/pega/conf/ directory:
1. Create a text file named users.properties
2. Enter the following sample username and password pair in the file:
Komentarze do niniejszej Instrukcji