Compose target-specific account IDs
Bravura Security Fabric normally applies a standard profile ID to create new IDs on individual target systems. Some target systems use different rules for case and composition. You can change Bravura Security Fabric ’s default behavior of creating lowercase login IDs by changing the plugin set by the Program to set the case of new IDs option on the page.
Bravura Security Fabric provides two built-in programs to convert the profile ID to a target-system-specific login ID:
upper.pss
– use all uppercase characters.lower.pss
– use all lowercase characters.
You can also write a customized plugin; for example, to create mixed-case IDs, or to create a numerical ID composed from a user attribute. A sample, plugin-idcase.psl
, is included in the samples directory.
To configure a target system login ID plugin, type the name of the plugin in the Program to set the case of new IDs field on the page. The full path is not required.
Requirements
See Writing plugins for general requirements.
Execution points
The plugin is called by the Transaction Monitor Service service, before running a connector to create a new account.
Input
The plugin receives all Bravura Security Fabric plugin data, including requester and recipient information, target system information, and the initial ID entered through the request.
"" "" = { "currentTemplate" = "<template ID>" # The template used for account creation (ACUA) "fullname" = "<Recipient's fullname>" "newid" = "<account ID>" # Suggested new account ID to use in creation "userid" = "<profile ID>" "operation" = "<RENU|ACUA>" # The operation involved in requesting the new account ID. "recipient" "user" = { ... } # Recipient's data "request" "" = { ... } # Request data "requester" "user" = { ... } # Requester's data #Target details "target" "" = { "address" = "<target address>" # address line of the target "platform" = "<platform ID>" # platform ID of the target "standardid" = "<true|false>" # uses standard ID for auto association "targetid" = "<target ID>" # target ID of the target } }
Output
The plugin must return a "newid" value and a standard "retval" value (0=success, 1=failure). It may return a standard "errmsg" value.
"" "" = { "errmsg" = "" "newid" = "BoBbY OrE" "retval" = "0" }
Failure to return a "newid" value results in an error.