Method | Description | |
---|---|---|
checkAdminAuthentication ( ) | The admin authentication flow, just check if the user is logged in (by looking into the session) AND has user role type 7 (currently there's only type 1 (normal user), type 2 (premium user) and 7 (admin)). | |
checkAuthentication ( ) | The normal authentication flow, just check if the user is logged in (by looking into the session). | |
checkSessionConcurrency ( ) | Detects if there is concurrent session (i.e. another user logged in with the same current user credentials), If so, then logout. |
public static checkAdminAuthentication ( ) |
public static checkAuthentication ( ) |
public static checkSessionConcurrency ( ) |