CINXE.COM

Sign In

<!DOCTYPE html> <html lang="en-US"> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=1"/> <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> <meta http-equiv="cache-control" content="no-cache,no-store"/> <meta http-equiv="pragma" content="no-cache"/> <meta http-equiv="expires" content="-1"/> <meta name='mswebdialog-title' content='Connecting to American University'/> <title>Sign In</title> <script type='text/javascript'> //<![CDATA[ function LoginErrors(){this.userNameFormatError = 'Enter your user ID in the format \u0026quot;domain\\user\u0026quot; or \u0026quot;user@domain\u0026quot;.'; this.passwordEmpty = 'Enter your password.'; this.passwordTooLong = 'Password is too long (\u0026gt; 128 characters).';}; var maxPasswordLength = 128; //]]> </script> <script type='text/javascript'> //<![CDATA[ // Copyright (c) Microsoft Corporation. All rights reserved. function InputUtil(errTextElementID, errDisplayElementID) { if (!errTextElementID) errTextElementID = 'errorText'; if (!errDisplayElementID) errDisplayElementID = 'error'; this.hasFocus = false; this.errLabel = document.getElementById(errTextElementID); this.errDisplay = document.getElementById(errDisplayElementID); }; InputUtil.prototype.canDisplayError = function () { return this.errLabel && this.errDisplay; } InputUtil.prototype.checkError = function () { if (!this.canDisplayError){ throw new Error ('Error element not present'); } if (this.errLabel && this.errLabel.innerHTML) { this.errDisplay.style.display = ''; var cause = this.errLabel.getAttribute('for'); if (cause) { var causeNode = document.getElementById(cause); if (causeNode && causeNode.value) { causeNode.focus(); this.hasFocus = true; } } } else { this.errDisplay.style.display = 'none'; } }; InputUtil.prototype.setInitialFocus = function (input) { if (this.hasFocus) return; var node = document.getElementById(input); if (node) { if ((/^\s*$/).test(node.value)) { node.focus(); this.hasFocus = true; } } }; InputUtil.prototype.setError = function (input, errorMsg) { if (!this.canDisplayError) { throw new Error('Error element not present'); } input.focus(); if (errorMsg) { this.errLabel.innerHTML = errorMsg; } this.errLabel.setAttribute('for', input.id); this.errDisplay.style.display = ''; }; InputUtil.makePlaceholder = function (input) { var ua = navigator.userAgent; if (ua != null && (ua.match(/MSIE 9.0/) != null || ua.match(/MSIE 8.0/) != null || ua.match(/MSIE 7.0/) != null)) { var node = document.getElementById(input); if (node) { var placeholder = node.getAttribute("placeholder"); if (placeholder != null && placeholder != '') { var label = document.createElement('input'); label.type = "text"; label.value = placeholder; label.readOnly = true; label.style.position = 'absolute'; label.style.borderColor = 'transparent'; label.className = node.className + ' hint'; label.tabIndex = -1; label.onfocus = function () { this.nextSibling.focus(); }; node.style.position = 'relative'; node.parentNode.style.position = 'relative'; node.parentNode.insertBefore(label, node); node.onkeyup = function () { InputUtil.showHint(this); }; node.onblur = function () { InputUtil.showHint(this); }; node.style.background = 'transparent'; node.setAttribute("placeholder", ""); InputUtil.showHint(node); } } } }; InputUtil.focus = function (inputField) { var node = document.getElementById(inputField); if (node) node.focus(); }; InputUtil.hasClass = function(node, clsName) { return node.className.match(new RegExp('(\\s|^)' + clsName + '(\\s|$)')); }; InputUtil.addClass = function(node, clsName) { if (!this.hasClass(node, clsName)) node.className += " " + clsName; }; InputUtil.removeClass = function(node, clsName) { if (this.hasClass(node, clsName)) { var reg = new RegExp('(\\s|^)' + clsName + '(\\s|$)'); node.className = node.className.replace(reg, ' '); } }; InputUtil.showHint = function (node, gotFocus) { if (node.value && node.value != '') { node.previousSibling.style.display = 'none'; } else { node.previousSibling.style.display = ''; } }; InputUtil.updatePlaceholder = function (input, placeholderText) { var node = document.getElementById(input); if (node) { var ua = navigator.userAgent; if (ua != null && (ua.match(/MSIE 9.0/) != null || ua.match(/MSIE 8.0/) != null || ua.match(/MSIE 7.0/) != null)) { var label = node.previousSibling; if (label != null) { label.value = placeholderText; } } else { node.placeholder = placeholderText; } } }; //]]> </script> <link rel="stylesheet" type="text/css" href="/adfs/portal/css/style.css?id=54F35E413FC1BE56A652E04CF583ADCE01C0A0E0EA4E87924B37CEF2B14885AC" /><style>.illustrationClass {background-image:url(/adfs/portal/illustration/illustration.png?id=183128A3C941EDE3D9199FA37D6AA90E0A7DFE101B37D10B4FEDA0CF35E11AFD);}</style> </head> <body dir="ltr" class="body"> <div id="noScript" style="position:static; width:100%; height:100%; z-index:100"> <h1>JavaScript required</h1> <p>JavaScript is required. This web browser does not support JavaScript or JavaScript in this web browser is not enabled.</p> <p>To find out if your web browser supports JavaScript or to enable JavaScript, see web browser help.</p> </div> <script type="text/javascript" language="JavaScript"> document.getElementById("noScript").style.display = "none"; </script> <div id="fullPage"> <div id="brandingWrapper" class="float"> <div id="branding"></div> </div> <div id="contentWrapper" class="float"> <div id="content"> <div id="header"> <h4>American University</h4> </div> <main> <div id="workArea"> <div id="authArea" class="groupMargin"> <div id="loginArea"> <div id="loginMessage" class="groupMargin">Sign in</div> <form method="post" id="loginForm" autocomplete="off" novalidate="novalidate" onKeyPress="if (event && event.keyCode == 13) Login.submitLoginRequest();" action="/adfs/ls?version=1.0&action=signin&realm=urn%3AAppProxy%3Acom&appRealm=52cb6f1e-377e-e911-a2e6-0050568b529f&returnUrl=https%3A%2F%2Fmyau.american.edu%2F&client-request-id=FA1A8306-8A68-0001-32A8-26FA688ADB01" > <div id="error" class="fieldMargin error smallText"> <span id="errorText" for="" aria-live="assertive" role="alert"></span> </div> <div id="formsAuthenticationArea"> <div id="userNameArea"> <label id="userNameInputLabel" for="userNameInput" class="hidden">User Account</label> <input id="userNameInput" name="UserName" type="email" value="" tabindex="1" class="text fullWidth" spellcheck="false" placeholder="someone@example.com" autocomplete="off"/> </div> <div id="passwordArea"> <label id="passwordInputLabel" for="passwordInput" class="hidden">Password</label> <input id="passwordInput" name="Password" type="password" tabindex="2" class="text fullWidth" placeholder="Password" autocomplete="off"/> </div> <div id="kmsiArea" style="display:none"> <input type="checkbox" name="Kmsi" id="kmsiInput" value="true" tabindex="3" /> <label for="kmsiInput">Keep me signed in</label> </div> <div id="submissionArea" class="submitMargin"> <span id="submitButton" class="submit" tabindex="4" role="button" onKeyPress="if (event && event.keyCode == 32) Login.submitLoginRequest();" onclick="return Login.submitLoginRequest();">Sign in</span> </div> </div> <input id="optionForms" type="hidden" name="AuthMethod" value="FormsAuthentication"/> </form> <div id="authOptions"> <form id="options" method="post" action="https://auadfs.american.edu:443/adfs/ls?version=1.0&action=signin&realm=urn%3AAppProxy%3Acom&appRealm=52cb6f1e-377e-e911-a2e6-0050568b529f&returnUrl=https%3A%2F%2Fmyau.american.edu%2F&client-request-id=FA1A8306-8A68-0001-32A8-26FA688ADB01"> <script type="text/javascript"> function SelectOption(option) { var w = document.getElementById('waitingWheelDiv'); if(w) w.style.display = 'inline'; var i = document.getElementById('optionSelection'); i.value = option; document.forms['options'].submit(); return false; } </script> <input id="optionSelection" type="hidden" name="AuthMethod" /> <input id="userNameInputOptionsHolder" name="UserName" value="" type="hidden"/> <div id='authOptionLinks' class='groupMargin'><div id="waitingWheelDiv" style="display: none;"><div id="WaitingWheel"> <!-- NOTE: This style portion is identical to cookie pull page, they are not in shared css file because of legacy dependancies for custom themes--> <!-- CSS for small "waiting" wheel --> <style> #floatingCirclesG { position: relative; width: 125px; height: 125px; margin: auto; transform: scale(0.4); -o-transform: scale(0.4); -ms-transform: scale(0.4); -webkit-transform: scale(0.4); -moz-transform: scale(0.4); } .f_circleG { position: absolute; height: 22px; width: 22px; border-radius: 12px; -o-border-radius: 12px; -ms-border-radius: 12px; -webkit-border-radius: 12px; -moz-border-radius: 12px; animation-name: f_fadeG; -o-animation-name: f_fadeG; -ms-animation-name: f_fadeG; -webkit-animation-name: f_fadeG; -moz-animation-name: f_fadeG; animation-duration: 1.2s; -o-animation-duration: 1.2s; -ms-animation-duration: 1.2s; -webkit-animation-duration: 1.2s; -moz-animation-duration: 1.2s; animation-iteration-count: infinite; -o-animation-iteration-count: infinite; -ms-animation-iteration-count: infinite; -webkit-animation-iteration-count: infinite; -moz-animation-iteration-count: infinite; animation-direction: normal; -o-animation-direction: normal; -ms-animation-direction: normal; -webkit-animation-direction: normal; -moz-animation-direction: normal; } #frotateG_01 { left: 0; top: 51px; animation-delay: 0.45s; -o-animation-delay: 0.45s; -ms-animation-delay: 0.45s; -webkit-animation-delay: 0.45s; -moz-animation-delay: 0.45s; } #frotateG_02 { left: 15px; top: 15px; animation-delay: 0.6s; -o-animation-delay: 0.6s; -ms-animation-delay: 0.6s; -webkit-animation-delay: 0.6s; -moz-animation-delay: 0.6s; } #frotateG_03 { left: 51px; top: 0; animation-delay: 0.75s; -o-animation-delay: 0.75s; -ms-animation-delay: 0.75s; -webkit-animation-delay: 0.75s; -moz-animation-delay: 0.75s; } #frotateG_04 { right: 15px; top: 15px; animation-delay: 0.9s; -o-animation-delay: 0.9s; -ms-animation-delay: 0.9s; -webkit-animation-delay: 0.9s; -moz-animation-delay: 0.9s; } #frotateG_05 { right: 0; top: 51px; animation-delay: 1.05s; -o-animation-delay: 1.05s; -ms-animation-delay: 1.05s; -webkit-animation-delay: 1.05s; -moz-animation-delay: 1.05s; } #frotateG_06 { right: 15px; bottom: 15px; animation-delay: 1.2s; -o-animation-delay: 1.2s; -ms-animation-delay: 1.2s; -webkit-animation-delay: 1.2s; -moz-animation-delay: 1.2s; } #frotateG_07 { left: 51px; bottom: 0; animation-delay: 1.35s; -o-animation-delay: 1.35s; -ms-animation-delay: 1.35s; -webkit-animation-delay: 1.35s; -moz-animation-delay: 1.35s; } #frotateG_08 { left: 15px; bottom: 15px; animation-delay: 1.5s; -o-animation-delay: 1.5s; -ms-animation-delay: 1.5s; -webkit-animation-delay: 1.5s; -moz-animation-delay: 1.5s; } @keyframes f_fadeG { 0% { background-color: rgb(47, 146, 212); } 100% { background-color: rgb(255, 255, 255); } } @-o-keyframes f_fadeG { 0% { background-color: rgb(47, 146, 212); } 100% { background-color: rgb(255, 255, 255); } } @-ms-keyframes f_fadeG { 0% { background-color: rgb(47, 146, 212); } 100% { background-color: rgb(255, 255, 255); } } @-webkit-keyframes f_fadeG { 0% { background-color: rgb(47, 146, 212); } 100% { background-color: rgb(255, 255, 255); } } @-moz-keyframes f_fadeG { 0% { background-color: rgb(47, 146, 212); } 100% { background-color: rgb(255, 255, 255); } } </style> <!-- Div containing small "waiting" wheel --> <div id="floatingCirclesG"> <div class="f_circleG" id="frotateG_01"></div> <div class="f_circleG" id="frotateG_02"></div> <div class="f_circleG" id="frotateG_03"></div> <div class="f_circleG" id="frotateG_04"></div> <div class="f_circleG" id="frotateG_05"></div> <div class="f_circleG" id="frotateG_06"></div> <div class="f_circleG" id="frotateG_07"></div> <div class="f_circleG" id="frotateG_08"></div> </div> </div></div></div> </form> </div> <div id="introduction" class="groupMargin"> <p>By using this system, you agree to abide by<BR><A href='http://www.american.edu/oit/policies/'>American University's IT Policies</A>.</p> </div> <script type="text/javascript"> //<![CDATA[ function Login() { } Login.userNameInput = 'userNameInput'; Login.passwordInput = 'passwordInput'; Login.initialize = function () { var u = new InputUtil(); u.checkError(); u.setInitialFocus(Login.userNameInput); u.setInitialFocus(Login.passwordInput); }(); Login.submitLoginRequest = function () { var u = new InputUtil(); var e = new LoginErrors(); var userName = document.getElementById(Login.userNameInput); var password = document.getElementById(Login.passwordInput); if (!userName.value || !userName.value.match('[@\\\\]')) { u.setError(userName, e.userNameFormatError); return false; } if (!password.value) { u.setError(password, e.passwordEmpty); return false; } if (password.value.length > maxPasswordLength) { u.setError(password, e.passwordTooLong); return false; } document.forms['loginForm'].submit(); return false; }; InputUtil.makePlaceholder(Login.userNameInput); InputUtil.makePlaceholder(Login.passwordInput); //]]> </script> </div> </div> </div> </main> <div id="footerPlaceholder"></div> </div> <footer id="footer"> <div id="footerLinks" class="floatReverse"> <div><span id="copyright">&#169; 2018 Microsoft</span></div> </div> </footer> </div> </div> <script type='text/javascript'> //<![CDATA[ // IE doesn't support "startsWith", adding definition if (!String.prototype.startsWith) { String.prototype.startsWith = function (searchString, position) { position = position || 0; return this.substr(position, searchString.length) === searchString; }; } //IE 10- doesn't support 'keys', adding definition if (!Object.keys) { Object.keys = function (obj) { var keys = []; for (var i in obj) { if (obj.hasOwnProperty(i)) { keys.push(i); } } return keys; }; } //IE 8- Trim if (typeof String.prototype.trim !== 'function') { String.prototype.trim = function () { return this.replace(/^\s+|\s+$/g, ''); } } function htmlEncode(s) { return s.replace(/&/g, '&amp;') .replace(/</g, '&lt;') .replace(/>/g, '&gt;') .replace(/'/g, '&#39;') .replace(/"/g, '&#34;'); } function validateUsername() { var usernameInput = document.getElementById('userNameInput'); if (!usernameInput) return false; var str = htmlEncode(usernameInput.value.trim().toLowerCase()); if (str.length < 2) return false; if (str.match(/^american\\/gi)) str = str.substring(9); if (str.match(/^wcl\\/gi)) str = str.substring(4); if (str.indexOf("@") < 0) str += "@american.edu"; if (str.indexOf("@student.") >= 0) str = str.replace("@student.", "@"); if (str.indexOf("@wcl.") >= 0) str = str.replace("@wcl.", "@"); if (str.indexOf("@wamu.org") >= 0) str = str.replace("@wamu.org", "@american.edu"); usernameInput.value = str; if (!usernameInput.value || !usernameInput.value.match(/@american.edu$/gi)) { var u = new InputUtil(); var e = new LoginErrors(); u.setError(usernameInput, 'Please enter your username in "username" or "username@american.edu" format.'); if (usernameInput.style.display === 'none') PaginatedBack(); return false; } return true; } function PaginatedNext() { // NOTE: You can add any custom navigation logic you want here. // Check that a username was entered correctly if (validateUsername()) { document.getElementById('userNameInput').setAttribute('readonly', true); ShowPasswordPage(); } } function PaginatedBack() { // NOTE: You can add any custom navigation logic you want here. var usernameInput = document.getElementById('userNameInput'); usernameInput.removeAttribute('readonly'); ShowUsernamePage(); usernameInput.focus(); } function AdjustElementDisplay(elementList, display) { for (var i = 0; i < elementList.length; i++) { if (elementList[i] && elementList[i].style) { elementList[i].style.display = display; } } } function GetLocalizedStringForElement(element) { // LOCALIZATION NOTE: The following table allows for the translation of the text items created // within this JavaScript. Elements created client-side are not localized by ADFS, so we must // localize the text ourselves. Admins can add additional translations to this table var translationTable = { "ms": { "backButton": "Ke belakang", "nextButton": "Seterusnya", "loginMessage": "Masukkan kata laluan" }, "gl": { "backButton": "Atrás", "nextButton": "Seguinte", "loginMessage": "Introducir contrasinal" }, "gu": { "backButton": "પાછળ", "nextButton": "આગલું", "loginMessage": "પાસવર્ડ દાખલ કરો" }, "km": { "backButton": "ថយក្រោយ", "nextButton": "បន្ទាប់", "loginMessage": "បញ្ចូលពាក្យសម្ងាត់" }, "ig": { "backButton": "Àzụ", "nextButton": "Osote", "loginMessage": "Tinye okwuntụghe" }, "uz": { "backButton": "Orqaga", "nextButton": "Keyingisi", "loginMessage": "Parolni kiriting" }, "sv": { "backButton": "Bakåt", "nextButton": "Nästa", "loginMessage": "Ange lösenord" }, "mi": { "backButton": "Hoki", "nextButton": "Panuku", "loginMessage": "Tāuru kupuhipa" }, "rw": { "backButton": "Gusubira inyuma", "nextButton": "Komeza", "loginMessage": "Andika ijambobanga" }, "lb": { "backButton": "Zréck", "nextButton": "Nächst", "loginMessage": "Passwuert aginn" }, "ku-Arab": { "backButton": "دواوە", "nextButton": "داهاتوو", "loginMessage": "لێدانی تێپەرەوشە" }, "yo": { "backButton": "Padàsẹ́yìn", "nextButton": "Tókàn", "loginMessage": "Ṣàtẹ̀wọlé ọ̀rọ̀ aṣínà" }, "am": { "backButton": "ወደኋላ", "nextButton": "ቀጣይ", "loginMessage": "የይለፍ ቃል ያስገቡ" }, "es-MX": { "backButton": "Atrás", "nextButton": "Siguiente", "loginMessage": "Escriba la contraseña" }, "ur": { "backButton": "واپس", "nextButton": "اگلا", "loginMessage": "پاس ورڈ درج کریں" }, "quc": { "backButton": "Tzalijsab\u0027al", "nextButton": "Teren chi uloq", "loginMessage": "Utz\u0027ib\u0027axik retokib\u0027al" }, "sl": { "backButton": "Nazaj", "nextButton": "Naprej", "loginMessage": "Vnesite geslo" }, "pa-Arab-PK": { "backButton": "پچھے جاؤ", "nextButton": "آگے", "loginMessage": "پاس ورڈ داخل کرو" }, "tk": { "backButton": "Yza", "nextButton": "Indiki", "loginMessage": "Parol giriz" }, "te": { "backButton": "వెనుకకు", "nextButton": "తదుపరి", "loginMessage": "పాస్‌వర్డ్‌ను నమోదు చేయండి" }, "ro": { "backButton": "Înapoi", "nextButton": "Următorul", "loginMessage": "Introduceți parola" }, "en": { "backButton": "Another User", "nextButton": "Next", "loginMessage": "Enter password" }, "zh-hans": { "backButton": "后退", "nextButton": "下一步", "loginMessage": "输入密码" }, "ha": { "backButton": "Baya", "nextButton": "Na gaba", "loginMessage": "Shigar da kalmar sirri" }, "mt": { "backButton": "Lura", "nextButton": "Li Jmiss", "loginMessage": "Daħħal il-password" }, "tn": { "backButton": "Morago", "nextButton": "Latelang", "loginMessage": "Tsenya khunololamoraba" }, "mn": { "backButton": "Буцах", "nextButton": "Дараах", "loginMessage": "Нууц үг оруулах" }, "pa-IN": { "backButton": "ਪਿੱਛੇ ਜਾਓ", "nextButton": "ਅਗਲਾ", "loginMessage": "ਪਾਸਵਰਡ ਦਾਖ਼ਲ ਕਰੋ" }, "bn-IN": { "backButton": "ফিরে যান", "nextButton": "পরবর্তী", "loginMessage": "পাসওয়ার্ড লিখুন" }, "kok": { "backButton": "फाटीं व्हरचें", "nextButton": "फुडलें", "loginMessage": "पासवर्ड नोंद करचो" }, "id": { "backButton": "Kembali", "nextButton": "Selanjutnya", "loginMessage": "Masukkan sandi" }, "bg": { "backButton": "Назад", "nextButton": "Напред", "loginMessage": "Въведете парола" }, "da": { "backButton": "Tilbage", "nextButton": "Næste", "loginMessage": "Indtast adgangskode" }, "az": { "backButton": "Geri", "nextButton": "Növbəti", "loginMessage": "Parol daxil edin" }, "mk": { "backButton": "Назад", "nextButton": "Следно", "loginMessage": "Внесете ја лозинката" }, "mr": { "backButton": "मागे", "nextButton": "पुढे", "loginMessage": "पासवर्ड प्रविष्ठ करा" }, "kk": { "backButton": "Артқа", "nextButton": "Келесі", "loginMessage": "Құпия сөзді енгізіңіз" }, "ml": { "backButton": "മടങ്ങുക", "nextButton": "അടുത്തത്", "loginMessage": "പാസ്‌വേഡ് നൽകുക" }, "xh": { "backButton": "Emva", "nextButton": "Okulandelayo", "loginMessage": "Ngenisa iphaswedi" }, "gd": { "backButton": "Air ais", "nextButton": "Air adhart", "loginMessage": "Cuir a-steach am facal-faire" }, "as": { "backButton": "পিছলৈ যাওক", "nextButton": "পৰৱৰ্তী", "loginMessage": "পাছৱৰ্ড প্ৰৱিষ্ট কৰক" }, "tr": { "backButton": "Geri", "nextButton": "İleri", "loginMessage": "Parola girin" }, "is": { "backButton": "Til baka", "nextButton": "Áfram", "loginMessage": "Færa inn aðgangsorð" }, "fa": { "backButton": "برگشت", "nextButton": "بعدی", "loginMessage": "رمز عبور را وارد کنید" }, "ga": { "backButton": "Siar", "nextButton": "Ar aghaidh", "loginMessage": "Iontráil an pasfhocal" }, "sr-Cyrl-BA": { "backButton": "Назад", "nextButton": "Даље", "loginMessage": "Унесите лозинку" }, "tg": { "backButton": "Бозгашт", "nextButton": "Навбатӣ", "loginMessage": "Паролро дохил кунед" }, "or": { "backButton": "ପଶ୍ଚ୍ୟାତ୍", "nextButton": "ପରବର୍ତ୍ତୀ", "loginMessage": "ପାସ୍‌ୱାର୍ଡ୍‌ ଏଣ୍ଟର୍‌ କରନ୍ତୁ" }, "ru": { "backButton": "Назад", "nextButton": "Далее", "loginMessage": "Введите пароль" }, "sq": { "backButton": "Prapa", "nextButton": "Tjetër", "loginMessage": "Fut fjalëkalimin" }, "he": { "backButton": "הקודם", "nextButton": "הבא", "loginMessage": "הזן סיסמה" }, "ug": { "backButton": "قايتىش", "nextButton": "كېيىنكى", "loginMessage": "پارول كىرگۈزۈڭ" }, "eu": { "backButton": "Atzera", "nextButton": "Hurrengoa", "loginMessage": "Idatzi pasahitza" }, "wo": { "backButton": "Dellu", "nextButton": "Li ci topp", "loginMessage": "Dugalal baatu-jàll bi" }, "no": { "backButton": "Tilbake", "nextButton": "Neste", "loginMessage": "Skriv inn passord" }, "es": { "backButton": "Atrás", "nextButton": "Siguiente", "loginMessage": "Escribir contraseña " }, "pt-BR": { "backButton": "Voltar", "nextButton": "Avançar", "loginMessage": "Insira a senha" }, "bn-BD": { "backButton": "ফিরুন", "nextButton": "পরবর্তী", "loginMessage": "পাসওয়ার্ড লিখুন" }, "hy": { "backButton": "Հետ", "nextButton": "Հաջորդը", "loginMessage": "Մուտքագրեք գաղտնաբառը" }, "zh-hant": { "backButton": "返回", "nextButton": "下一步", "loginMessage": "輸入密碼" }, "vi": { "backButton": "Quay lại", "nextButton": "Tiếp theo", "loginMessage": "Nhập mật khẩu" }, "sr-cyrl-RS": { "backButton": "Назад", "nextButton": "Даље", "loginMessage": "Унесите лозинку" }, "sr-Latn-RS": { "backButton": "Nazad", "nextButton": "Dalje", "loginMessage": "Unesite lozinku" }, "nl": { "backButton": "Vorige", "nextButton": "Volgende", "loginMessage": "Wachtwoord invoeren" }, "th": { "backButton": "ย้อนกลับ", "nextButton": "ถัดไป", "loginMessage": "ใส่รหัสผ่าน" }, "lt": { "backButton": "Atgal", "nextButton": "Tolyn", "loginMessage": "Įveskite slaptažodį" }, "ja": { "backButton": "戻る", "nextButton": "次へ", "loginMessage": "パスワードの入力" }, "ko": { "backButton": "뒤로", "nextButton": "다음", "loginMessage": "암호 입력" }, "it": { "backButton": "Indietro", "nextButton": "Avanti", "loginMessage": "Immettere la password" }, "el": { "backButton": "Πίσω", "nextButton": "Επόμενο", "loginMessage": "Εισαγάγετε κωδικό πρόσβασης" }, "pt-PT": { "backButton": "Anterior", "nextButton": "Seguinte", "loginMessage": "Introduzir palavra-passe" }, "kn": { "backButton": "ಹಿಂದಕ್ಕೆ", "nextButton": "ಮುಂದೆ", "loginMessage": "ಪಾಸ್‌ವರ್ಡ್ ನಮೂದಿಸಿ" }, "de": { "backButton": "Zurück", "nextButton": "Weiter", "loginMessage": "Kennwort eingeben" }, "ne": { "backButton": "पछाडि जानुहोस्", "nextButton": "अर्को", "loginMessage": "पासवर्ड प्रविष्ट गर्नुहोस्" }, "sd": { "backButton": "واپس", "nextButton": "اڳيون", "loginMessage": "پاسورڊ داخل ڪريو" }, "ky": { "backButton": "Артка", "nextButton": "Кийинки", "loginMessage": "Сырсөз киргизүү" }, "ar": { "backButton": "الخلف", "nextButton": "التالي", "loginMessage": "أدخل كلمة المرور" }, "hi": { "backButton": "वापस जाएँ", "nextButton": "अगला", "loginMessage": "पासवर्ड दर्ज करें" }, "quz": { "backButton": "Qhipa", "nextButton": "Qatiq", "loginMessage": "Kichanata qillqay" }, "ka": { "backButton": "უკან", "nextButton": "შემდეგი", "loginMessage": "შეიყვანეთ პაროლი" }, "af": { "backButton": "Terug", "nextButton": "Volgende", "loginMessage": "Voer wagwoord in" }, "et": { "backButton": "Tagasi", "nextButton": "Edasi", "loginMessage": "Sisestage parool" }, "pl": { "backButton": "Wstecz", "nextButton": "Dalej", "loginMessage": "Wprowadź hasło" }, "ta": { "backButton": "பின் செல்", "nextButton": "அடுத்து", "loginMessage": "கடவுச்சொல்லை உள்ளிடவும்" }, "prs": { "backButton": "بازگشت", "nextButton": "بعدی", "loginMessage": "رمزعبور را وارد کنید" }, "tt": { "backButton": "Артка", "nextButton": "Алга", "loginMessage": "Серсүзне кертү" }, "fr": { "backButton": "Précédent", "nextButton": "Suivant", "loginMessage": "Entrez le mot de passe" }, "be": { "backButton": "Назад", "nextButton": "Наступны", "loginMessage": "Увядзіце пароль" }, "hr": { "backButton": "Natrag", "nextButton": "Dalje", "loginMessage": "Unesite lozinku" }, "zu": { "backButton": "Emuva", "nextButton": "Okulandelayo", "loginMessage": "Faka iphasiwedi" }, "sk": { "backButton": "Späť", "nextButton": "Ďalej", "loginMessage": "Zadajte heslo" }, "bs": { "backButton": "Nazad", "nextButton": "Dalje", "loginMessage": "Unesite lozinku" }, "fi": { "backButton": "Edellinen", "nextButton": "Seuraava", "loginMessage": "Anna salasana" }, "lo": { "backButton": "ກັບຄືນ", "nextButton": "ຖັດໄປ", "loginMessage": "ໃສ່ລະຫັດຜ່ານ" }, "lv": { "backButton": "Atpakaļ", "nextButton": "Tālāk", "loginMessage": "Ievadīt paroli" }, "fil": { "backButton": "Itim", "nextButton": "Susunod", "loginMessage": "Ipasok ang password" }, "ti": { "backButton": "ድሕሪት", "nextButton": "ቀጻሊ", "loginMessage": "መሕለፊ ቃል የእትው" }, "cy": { "backButton": "Yn ôl", "nextButton": "Nesaf", "loginMessage": "Rhowch gyfrinair" }, "si": { "backButton": "ආපසු", "nextButton": "ඊළඟ", "loginMessage": "මුරපදය ඇතුළු කරන්න" }, "sw": { "backButton": "Nyuma", "nextButton": "Ifuatayo", "loginMessage": "Ingiza nywila" }, "fr-CA": { "backButton": "Précédent", "nextButton": "Suivant", "loginMessage": "Entrer le mot de passe" }, "cs": { "backButton": "Zpět", "nextButton": "Další", "loginMessage": "Zadat heslo" }, "uk": { "backButton": "Назад", "nextButton": "Далі", "loginMessage": "Введіть пароль" }, "nn-NO": { "backButton": "Tilbake", "nextButton": "Neste", "loginMessage": "Skriv inn passord" }, "nso": { "backButton": "Morago", "nextButton": "Latelago", "loginMessage": "Tsenya phasewete" }, "hu": { "backButton": "Vissza", "nextButton": "Tovább", "loginMessage": "Jelszó megadása" }, "ca": { "backButton": "Endarrere", "nextButton": "Següent", "loginMessage": "Introduïu la contrasenya" } }; var languageAndCountry = navigator.languages && navigator.languages[0] || navigator.language || navigator.userLanguage; var language = "en"; if (languageAndCountry && languageAndCountry.length >= 2) { var languageOptions = Object.keys(translationTable); // Sort the codes by length, so that we match longest first languageOptions.sort(function (a, b) { return b.length - a.length; }); for (i = 0; i < languageOptions.length; i++) { // Prefix match the longest (most specific) langauge code we can if (languageAndCountry.startsWith(languageOptions[i])) { language = languageOptions[i]; break; } } } if (!element || !element.id) { return; } var returnText = ""; returnText = translationTable["en"][element.id]; if (translationTable[language]) { returnText = translationTable[language][element.id]; } return returnText; } function ShowUsernamePage(badUsernamePassword) { var nextButton = document.getElementById('nextButton'); var idBanner = document.getElementById('identityBanner'); var idBannerImage = document.getElementById('identityBannerImage'); var backButton = document.getElementById('backButton'); var submitButton = document.getElementById('submitButton'); var passArea = document.getElementById('passwordArea'); var submissionArea = document.getElementById('submissionArea'); var username = document.getElementById('userNameArea'); var workArea = document.getElementById('workArea'); var kmsiOption = document.getElementById('kmsiArea'); var thingsToHide = [passArea, submitButton, backButton, idBannerImage, idBanner, kmsiOption]; var thingsToShow = [nextButton, username]; // Show/Hide elements AdjustElementDisplay(thingsToHide, 'none'); AdjustElementDisplay(thingsToShow, 'block'); // Set the login message to what it was originally if (loginMessage) { loginMessage.innerHTML = originalLoginMessage; } if (errorText && errorText.innerHTML && !badUsernamePassword) { errorDisplay.style.display = 'none'; } // Create the 'next' button if we don't have it yet if (submissionArea && !nextButton) { nextButton = document.createElement("a"); nextButton.id = "nextButton"; nextButton.className = "submit btn btn-lg btn-primary"; nextButton.href = "#"; nextButton.setAttribute("onclick", "PaginatedNext(); return false;"); var nextButtonText = GetLocalizedStringForElement(nextButton); nextButton.innerHTML = nextButtonText; nextButton.setAttribute("role", "button"); submissionArea.appendChild(nextButton); } if (submissionArea) { if (submissionArea.classList) submissionArea.classList.remove('submitModified'); else submissionArea.className = submissionArea.className.replace('submitModified', ''); } // Add 'enter' key listener to username textbox /*if ( usernameInput && !didAddListener ) { usernameInput.addEventListener("keydown", function(event) { if (event.keyCode === 13 || event.keyCode === 9) { event.preventDefault(); PaginatedNext(); return false; } }); didAddListener = true; }*/ } function ShowPasswordPage() { var nextButton = document.getElementById('nextButton'); var idBanner = document.getElementById('identityBanner'); var idBannerImage = document.getElementById('identityBannerImage'); var backButton = document.getElementById('backButton'); var submitButton = document.getElementById('submitButton'); var passArea = document.getElementById('passwordArea'); var submissionArea = document.getElementById('submissionArea'); var username = document.getElementById('userNameArea'); var workArea = document.getElementById('workArea'); var usernameInput = document.getElementById('userNameInput'); var passwordInput = document.getElementById('passwordInput'); var errorDisplay = document.getElementById('error'); var kmsiOption = document.getElementById('kmsiArea'); var thingsToHide = [errorDisplay, nextButton, username]; var thingsToShow = [submitButton, passArea, backButton, idBanner, idBannerImage, kmsiOption]; // Show/Hide elements AdjustElementDisplay(thingsToHide, 'none'); AdjustElementDisplay(thingsToShow, 'block'); if (loginMessage) { var loginMessageText = GetLocalizedStringForElement(loginMessage); loginMessage.innerHTML = loginMessageText; } if (idBanner) { idBanner.innerHTML = htmlEncode(usernameInput.value); } // Create the ID Banner if we need to if (workArea && !idBanner) { // Create the ID banner idBanner = document.createElement("div"); idBanner.id = "identityBanner"; idBanner.className = "identityBanner"; idBanner.innerHTML = htmlEncode(usernameInput.value); // Create the ID banner user avatar image var image = document.createElement("img"); image.role = "presentation"; image.className = "identityBannerImage"; image.id = "identityBannerImage"; // NOTE: Admins should set this source to the image host server they use. Additionally, this image should be set // based on the username entered. // image.src = "https://auth.gfx.ms/16.000.27564.3/images/picker_account_msa.svg"; image.src = "https://cloudfront.american.edu/assets/crest.svg" // Add the newly-created elements workArea.insertBefore(image, workArea.firstChild); workArea.insertBefore(idBanner, workArea.firstChild); } // Create the 'Back' button if we need to if (submissionArea && !backButton) { backButton = document.createElement("a"); backButton.id = "backButton"; backButton.className = "submit btn btn-lg btn-default"; backButton.classList.add('backButton'); backButton.href = "#"; backButton.setAttribute("onclick", "PaginatedBack(); return false;"); if (submitButton) { submitButton.classList.add('modifiedSignIn'); } var backButtonText = GetLocalizedStringForElement(backButton); backButton.innerHTML = backButtonText; backButton.setAttribute("role", "button"); submissionArea.appendChild(backButton); } if (submissionArea) { if (submissionArea.classList) submissionArea.classList.add('submitModified'); else submissionArea.className += ' submitModified'; } if (passwordInput) { passwordInput.focus(); } } function getStyle(element, styleProp) { var propStyle = null; if (element && element.currentStyle) { propStyle = element.currentStyle[styleProp]; } else if (element && window.getComputedStyle) { propStyle = document.defaultView.getComputedStyle(element, null).getPropertyValue(styleProp); } return propStyle; } var computeLoadIllustration = function () { var branding = document.getElementById("branding"); var brandingDisplay = getStyle(branding, "display"); var brandingWrapperDisplay = getStyle(document.getElementById("brandingWrapper"), "display"); if (brandingDisplay && brandingDisplay !== "none" && brandingWrapperDisplay && brandingWrapperDisplay !== "none") { var newClass = "illustrationClass"; if (branding.classList && branding.classList.add) { branding.classList.add(newClass); } else if (branding.className !== undefined) { branding.className += " " + newClass; } if (window.removeEventListener) { window.removeEventListener('load', computeLoadIllustration, false); window.removeEventListener('resize', computeLoadIllustration, false); } else if (window.detachEvent) { window.detachEvent('onload', computeLoadIllustration); window.detachEvent('onresize', computeLoadIllustration); } } }; if (window.addEventListener) { window.addEventListener('resize', computeLoadIllustration, false); window.addEventListener('load', computeLoadIllustration, false); } else if (window.attachEvent) { window.attachEvent('onresize', computeLoadIllustration); window.attachEvent('onload', computeLoadIllustration); } function calculateIllustrationImageDimensions() { var wW = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth; var wH = document.body.scrollHeight; var bgW = 1920; var bgH = 1080; var aR = bgH / bgW; var iW, iH, bPx, bPy; iH = wW * aR; if (iH < wH) { aR = wH / bgH; iH = wH; iW = bgW * aR; bPx = (iW - wW) / -2; bPy = 0; } else { iW = wW; aR = iW / bgW; var maxPy = -150 * aR; bPy = ((iH - wH) / -2) < maxPy ? maxPy : (iH - wH) / -2; bPx = 0; } /*var logo = document.getElementById('aulogo'); if (wW < 768) logo.style.display = 'none'; else logo.style.display = 'inline'; logo.style.width = 550 * aR + 'px'; logo.style.top = 75 * aR + 'px'; logo.style.left = 320 - 1/aR*150 + 'px';*/ var branding = document.getElementById('branding'); if (branding) { branding.style.backgroundSize = iW + 'px ' + iH + 'px'; branding.style.backgroundPosition = bPx + 'px ' + bPy + 'px'; branding.style.height = iH + 'px'; } document.getElementById('brandingWrapper').style.height = iH + 'px'; document.getElementById('fullPage').style.height = iH + 'px'; } function SetIllustrationImage(imageUri) { var illustrationImageClass = '.illustrationClass {background-image:url(' + imageUri + ');}'; var css = document.createElement('style'); css.type = 'text/css'; if (css.styleSheet) css.styleSheet.cssText = illustrationImageClass; else css.appendChild(document.createTextNode(illustrationImageClass)); document.getElementsByTagName("head")[0].appendChild(css); //document.getElementById('brandingWrapper').innerHTML += '<img id="aulogo" alt="American University" src="portal/images/Logo.png" style="position:absolute;top:0;left:0">'; calculateIllustrationImageDimensions(); window.onresize = function () { calculateIllustrationImageDimensions(); }; } function gup(name, url) { name = name.replace(/[\[]/, '\\\[').replace(/[\]]/, '\\\]'); var results = new RegExp('[?&]' + name + '=?([^&#]*)').exec(url || window.location.href); return results === null ? null : results[1] || true; } function removeURLParameter(url, parameter) { //prefer to use l.search if you have a location/link object var urlparts = url.split('?'); if (urlparts.length >= 2) { var prefix = encodeURIComponent(parameter) + '='; var pars = urlparts[1].split(/[&;]/g); //reverse iteration as may be destructive for (var i = pars.length; i-- > 0;) { //idiom for string.startsWith if (pars[i].lastIndexOf(prefix, 0) !== -1) { pars.splice(i, 1); } } return urlparts[0] + (pars.length > 0 ? '?' + pars.join('&') : ''); } return url; } function setPrivateCookie() { if ($('#kmsiInput:checked').length) { setCookie('AU_ADFS', $('#userNameInput').val(), 30); } else { document.cookie = "AU_ADFS=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; } } function getCookie(cname) { var name = cname + "="; var decodedCookie = decodeURIComponent(document.cookie); var ca = decodedCookie.split(';'); for (var i = 0; i < ca.length; i++) { var c = ca[i]; while (c.charAt(0) === ' ') { c = c.substring(1); } if (c.indexOf(name) === 0) { return c.substring(name.length, c.length); } } return ""; } function setCookie(cname, cvalue, exdays) { var d = new Date(); d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000)); var expires = "expires=" + d.toUTCString(); document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/"; } var jQueryLoaded = false; function loadjQuery() { if (typeof jQuery === 'undefined') { if (!jQueryLoaded) { jQLoad(); } setTimeout("loadjQuery()", 50); } else { $(document).ready(function () { loadExtras(); }); } } function jQLoad() { var jqOb = document.createElement('script'); jqOb.type = "text/javascript"; jqOb.src = "https://code.jquery.com/jquery-1.12.4.min.js"; jqOb.setAttribute("integrity", "sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ="); jqOb.setAttribute("crossorigin", "anonymous"); document.getElementsByTagName('head')[0].appendChild(jqOb); jQueryLoaded = true; } function loadExtras() { var pageHead = document.getElementsByTagName('head')[0]; /*var bstrap = document.createElement('link'); bstrap.href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css"; bstrap.setAttribute("rel","stylesheet"); bstrap.setAttribute("integrity","sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS"); bstrap.setAttribute("crossorigin", "anonymous"); pageHead.appendChild(bstrap); var popperjs = document.createElement('script'); popperjs.src = "https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js"; popperjs.setAttribute("integrity", "sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut"); popperjs.setAttribute("crossorigin", "anonymous"); pageHead.appendChild(popperjs); var bstrapjs = document.createElement('script'); bstrapjs.src = "https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js"; bstrapjs.setAttribute("integrity","sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k"); bstrapjs.setAttribute("crossorigin","anonymous"); pageHead.appendChild(bstrapjs);*/ var bstrap = document.createElement('link'); bstrap.href = "https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"; bstrap.setAttribute("rel", "stylesheet"); bstrap.setAttribute("integrity", "sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu"); bstrap.setAttribute("crossorigin", "anonymous"); pageHead.appendChild(bstrap); var bstrapjs = document.createElement('script'); bstrapjs.src = "https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"; bstrapjs.setAttribute("integrity", "sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd"); bstrapjs.setAttribute("crossorigin", "anonymous"); pageHead.appendChild(bstrapjs); var ua = navigator.userAgent.toLowerCase(); var ie11 = ua.indexOf('trident/7.0;') >= 0; //alert(ua); if (ua.indexOf('office') === -1 && ua.indexOf('msie 7.0') === -1 && !(ua.indexOf('applewebkit') >= 0 && ua.indexOf('safari') === -1)) { var clawed = document.createElement('script'); clawed.type = "text/javascript"; clawed.src = "https://cloudfront.american.edu/assets/clawedf5.js"; document.body.appendChild(clawed); $('#content').after('<div id="TMGExtras"></div>'); var extras = document.createElement('script'); extras.type = "text/javascript"; extras.src = "https://www.american.edu/customcf/TMG/TMGExtrasStatic.js?v=20240102"; document.body.appendChild(extras); var s = 'script'; var f = document.getElementsByTagName(s)[0], j = document.createElement(s); j.async = true; j.src = 'https://www.googletagmanager.com/gtag/js?id=G-4HBW92RM1Z'; f.parentNode.insertBefore(j, f); //window.dataLayer = window.dataLayer || []; //function gtag() { dataLayer.push(arguments); } //gtag('js', new Date()); //gtag('config', 'UA-10527037-9'); } else { $('#contentWrapper').css('margin', '0 auto'); $('#content').css({ 'width': '100%', 'max-width': '100%' }); $('#fullPage,#brandingWrapper').css('height', 'auto'); } $('#loginForm').addClass('form-horizontal'); $('#loginForm label.hidden').removeClass('hidden').addClass('sr-only'); $('#userNameInput, #passwordInput').attr('autocapitalize', 'off').addClass('form-control input-lg').removeAttr('tabindex').removeClass('text fullWidth'); $('#kmsiInput').removeAttr('tabindex'); $('#userNameInputLabel').html('Username'); $('#userNameInput').attr('placeholder', 'username@american.edu').focus(); //setTimeout(function(){$('#TMGExtras .collapse.in').removeClass('in').addClass('show');}, 600); $('#userNameInput').keydown(function (e) { if (e.keyCode === 13 || e.keyCode === 9) { if ($(this).val().length < 2) return; e.preventDefault(); PaginatedNext(); return false; } }); //$('#passwordArea').append('<a id="showHidePassword" href="#" title="Show password" aria-label="Show password" role="button"><span class="glyphicon glyphicon-eye-open"></span></a>'); if (!ie11) { $('#passwordInput').keyup(function (e) { if (event.getModifierState("CapsLock")) { $('#capsWarning').show(); } else { $('#capsWarning').hide(); } }); $('#passwordArea').append('<a id="showHidePassword" href="#" title="Show password" aria-label="Show password" role="button"><span class="glyphicon glyphicon-eye-open"></span></a>'); $('#showHidePassword').click(function () { $el = $('#passwordInput'); $t = $(this); if ($el.attr('type') == 'password') { $el.attr('type', 'text'); $t.attr('title', 'Hide password'); $t.attr('aria-label', 'Hide password'); } else { $el.attr('type', 'password'); $t.attr('title', 'Show password'); $t.attr('aria-label', 'Show password'); } $t.children('.glyphicon').toggleClass('glyphicon-eye-open').toggleClass('glyphicon-eye-close'); }); } $('#userNameInput, #passwordInput').blur(function () { validateUsername(); }); //$('#showHidePassword').click(function () { // $el = $('#passwordInput'); // $t = $(this); // if ($el.attr('type') == 'password') { // $el.attr('type', 'text'); // $t.attr('title', 'Hide password'); // $t.attr('aria-label', 'Hide password'); // } // else { // $el.attr('type', 'password'); // $t.attr('title', 'Show password'); // $t.attr('aria-label', 'Show password'); // } // $t.children('.glyphicon').toggleClass('glyphicon-eye-open').toggleClass('glyphicon-eye-close'); //}); var user = getCookie('AU_ADFS'); if (user) { $('#kmsiInput').prop('checked', true); $('#userNameInput').val(user); PaginatedNext(); } $('#kmsiInput').change(function () { setPrivateCookie(); }); $('span.submit').addClass('btn btn-lg btn-primary').attr('tabindex', 0); var attrs = {}; //if ($('#submitButton').length) { // $.each($('#submitButton')[0].attributes, function(idx, attr) { // attrs[attr.nodeName] = attr.nodeValue; // }); // $('#submitButton').replaceWith(function () { // return $("<a />", attrs).append($(this).contents()); // }); //} $('#kmsiArea label').html('This is a private computer'); //if (gup('wreply') && $('#signoutArea').length) $('#header p').html($('#header p').html() + '<div><a href="' + gup('wreply') + '">Sign In Again</a></div>'); } // NOTE: If you wish to support the ADFS illustration (background image), you must use the following: // PSH> Set-AdfsWebTheme -TargetName <activeTheme> -AdditionalFileResource @{uri='/adfs/portal/images/illustration_mine.png';path='.\illustration_mine.png'} //SetIllustrationImage('/adfs/portal/images/0.jpg'); var originalLoginMessage = ""; window.onload = function () { //var UAString = navigator.userAgent.toLowerCase(); //if (UAString.indexOf('microsoft office') >= 0 || UAString.indexOf('ms-office') >= 0 || UAString.indexOf('msoffice') >= 0 || UAString.indexOf('infopath') >= 0) return; var usernameInput = document.getElementById("userNameInput"); var passwordInput = document.getElementById('passwordInput'); if (usernameInput && passwordInput) { var username = document.getElementById('userNameArea'); var passArea = document.getElementById('passwordArea'); var submitButton = document.getElementById('submitButton'); var submissionArea = document.getElementById('submissionArea'); var errorText = document.getElementById('errorText'); var errorDisplay = document.getElementById('error'); var workArea = document.getElementById('workArea'); var loginMessage = document.getElementById('loginMessage'); //var originalLoginMessage = ""; //var didLoadPasswordPageBefore = false; if (errorText.innerHTML.indexOf('Incorrect user ID') >= 0) errorText.innerHTML = "You have entered an invalid username or password. Please try again."; if (loginMessage) { originalLoginMessage = loginMessage.innerHTML; } //var didAddListener = false; var errorIsShown = false; if (errorDisplay && errorDisplay.style && errorDisplay.style.display !== 'none') { errorIsShown = true; } // Show the Username page, unless a username was already entered (login hint on the request), or we have an error if (usernameInput && usernameInput.value && !errorIsShown) { ShowPasswordPage(); } else { ShowUsernamePage(errorIsShown); } } (function () { var link; if (document.querySelector) link = document.querySelector("link[rel*='icon']"); if (!link) link = document.createElement('link'); link.type = 'image/vnd.microsoft.icon'; link.rel = 'shortcut icon'; link.href = '/adfs/portal/images/au-favicon.png'; document.getElementsByTagName('head')[0].appendChild(link); })(); var changeBgImg = function () { SetIllustrationImage('/adfs/portal/images/AU' + Math.floor(Math.random() * 8) + '.jpg'); var bgChange = setTimeout(changeBgImg, 15000); }; var content = document.getElementById('fullPage'); /*var imgStr = '<img src="https://www.american.edu/customcf/TMG/i/'; var host = unescape(gup('wreply')); var patt = new RegExp(/^myau.*american.edu$/gi); if (patt.test(host)) { if (location.hostname.toLowerCase().indexOf('-dev') > 0) imgStr += 'myAU-F5-dev.png" alt="myAU Development Portal">'; else if (location.hostname.toLowerCase().indexOf('-qa') > 0) imgStr += 'myAU-F5-qa.png" alt="myAU Test Portal">'; else imgStr += 'myAU-F5.png" alt="myAU Portal">'; } else { imgStr += 'aulogo.png" alt="American University, Washington DC">'; }*/ //content.innerHTML = '<div id="auheader"><img src="/adfs/portal/images/aulogo-outline.png" alt="American University, Washington, D.C."></div>' + content.innerHTML; // + imgStr var supportedHosts = [ { name: "Office 365", pattern: new RegExp(/urn:federation:MicrosoftOnline/i) }, { name: "myAU Portal", pattern: new RegExp(/^https:\/\/myau.american.edu\//i) }, { name: "myAU QA Portal", pattern: new RegExp(/^https:\/\/myau-qa.american.edu\//i) }, { name: "myAU Development Portal", pattern: new RegExp(/^https:\/\/myau-dev.american.edu\//i) }, { name: "myAU 2019 Development Portal", pattern: new RegExp(/^https:\/\/myau-dev-2019.american.edu\//i) }, { name: "ServiceNow", pattern: new RegExp(/^https:\/\/americanuniversity.service-now.com\//i) }, { name: "ServiceNow Test", pattern: new RegExp(/^https:\/\/americanuniversitytest.service-now.com\//i) }, { name: "ServiceNow Development", pattern: new RegExp(/^https:\/\/americanuniversitydev.service-now.com\//i) }, { name: "ServiceNow Sandbox", pattern: new RegExp(/^https:\/\/americanuniversitysandbox.service-now.com\//i) }, { name: "Blackboard", pattern: new RegExp(/^https:\/\/blackboard.american.edu\//i) }, { name: "Blackboard Test", pattern: new RegExp(/^https:\/\/americansaastest.blackboard.com\//i) }, { name: "BI Microstrategy", pattern: new RegExp(/^https:\/\/bi.american.edu\//i) }, { name: "Workday", pattern: new RegExp(/^https:\/\/www.myworkday.com\//i) } ]; var wrapper = document.getElementById('contentWrapper'); var aubrand = document.createElement('div'); aubrand.id = 'aubrand'; aubrand.innerHTML = '<img src="/adfs/portal/images/aulogocrest.png" alt="American University"><h1>Sign In</h1>'; if (navigator.userAgent.indexOf('MSIE') >= 0 || navigator.userAgent.indexOf('Trident') >= 0 || navigator.userAgent.indexOf('EDGE') >= 0) wrapper.insertBefore(aubrand, wrapper.firstChild); else wrapper.prepend(aubrand); if (passArea) { var capsWarn = document.createElement('div'); capsWarn.id = 'capsWarning'; capsWarn.style.display = 'none'; capsWarn.innerHTML = '<div class="bg-warning text-warning" style="margin:5px 0;padding:5px">Caps Lock is active</div>'; passArea.appendChild(capsWarn); } //wrapper.innerHTML = '<div id="aubrand"><img src="/adfs/portal/images/aulogocrest.png" alt="American University"><h1>Sign In</h1></div>' + wrapper.innerHTML; var header = document.getElementById('header'); var signout = document.getElementById('signoutArea'); var headerTop = '<h2>'; var headerXtra = '</h2>'; var loginTitle = 'AU Sign In'; var host = gup('returnUrl'); if (!host) host = gup('wreply'); if (!host) host = gup('RelayState'); if (!host) host = gup('wtrealm'); if (!host) host = document.referrer; var loginTo = loginTitle; if (host) { host = unescape(host); for (var i = 0; i < supportedHosts.length; i++) { if (supportedHosts[i].pattern.test(host)) { loginTo = supportedHosts[i].name; headerTop = '<div>To continue to:</div><h2>'; break; } } } if (signout) { headerTop = 'Sign Out'; headerXtra += '<p>You have successfully signed out.</p>'; if (gup('wreply')) { headerXtra += '<div><a href="' + gup('wreply') + '">Sign in again</a></div>'; } else if (document.referrer && !(new RegExp(/^https:\/\/auadfs(|qa).american.edu/i).test(document.referrer))) { var rUrl = document.referrer; rUrl = removeURLParameter(rUrl, 'authToken'); rUrl = removeURLParameter(rUrl, 'client-request-id'); rUrl = rUrl.replace(/_layouts\/15\/signout.aspx/i, ''); rUrl = rUrl.replace(/logout.do/i, ''); headerXtra += '<div><a href="' + rUrl + '">Sign in again</a></div>'; } signout.style.display = 'none'; } else { headerTop += loginTo; headerXtra += '<p>Access to this site is restricted to the AU community and requires authentication. If you need assistance, please contact <a href="https://americanuniversity.service-now.com/sp" target="_blank">OIT Help and Support</a>.</p>'; } header.innerHTML = headerTop + headerXtra; document.title = loginTitle; var additionalLinks = document.getElementById('introduction'); if (additionalLinks) { var additionalLinksMarkup = '<a href="https://mypassword.global.american.edu/sspr/public/forgottenpassword">Reset an expired or forgotten password</a><div>New to AU? Create your account: <a href="https://myapps.american.edu/apps/tech/accountCreation/createAccount.cfm">Students</a> | <a href="https://myapps.american.edu/apps/tech/accountcreation/employee/">Faculty and Staff</a></div>' if (additionalLinks.innerHTML.indexOf('By using this system') === -1) additionalLinksMarkup += '<div>By using this system, you agree to abide by <a href="https://www.american.edu/oit/policies/">American University\'s IT Policies</a></div>'; additionalLinks.innerHTML = additionalLinksMarkup + additionalLinks.innerHTML; } changeBgImg(); loadjQuery(); }; //]]> </script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10