Installing the TUPAS authentication method - SSO
Before Installation
System Requirements
- Ubisecure SSO Server
Installation according to the Installation - SSO Guide.
Required files
- ldap\methods.ldif
Configuration file from Ubisecure Server Installation directory.
Requirements for production use
- Agreement(s) with chosen bank(s) that support TUPAS authentication
- TUPAS 2 configuration parameters from bank(s)
Ubisecure Server installation pack contains TUPAS2 configuration parameters for testing.
Installation and Configuration
Installing the TUPAS 2 Authentication Method
From Ubisecure SSO 6.1 on, there are two ways to add TUPAS 2 authentication method to the Ubisecure Directory: via the Ubisecure Management user interface, or by creating tupas.ldif file manually. In older Ubisecure SSO versions, only the latter method is available.
To install TUPAS 2 authentication method with Ubisecure Management
- Log into Ubisecure Management.
- Go to Home → Global Method Settings and click the New Method... button.
- Add New Method window opens
Give the method title and name. Ensure that these reflect which bank this method is for.
From Method Type drop-down menu, select Tupas 2.
Click OK. - Repeat steps 2-3 for each bank whose Tupas 2 method you wish to add.
To install TUPAS 2 authentication method by creating tupas.ldif
file manually
- Add a TUPAS authentication object to your Ubisecure Directory with the import script from Ubisecure Server Installation.
You will either need the file methods.ldif (this file existed until Ubisecure SSO Server version 6.0.0), or methods-tupas.ldif (from Ubisecure SSO Server version 6.0.1 on). After installing Ubisecure SSO Server as instructed in the Ubisecure Server Installation Guide, this file will be in directoryÂ
c:\Program Files\ubilogin-sso\ubisecure\ldap
 (Windows environment) orÂ/usr/local/ubisecure/ldap
 (Linux environment).If you have the
methods-tupas.ldif
file, you can use it as the base file as it is. It contains fully functional test configuration for TUPAS 2 use. A sample methods-tupas.ldif file is also included in page Configuration Settings.If you have the methods.ldif file, copy the parts that contain "Tupas 2" in their labels to a new file named tupas.ldif. For example, if you are going to use all different banks for TUPAS authentication, copy the entries labelled as "Tupas 2, Nordea", "Tupas 2, OKO" and so forth for all available TUPAS 2 authentication parameters. See Listing 1 for an example of how TUPAS 2 entry for Nordea bank in the tupas.ldif file looks like.
Listing 1. Example of tupas.ldif TUPAS 2 entry (Nordea only)# Tupas 2, Nordea dn: cn=tupas.nordea.1,cn=Server,ou=System,cn=Ubilogin,dc=localhost changetype: add cn: tupas.nordea.1 objectClass: top objectClass: ubiloginAuthMethod ubiloginAuthMethodType: Tupas 2 ubiloginClassname: com.ubisecure.auth.login.Tupas2LoginModule ubiloginConfString: alg 03 ubiloginConfString: idtype 02 ubiloginConfString: keyvers 0001 ubiloginConfString: langcode FI ubiloginConfString: macKey1 LEHTI ubiloginConfString: rcvid 87654321 ubiloginConfString: url https://tupas.nordea.fi/cgi-bin/SOLO3011 ubiloginConfString: vers 0002 ubiloginEnabled: FALSE ubiloginTitle: Nordea
Choose the import script according to your platform. Execute the following commands to create the TUPAS object in the Ubisecure Directory.
Listing 2. Initializing Ubisecure Directory and TUPAS in Linuxcd /usr/local/ubisecure/ubilogin-ss/ubilogin/ldap sh openldap/linux/import.sh tupas.ldif
Listing 3. Initializing Ubisecure Directory and TUPAS in Windowscd /d "c:\Program Files\Ubisecure\ubilogin-sso\ubilogin\ldap" adam\import.cmd methods\methods-tupas.ldif
Configuring the TUPAS 2 Authentication Method
Start a session with Ubisecure Management, log in as an administrator and go straight from the top level to page "Global Method Settings". There you should now see an entry "TUPAS" for every bank you added with Ubisecure Management or by creating the .ldif file. Using information provided by your bank, set the necessary parameters in the following screens. The default parameters enable using test accounts that each bank provides.
To configure TUPAS 2 authentication method:
- Log into Ubisecure Management as an administrator.
- Select Global Method Settings.
Select a TUPAS authentication method from the Server Authentication Methods list.
The view that opens is presented in Figure 1. (The images in this page use Nordea bank TUPAS configuration as an example.) The fields of the screen are explained below the image under the expand link.Â
More options are available under Tupas 2 tab:After completing these settings, Ubisecure SSO Server is configured to use this particular TUPAS method as an authentication method. Repeat steps 2-4 for all additional TUPAS methods you wish to use.
After InstallationÂ
Configuring User and Application to Use the TUPAS Authentication Method
After installing and configuring TUPAS authentication method for the Ubisecure Server, use Ubisecure Management to configure authentication method in use for a user and an application.
The method must be enabled at three places:
- at the system level (Home → Global Method Settings)
- at the site level (Home → Site → Site Methods)
- and for each application (shown as ticked in the Application's Allowed Method tab)
For more instructions on authentication method configuration, please refer to Management user interface - SSO Guide.
Logging in for the first time with the TUPAS authentication method
The default parameters enable use of the test accounts that each bank provides. Please refer to the TUPAS documentation of each bank for what IDs and passwords are used for testing. By default, the usernames are mapped to social security code attributes provided by TUPAS.
At the time of writing, the test accounts were as follows:
BANK | USERID | PASSWORD | SECURITY CODEÂ Â Â Â |
---|---|---|---|
Aktia/SP/POP | 11111111 | 123456 | 123456 |
Handelsbanken | <not required> | <not required> | <not required> |
Nordea (Company) | 55555555 | 5555 | <not required> |
Nordea (Personal) | 123456 | 1234 | <not required> |
OKO Osuuspankki | 123456 | 7890 | <any 4 digits> |
Danske | Currently not provided | Currently not provided | Currently not provided |
S-Pankki | 12345678 | 1234 | <any 4 digits> |
Tapiola | 12345678 | 123TAP | 9999 |
Ã…landsbanken | 12345678 | 9999 | <not required> |