Show all
You can replace
the splash screen image and other aspects of the sign-on form
with images and layout of your choosing.
This topic describes how to alter the most commonly changed
elements.
The
goal
The standard Process Commander log-in form identifies
Pegasystems Inc. and the Process Commander product in an
image.
In your setting, an image or text that identifies your
organization or the application may be more appropriate.
In addition, you can change the text or layout of the
log-in form, or change the authentication processing
performed upon log-in.
Create
an application RuleSet for guests
Process Commander presents this sign-on form to guest
requestors — users who have started the PRServlet
servlet but are not yet authenticated. The RuleSet lists of
guest users are limited to those RuleSets and versions listed
in the PegaRULES:Unauthenticated access
group.
- Create an application RuleSet to hold the additional
rules to be available to guest users. (For security
reasons, don't use an existing RuleSet that contains
other parts of your application to hold these.) For
example, you can call the new RuleSet MyCorpSplash.
- Create a RuleSet Version 01-01-01 for this
RuleSet.
- Open the access group instance named
PegaRULES:Unauthenticated. Insert
MyCorpSplash:01-01-01 into the Production
RuleSets array.
- Save the Requestor form.
- Promptly after you complete and test any log-in changes
for your application, update the RuleSet Version to secure
it with a password. This prevents accidental additions of
more rules to the RuleSet — additions that might
inappropriately become available to unauthenticated guest
users.
You may need to repeat steps
3 and 4 after your Process Commander system is upgraded or
refreshed, because the upgrade process may overwrite
Data-Admin-Requestor instances.
Save the
custom splash image as a binary file rule
The splash image is defined by the standard binary file
rule named webwb.image19.gif. This images is 600
pixels wide and 400 pixels tall.
- Using Paint, Adobe Photoshop, or any similar
workstation software of your choice, prepare a 600x400
image with colors and content of your choosing. Save the
file on your workstation in the CompuServe GIF format and
the name image19.gif.
- Sign on to Process Commander. Open the standard binary
file rule named webwb.image19.gif.
- Use the Save As toolbar button () to
make a copy of this standard rule in your new RuleSet,
version 01-01-01. Don't change the name.
- Click Upload File and navigate to upload the
custom image19.gif.
- Save the Binary File form.
- The rule containing the new image is now available to
guest users. However, your workstation Internet Explorer
cache and Process Commander's static content cache may
contain the older, standard image19.gif. To clear your
workstation cache, sign off from Process Commander, close
any Internet Explorer windows that display the image, and
choose Tools > Internet Options > General >
Temporary Internet Files > Delete.
- To clear the static content cache, select Tools
> System Management Application to start the
System Management application. You may be prompted for
authentication credentials.
- In the System Management application window, choose the
current node. Then select Advanced > ETier Static
Content Management.
- Click the Delete Rule-File and
ServiceExport
button to delete image19.gif and other binary
files from the static content cache. Process Commander
re-extracts them from the binary file rules as needed.
- Sign off and sign on again to see the updated
image.
Change
log-in form text and layout
The standard HTML rule named
@baseclass.Web-Login defines the HTML code that
presents the log-in form. You can override this to change the
layout, wording, fonts, and colors used in the form. This
procedure requires two workstations.
- Open the standard HTML rule named
@baseclass.Web-Login.
- Use the Save As toolbar button () to make a copy of
this standard rule in your new RuleSet, version 01-01-01.
Don't change the rule name.
- Alter the content of the HTML tab as desired to present the desired
text, colors, and layout. Don't alter the directives,
the <FORM> element, or the <INPUT> elements.
Don't change the activity name referenced in the
Submit button.
- Save the HTML form.
- Perform Steps 6 and 7 from a different workstation, in
case the new log-in form is incorrect and prevents anyone
from signing-on. Remain logged in on the first
workstation.
- At the second workstation, clear the Internet Explorer
cache (using Tools > Internet Options > General
> Temporary Internet Files > Delete)
- At the second workstation, enter the sign on URL to see
and test the new form.
- At the first workstation, revise the HTML rule again
until you are satisfied with the new layout and appearance,
always testing on the second workstation.
Change
authentication processing
The standard activity Code-Security.Login
defines authentication for browser-based users. Rather than
overriding this sophisticated standard activity, you can
alter the Submit button of the HTML
form to call your activity that in turn calls the standard
activity.
Use caution when developing
and testing this processing. Design or coding errors may
produce a dangerous or costly situation:
- The new authentication processing might prevent
everyone from logging in, even to restore standard
behavior.
- The new processing is defective such that guest users
can perform processing not intended for them.
- Users with invalid credentials can sign on.
Log out
form
The standard HTML rule
@baseclass.Web-Session-Return defines the
appearance of the log out form. You can override this rule to
suit local needs. The RuleSet containing your log out form
must be available to guest requestors.
User Interface category