Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var failureMsg = "You do not have access to the Time & Attendance system. If you have any questions, please contact your local Human Resources department.";
- var customParameter; // Used for a custom request parameter
- var CompanyName = "";
- var timeout=600;
- if(userInfo.isWebClock()) //If webclock employee, then direct to webclock
- (REDIRECT_WEBCLOCK) ? results.put("action", "WebClock") : results.put("action", "ApplicationMainPage");
- else
- results.put("action", "ApplicationMainPage");
- } catch(error){
- cat.error("Unexpected error in SSO script:" + error );
- } finally {
- if(! authValid){
- cat.error("** Information does not pass validation" );
- if(defaultEmployee != ""){
- results.put("result", defaultEmployee);
- request.setAttribute("msg", failureMsg );
- results.put("action", "failureWithMsg");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement