Sun Identity Manager Deployment Reference

AlphaNumeric Rules Library

The AlphaNumeric Rules Library is a default library of rules that enable you to control how numbers and letters are ordered and displayed in Identity Manager forms and workflows.


Note –

This library is displayed as the Alpha Numeric Rules library object in the Identity Manager IDE.


Inputs: See Table 4–4

You must specify the following for a custom rule:

AuthType 

EndUserRule

SubType 

Not specified 

Returns 

A list of zero or more strings. 

The following table describes rules in the AlphaNumeric Rules library.

Table 4–4 Example Alphanumeric Rules

Rule Name  

Input Variable  

Description  

AlphaCapital 

None 

Returns a list of English capital alpha characters 

AlphaLower 

None 

Returns a list of English lowercase alpha characters 

Numeric 

None 

Returns a list of numeric characters 

WhiteSpace 

None 

Returns a list of white space characters 

SpecialCharacters 

None 

Returns a list of common special characters 

legalEmailCharacters 

None 

Returns a list of legal special characters for email 

stringToChars 

testStr

Converts the given string to a list composed of the string’s individual characters 

isNumeric 

testStr

Tests to see if testStr contains all numeric characters

isAlpha 

testStr

Tests to see if testStr contains only alpha characters

hasSpecialChar 

testStr

Tests to see if testStr contains any special characters

hasWhiteSpace 

testStr

Tests to see if testStr contains any white space characters

isLegalEmail 

testStr

Tests to see if testStr consists of only legal email address characters

StripNonAlphaNumeric 

testStr

Removes any non-alpha or non-numeric characters from testStr