Constants

 

Last SSO release version

VERSION = '1.0.0' 
package sso

Constants

   

Salt charset

CHARSET = SSO_CHARSET 
package sso\config
 

Absolute path of SALT framework

SALT_PATH = '...' 
package sso\config
 

Absolute path of SSO Session store path

SESSION_PATH = '...' 

We use a specific path for session files because some OS (debian and derivated : ubuntu, etc...) use a specific cron script for clean sessions, based on php.ini files. In the SSO, each user can choose the lifetime of the session, but it does not work well if OS clean session files after 30mn...

package sso\config
 

Sso charset

SSO_CHARSET = 'UTF-8' 
package sso\config
 

Client charset for database as MySQL expected it

SSO_DB_CHARSET = 'utf8' 

It's better if database and website charset are the same, but if not, we have to set here the website charset. MySQL will convert all input/output data to this charset from/to the database charset.

see for how DB charset works
see for supported charsets
package sso\config
 

Database name

SSO_DB_DATABASE = 'database' 
package sso\config
 

Database host name

SSO_DB_HOST = 'localhost' 
package sso\config
 

Database password

SSO_DB_PASS = 'password' 
package sso\config
 

Database port

SSO_DB_PORT = 3306 
package sso\config
 

Database user

SSO_DB_USER = 'root' 
package sso\config
 

Default SSO locale *

SSO_LOCALE = 'en' 
package sso\config
 

Number of elements displayed in autocomplete list

SSO_MAX_AUTOCOMPLETE_ELEMENTS = 8 
package sso\config
 

Number of elements displayed in tooltip

SSO_MAX_TOOLTIP_ELEMENTS = 5 
package sso\config
 

Number of characters required for an autocomplete search

SSO_MIN_AUTOCOMPLETE_CHARACTERS = 2 
package sso\config

Classes, interfaces, and traits

BusinessException

Business Exception class

« More »

ErrorHandler

Handle error

« More »

Locale

Initialize and set locale for SSO

« More »

Session

Session class

« More »

Sso

Sso "private" class : can be used in SSO but not in Applications

« More »

SsoAdminApi

Allow other applications to retrieve SSO data with this class if current user is SSO admin

« More »

SsoClient

Main SSO class

« More »

Constants

 

Locale for SALT

I18N_LOCALE = 'en' 
package sso\lib
 

Current locale for SSO

SSO_CURRENT_LOCALE = 'en' 
package sso\lib
 

Relative path of SSO

SSO_RELATIVE = \salt\Salt::relativePath(1) 
package sso\lib
 

SSO page title

SSO_TITLE = $titre 
package sso\lib

Classes, interfaces, and traits

SsoAdministrable

All DAO that can be modified in administration page will implement it

« More »

SsoGroupable

All DAO that can be grouped will implements it.

« More »

SsoAppli

SsoAppli

« More »

SsoAuthMethod

SsoAuthMethod

« More »

SsoCredential

SsoCredential

« More »

SsoGroup

SsoGroup

« More »

SsoGroupElement

SsoGroupElement

« More »

SsoProfil

SsoProfil class. A Profil is a container for Theme class

« More »

SsoUser

SsoUser

« More »

Classes, interfaces, and traits

SsoAuthMethodInterface

Interface for Authentication Methods

« More »

SsoAuthMethodClass

Auth method based on another class (plugin)

« More »

SsoAuthMethodDatabase

Method based on database

« More »

SsoAuthMethodLdap

Method based on LDAP

« More »

SsoAuthMethodLocal

Local method : will use SSO user table

« More »

Classes, interfaces, and traits

AuthUser

User found in an auth method

« More »

Handler

Parent class of application plugin handlers

« More »

Theme

Parent class for all themes

« More »

VisibleTheme

Parent class of all visible theme

« More »

Classes, interfaces, and traits

HiddenTheme

Class for hidden menu theme

« More »

Classes, interfaces, and traits

Classes, interfaces, and traits

MobileTheme

Theme for menu with "mobile" look

« More »

Classes, interfaces, and traits

RecommendedTheme

Recommended Theme.

« More »

Classes, interfaces, and traits

TopbarTheme

Theme for top menu bar

« More »

Classes, interfaces, and traits

SsoAppliViewHelper

ViewHelper for SsoAppli

« More »

SsoAuthMethodViewHelper

ViewHelper for AuthMethod

« More »

SsoCredentialViewHelper

ViewHelper for Credential

« More »

SsoGroupViewHelper

ViewHelper for Group class

« More »

SsoGroupableViewHelper

Parent ViewHelper class for groupable objects

« More »

SsoProfilViewHelper

ViewHelper for SsoProfil

« More »

SsoUserViewHelper

ViewHelper for SsoUser

« More »

Classes, interfaces, and traits

SsoAdmin

Parent class for all Administrable objects

« More »

SsoAppliAdmin

Class for Application admin

« More »

SsoAuthMethodAdmin

Class for Auth methods admin

« More »

SsoCredentialAdmin

Class for Credential admin

« More »

SsoGroupAdmin

Class for Group admin

« More »

SsoUserAdmin

Class for User admin

« More »