book
Article ID: CTX570566
calendar_today
Updated On:
Description
How to add a custom text / Disclaimer to the XML file of a login schema
Instructions
1 - Create a new login schema
GUI
Security > AAA > Application Traffic > Login Schema > Profiles
CLI
add authentication loginSchema test_xml_edit -authenticationSchema "/nsconfig/loginschema/test_edit.xml"
1.1 - Also create the policy for the login schema
GUI
Security > AAA > Application Traffic > Login Schema > Profiles
CLI
add authentication loginSchemaPolicy test_policy_xml edit -rule true -action test_xml_edit2 - Go to the schema's location, you can retrieve it from the show command
show authentication loginschema test_xml_edit
1) Name: test_xml_edit
Authentication Schema: /nsconfig/loginschema/test_edit.xml
Username expression:
Password expression:
SSO Credentials: NO
3 - On a SFTP session to the ADC, Go to the location (in this example: /nsconfig/loginschema/test_edit.xml), and modify this line:
<Requirement><Credential><Type>none</Type></Credential><Label><Text><b>Your text</b></Text><Type >heading</Type></Label><Input/></Requirement>
4 - After performing the change; from the CLI of the ADC use this command to re-apply the schema to the schema action, once again you can use the information from the show command.
set authentication loginSchema test_xml_edit -authenticationSchema "/nsconfig/loginschema/test_edit.xml"

After binding this login schema policy to the AAA vserver you can add the portal theme, the currenlty supported is RFwebUI, when using AAA vserver with login schema do the changes on login schema instead of in the Portal theme
Issue/Introduction
How to add a custom text or disclaimer to a login schema