"Error creating the Create New Authentication Source" is thrown when trying to add or edit an Authentication Source in RSA Via Lifecycle & Governance
2 years ago
Originally Published: 2016-06-21
Article Number
000049578
Applies To
RSA Product Set: RSA Via Lifecycle & Governance, Identity Management and Governance
RSA Version/Condition: 6.9.1
 
Issue
When trying to add or edit an Authentication Source in RSA Via Lifecycle & Governance you receive a popup with the following error:
 
User-added image
Cause
This has been observed when the configuration file below was corrupt or zero bytes:
/home/oracle/jboss/server/default/deploy/aveksa.ear/security.sar/META-INF/config/login-config.xml

 
Resolution
To resolve this issue,
  1. Make a backup copy of /home/oracle/jboss/server/default/deploy/aveksa.ear/security.sar/META-INF/config/login-config.xml.
  2. Then validate the contents looking for unmatched html tags or if the file contains any obvious corruption.  The default contents of the file are:
<policy>
        <application-policy name="TestAuthProvider">
                <authentication>
                        <login-module code="com.aveksa.server.authentication.TestLoginModule" flag="required">
                        </login-module>
                </authentication>
</policy>
  1. After making these edits restart our application by running:
service aveksa_server stop
service aveksa_server start