SSOFI Release / Download

SSOFI is an Identity Server. Users log into this one server, and then any number of applications can then confirm that user's identity in a safe, secure way without requiring the user to enter a password in any more than one place.

Release Notes

Find more information at: SSOFI on GitHub

Installing SSOFI Provider

You install the ssofi.war like any normal WAR file into a TomCat or JBoss. There is only one setting you need to think about before, and that is where you want all of the data files to be. The data files consist of:

The location of all these files in in a single configuration file called WEB-INF/ found in the WAR file. The default location is /opt/SSOFI_Sessions. If you are OK with that default location there is nothing you have to change in the WAR file. Just install into TomCat or JBoss. Or you can change this setting in the WAR file to put the data in a different location.


All of these are found in the /opt/SSOFI_Sessions/config.txt. This location is the default location for the file, but if you placed the data folder in a different location, look for the file there.

You must pick an authStyle from the following two:

You must configure the baseURL is the address of the server FROM THE USER perspective. If you are working through a firewall or reverse proxy which change the address, then set here the EXTERNAL view of that address. Include slash on end.

Set the rootURL to the URL base address of the application as seen on this actual server. This setting is necessary to recognize OpenID values when you have a proxy configured to rewrite URL addresses. If you don't have a proxy then this will be the same as baseURL. Include slash on end.

if sessionFolder is set, then the session information will be stored in files in that folder. For cluster, set this folder to be a shared drive This is an optional setting.

Set the logged in session duration with sessionDurationSeconds. This sets the duration of the cookie sent to the browser in seconds. 2500000 is about 1 month. If you use this value, users of a particular browser on a particular computer who do not log out, will enjoy automatic continuous access to the authenticated applications, and they will be forced to log in at least once every month.

On public facing hosts use a Captcha to avoid a lot of robot manipulation. captchaPublicKey & captchaPrivateKey.

These 10 settings are for LDAP usage



The only known value for this is com.sun.jndi.ldap.LdapCtxFactory


This is the LDAP url to use to specify the host and the port that the directory server is running on.

Different versions of the LDAP support different types of authentication. The LDAP v2 defines three types of authentication: anonymous, simple (clear-text password), and Kerberos v4. The LDAP v3 supports anonymous, simple, and SASL authentication. SASL is the Simple Authentication and Security Layer (RFC 2222). It specifies a challenge-response protocol in which data is exchanged between the client and the server for the purposes of authentication and establishment of a security layer on which to carry out subsequent communication. By using SASL, the LDAP can support any type of authentication agreed upon by the LDAP client and server.

For SSOFI the only viable mode is 'simple' where a username and password are passed to the directory server for authenticating.

Specifies the name of the user/program doing the authentication and depends on the value of the property. This is the userid that SSOFI will use to access the server, and so a user must be specified here that has access to the users who are to be authenticated.

Specify the password for the user in


When searching for users, it will search from this point through all the subtree below this point. Use this to limite the scope of the search to relevant users.

Specify the field to use for the user id. This is normally 'uid' but it can be other things depending uponn the way the directory server was configured.

Specify the field that holds the first name, or given name, for the person. Usually the X.500 standard 'givenName'

Specify the field that holds the surname for the person. Usually the X.500 standard 'sn'

Specify the field that holds the email address of the person. Usually the X.500 standard 'mail'