String Replacement Rules For Character Profiles - Novell ACCESS MANAGER 3.1 SP2 - ACCESS GATEWAY GUIDE 2010 Manual

Access gateway guide
Hide thumbs Also See for ACCESS MANAGER 3.1 SP2 - ACCESS GATEWAY GUIDE 2010:
Table of Contents

Advertisement

[ew] to match a word element in a URL path, including words that end in a period
[oa] to match one or more alphanumeric characters
White Space Tokens: You use the [w] and the [ow] tokens to specify where white space might
occur in the string. For example:
[ow]my[w]string[w]to[w]replace[ow]
If you don't know, or don't care, whether the string has zero or more white characters at the
beginning and at the end, use [ow] to specify this. The [w] specifies exactly one white character.
Path Tokens: You use the [ep] and [ew] tokens to match path strings. The [ep] token can be used to
match the following types of paths:
Search String
/path[ep]
The [ew] token can be used to match the following types of paths:
Search String
/path[ew]
Name Tokens: You use the [oa] token to match function or parameter names that have a set string to
start the name and end the name, but the middle part of the name is a computer-generated
alphanumeric string. For example, the [oa] token can be used to match the following types of names:
Search String
javaFunction-[oa](

String Replacement Rules for Character Profiles

When you configure multiple strings for replacement, the rewriter uses the following rules for
determining how characters are replaced in strings:
String replacement is done as a single pass.
String replacement is not performed recursively. Suppose you have listed the following search
and replacement strings:
DOG
to be replaced with
A
to be replaced with
All occurrences of the string DOG are replaced with CAT, regardless of whether it is the word
DOG or the word DOGMA. Only one replacement pass occurs. The rewritten CAT is not
replaced with COT.
Because string replacement is done in one pass, the string that matches first takes precedence.
Suppose you have listed the following search and replacement strings:
Matches This String
/path
/home/path/other
Matches This String
/path.html
/home/path
Matches This String
javaFunction-1234a56()
javaFunction-a()
CAT
O
Configuring the Access Gateway to Protect Web Resources
Doesn't Match This String
/path.html
/home/pathother
Doesn't Match This String
/paths
Doesn't Match This String
javaFunction()
59

Advertisement

Table of Contents
loading

Table of Contents