This documentation is for WSO2 Governance Registry 5.1.0. View documentation for the latest release.
||
Skip to end of metadata
Go to start of metadata

When logging in to the Publisher, non-registered users need to create a new account in order to log in. It is possible to enable or disable the option to create a new account. The login facility comes to the Publisher as an SSO application from the Enterprise Store. The sample theme that ships with the product can be customized by doing the customization in a sample directory and then specifying the theme in the jaggery.conf file. 

  1. Create a new folder with the theme name inside the <sso-app-root>/views/themes folder (for example, "sample").
  2. Add an entry to the <sso-app-root>/jaggery.conf file with "theme" as the key and "sample" as the value, as shown below:
    "theme":"sample" 
  3. Override the files in the <sso-app-root>/views folder with the relevant contents in the <sso-app-root>/views/themes/sample folder. For example, you can override the original logo in the <sso-app-root>/views/images/logo.png file with the <sso-app-root>/views/themes/sample/images/logo.png file.

    Note: Only the files inside the following folders are supported.

     <sso-app-root>/views/css/

    <sso-app-root>/views/js/

    <sso-app-root>/views/includes/

    <sso-app-root>/views/images/

     

  4. By default, the Create an account link is available. 
     
  5. Navigate to the <GREG_HOME>/repository/deployment/server/jaggeryapps/sso directory and open the jaggery.conf file. Add the "theme":"sample" entry as mentioned above.
  6. Open the <GREG_HOME>/repository/deployment/server/jaggeryapps/ssoviews/themes/sample/includes/login_links.jag file, remove the link and restart the server. 
  7. Go to the log in page. The Create an account link is disabled as shown below:
  • No labels