Template files

The template files describe colours, fonts and other configuration information related to the visual appearance of login screens. A CSS file is then created based on the template parameters and that is later used when presenting the login screens.

Default Template

The default template used in Ubisecure Server
# /WEB-INF/template/default/default.properties
#css cant be defined as empty if @import = sso6 is used(backward compatibility)

javascript =
css =
logo = Ubisecure_logo.png
logolink = http://www.Ubisecure.com/
logoalt = Ubisecure
title = Ubisecure Single Sign-On

defaultlocale = en
locales = en
localenames = English

# if autosubmit != true then autosubmit will not be used at all.
# Only set this to false for testing purposes. In production only use the value "true".
autosubmit = true

# autocomplete defines the if the HTML FORM entries can be automatically completed or not
autocomplete = true

# otpinputtype defines if OTP passwords will be hidden or shown on the screen when they are entered
# Values: text (shown), password (hidden)
otpinputtype = text

# Select which page elements will be shown by defining them either "true" or "false".
showlogo = true
showlocales = true
showexit = true
showintro = true
showhelp = true
showmenustepup = false
showlegal = true

#

# Select if you want to present the external authentication methods using buttons (false) or logo
# images (true). If logo images are used they need to be defined separately for each external
# authentication method and each locale that is in use.
usemethodlogoimages = false

# Select if you want to include also text links below the logo images for external authentication
# methods. "true" means to include also the text links. "false" means that only images are used.
# Note that this property has no effect unless "usemethodlogoimages" property has been set to
# "true".
usemethodtextlink = true

# Select if you want to use grouping for the external authentication methods. "true" means that
# grouping will be used and "false" means that grouping is not used. When grouping is used only
# those external authentication methods that have been assigned to a group will be shown.
usemethodgroups = false

# Method hiding rules. This property defines the file where authentication method hiding rules
# can be found. By default there are no authentication method hiding rules.
# methodhidingrules = methodhidingrules.properties

# Select the HTTP URL where the default landing page button takes user
landingpageexitlink = http://www.Ubisecure.com

# Set if autocomplete is set to on in forms of SSO login page and Password application
# Possible values: true, false
autocomplete = true

@BACKGROUND_URL@ = body.png
@BACKGROUND_POSITION@ = left top
@BACKGROUND_REPEAT@ = repeat-x

@VIEW_HORIZ_ALIGN@ = center
@VIEW_VERT_ALIGN@ = middle

@PAGE_WIDTH@ = 850px

@LOCALES_FLOAT@ = left
@LOCALES_COLOR@ = darkgrey
@LOCALES_FONT_FAMILY@ = Verdana,Arial,Helvetica,"Bitstream Vera Sans",sans-serif
@LOCALES_FONT_SIZE@ = 8pt

@EXIT_FLOAT@ = right
@EXIT_COLOR@ = #FF3300
@EXIT_FONT_FAMILY@ = Verdana,Arial,Helvetica,"Bitstream Vera Sans",sans-serif
@EXIT_FONT_SIZE@ = 8pt

@GENERAL_FLOAT@ = left

@SIGNIN_FLOAT@ = right

@LOGIN_WIDTH@ = 411px
@LOGIN_MARGIN_LEFT@ = 0px
@LOGIN_MARGIN_RIGHT@ = 0px
@LOGIN_BACKGROUND@ = #f4f4f4
@LOGIN_BORDER_STYLE@ = solid
@LOGIN_BORDER_WIDTH@ = 1px
@LOGIN_COLOR@ = black
@LOGIN_FONT_FAMILY@ = Verdana,Arial,Helvetica,"Bitstream Vera Sans",sans-serif
@LOGIN_FONT_SIZE@ = 13pt
@LOGIN_FONT_WEIGHT@ = normal

@LOGIN_TITLE_BACKGROUND@ = #005077
@LOGIN_TITLE_COLOR@ = white
@LOGIN_TITLE_FONT_SIZE@ = 10pt
@LOGIN_TITLE_FONT_WEIGHT@ = bold

@LOGIN_NOTE_FONT_SIZE@ = 8pt
@LOGIN_NOTE_FONT_WEIGHT@ = normal

@LOGIN_ITEM_FONT_SIZE@ = 13pt
@LOGIN_ITEM_FONT_WEIGHT@ = normal

@LOGIN_ITEM_HEADING_FONT_SIZE@ = 13pt
@LOGIN_ITEM_HEADING_FONT_WEIGHT@ = normal

@LOGIN_ITEM_LABEL_FONT_SIZE@ = 11pt
@LOGIN_ITEM_LABEL_FONT_WEIGHT@ = normal

@LOGIN_ERROR_BACKGROUND@ = yellow
@LOGIN_ERROR_COLOR@ = red
@LOGIN_ERROR_FONT_SIZE@ = 10pt
@LOGIN_ERROR_FONT_WEIGHT@ = bold

@LOGIN_FORM_BUTTON_FONT_SIZE@ = 13px

@LOGIN_LINK_COLOR@ = blue
@LOGIN_LINK_FONT_SIZE@ = 10pt
@LOGIN_LINK_FONT_WEIGHT@ = normal

@LOGIN_LOGO_MARGIN_LEFT@ = 5px
@LOGIN_LOGO_MARGIN_RIGHT@ = 5px
@LOGIN_LOGO_FONT_SIZE@ = 9px
@LOGIN_LOGO_HEIGHT@ = 88px
@LOGIN_LOGO_IMAGE_HEIGHT@ = 75px

@LOGIN_GROUP_TEXT_ALIGN@ = left
@LOGIN_GROUP_FONT_SIZE@ = 10px
@LOGIN_GROUP_BORDER_STYLE@ = solid
@LOGIN_GROUP_BORDER_WIDTH@ = 1px
@LOGIN_GROUP_BORDER_COLOR@ = lightgrey

@EXTERNAL_WIDTH@ = 411px
@EXTERNAL_MARGIN_LEFT@ = 0px
@EXTERNAL_MARGIN_RIGHT@ = 0px
@EXTERNAL_BACKGROUND@ = #f4f4f4
@EXTERNAL_BORDER_STYLE@ = solid
@EXTERNAL_BORDER_WIDTH@ = 1px
@EXTERNAL_COLOR@ = black
@EXTERNAL_FONT_FAMILY@ = Verdana,Arial,Helvetica,"Bitstream Vera Sans",sans-serif
@EXTERNAL_FONT_SIZE@ = 13pt
@EXTERNAL_FONT_WEIGHT@ = normal

@EXTERNAL_TITLE_BACKGROUND@ = #005077
@EXTERNAL_TITLE_COLOR@ = white
@EXTERNAL_TITLE_FONT_SIZE@ = 10pt
@EXTERNAL_TITLE_FONT_WEIGHT@ = bold

@INTRO_WIDTH@ = 411px
@INTRO_MARGIN_LEFT@ = 0px
@INTRO_MARGIN_RIGHT@ = 0px
@INTRO_BACKGROUND@ = #f4f4f4
@INTRO_BORDER_STYLE@ = solid
@INTRO_BORDER_WIDTH@ = 1px
@INTRO_COLOR@ = black
@INTRO_FONT_FAMILY@ = Verdana,Arial,Helvetica,"Bitstream Vera Sans",sans-serif
@INTRO_FONT_SIZE@ = 13pt
@INTRO_FONT_WEIGHT@ = normal

@INTRO_TITLE_BACKGROUND@ = #005077
@INTRO_TITLE_COLOR@ = white
@INTRO_TITLE_FONT_SIZE@ = 10pt
@INTRO_TITLE_FONT_WEIGHT@ = bold

@HELP_WIDTH@ = 411px
@HELP_MARGIN_LEFT@ = 0px
@HELP_MARGIN_RIGHT@ = 0px
@HELP_BACKGROUND@ = #f4f4f4
@HELP_BORDER_STYLE@ = solid
@HELP_BORDER_WIDTH@ = 1px
@HELP_COLOR@ = black
@HELP_FONT_FAMILY@ = Verdana,Arial,Helvetica,"Bitstream Vera Sans",sans-serif
@HELP_FONT_SIZE@ = 13pt
@HELP_FONT_WEIGHT@ = normal

@HELP_TITLE_BACKGROUND@ = #005077
@HELP_TITLE_COLOR@ = white
@HELP_TITLE_FONT_SIZE@ = 10pt
@HELP_TITLE_FONT_WEIGHT@ = bold

@HELP_LINK_COLOR@ = blue
@HELP_LINK_FONT_SIZE@ = 10pt
@HELP_LINK_FONT_WEIGHT@ = normal

@FOOTER_COLOR@ = #959595
@FOOTER_FONT_FAMILY@ = Verdana,Arial,Helvetica,"Bitstream Vera Sans",sans-serif
@FOOTER_FONT_SIZE@ = 7pt
@FOOTER_FONT_WEIGHT@ = normal

iframelogout

This property defines if iframe logout is used as a logout procedure. Iframe logout is an optional method for performing Single Logout, as opposed to traditional top level logout, where browser is redirected separately to each logout service of each application, where users has accessed with SSO. In iframe logout, instead of top level redirects, a logout service call is processed in an iframe. This makes the user experience better in case a logout fails, as with top level logouts the browser redirect procedure just stops and shows a blank/failure screen. With iframe logouts the top level window can notice failed calls and show a notification about it.


Possible values: default / enabled / disabled

default → Iframe logout is enabled only for agents using Ubiticket protocol. Agents using SAML protocol use traditional top level logout

enabled → Iframe logout is enabled for all agents

disabled → Iframe logout is disabled for all agents

autocomplete

Defines if the autocomplete attribute is set to on (or off) in SSO and Password application forms. Autocomplete being on means that the browser is allowed to remember what user has entered into the same input fields previously and fill or suggest to fill the fields automatically based on the previously entered values. Note that the actual behavior on this regard depends on the browser and some browsers not necessarily obey this value.

http://www.w3.org/TR/html5/forms.html#dom-form-autocomplete

true → The value of attribute autocomplete in SSO and Password application forms is on.
false → The value of attribute autocomplete in SSO and Password application forms is off.