HP-UX AAA Server A.08.01 administrator's guide (T1428-90072, May 2010)

Table Of Contents
Parameters
The <attr-spec> parameter is an attribute specification. For more information on
specifying attributes, see Attribute Specifications” (page 422).
Operation
Returns an integer value that indicates the number of characters in the string attribute.
For a tag-str attribute, the tag octet is not included. If <attr-spec> refers to an instance
that is not present, then a no-such-instance run-time error is generated.
The strcat Attribute Function
Syntax
strcat (<value-expr>, <value-expr>)
Parameters
The <value-expr> parameter is a value expression. It can also be a string value
specification, a string attribute specification, or an attribute function that returns string
value. For more information, seeAttribute Specifications” (page 422), “Value Types”
(page 430), and Attribute Functions” (page 424).
Operation
Returns a string value that is a concatenation of the value expressions used in the strcat
function. For a tag-str attribute, the tag octet is not included. If <value-expr> refers to an
instance that is not present, then a no-such-instance run-time error is generated.
Table 27-5 illustrates the usage of the strcat attribute function.
Table 27-5 Examples of the strcat Attribute Function
ResultCommandAttributes in the Request
Reply-Message = "123"
Reply-Message = "123456"
insert Reply-Message =
strcat (Reply-Message,
"456")
Reply-Message = "123"
Reply-Message = "123"
Tunnel-Password =
modify Tunnel-Password[0]
= strcat(
Reply-Message = "123"
Tunnel-Password =
:2:"abc" :2:"def123"
Tunnel-Password = :2:"def"
Tunnel-Password,
Reply-Message)
Tunnel-Password =
:2:"def"
Reply-Message = "123"
Tunnel-Password = :2:"abc"
insert Reply-Message =
strcat (
Reply-Message = "123"
Tunnel-Password =
:2:"abc"
Reply-Message = "bc123"
substr(Tunnel-Password
after a ),
Reply-Message)
Defining a Policy in a Decision File 425