# Login screen

**URL:** <https://forum.inductiveautomation.com/t/login-screen/4265>\
**Category:** Ignition\
**Created:** [April 9, 2012, 5:37pm UTC](https://forum.inductiveautomation.com/t/login-screen/4265 "2012-04-09T17:37:19Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Jonathan](https://forum.inductiveautomation.com/u/Jonathan)\
**Post date:** [April 9, 2012, 5:37pm UTC](https://forum.inductiveautomation.com/t/login-screen/4265/1 "2012-04-09T17:37:19Z")

</div>

I have a project set to run as an applet with the applet height property set to 1864. When the login screen appears the user has to scroll down the page in order to see the username and password inputs. is there a way to get the input boxes up to the top of the applet window?

Alternatively i was thinking i could make my own login window with the input boxes up at the top of my own window. is there a way of checking credentials against the authentication profile manually?

Thank you,

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [April 9, 2012, 6:18pm UTC](https://forum.inductiveautomation.com/t/login-screen/4265/2 "2012-04-09T18:18:50Z")

</div>

You need to make your own login screen. Set your project to auto-login using guest or something. Your login window can use:`system.security.switchUser(uname, password)`to switch the user on the fly. We are adding a verify username and password function for 7.5.

---

<div class="post-metadata">

**Author:** ![Jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Jonathan](https://forum.inductiveautomation.com/u/Jonathan)\
**Post date:** [April 9, 2012, 8:49pm UTC](https://forum.inductiveautomation.com/t/login-screen/4265/3 "2012-04-09T20:49:08Z")

</div>

how do i setup an auto login, but use AD/Internal Hybrid Authentication Profile?

---

<div class="post-metadata">

**Author:** ![Robert](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@Robert](https://forum.inductiveautomation.com/u/Robert)\
**Post date:** [April 9, 2012, 9:12pm UTC](https://forum.inductiveautomation.com/t/login-screen/4265/4 "2012-04-09T21:12:37Z")

</div>

Use the failover setup.

Create an internal authentication profile with the auto login username.  
Setup the AD/Internal profile to soft failover to the above profile.  
Profit (oops got my plans mixed up)

---

<div class="post-metadata">

**Author:** ![Jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Jonathan](https://forum.inductiveautomation.com/u/Jonathan)\
**Post date:** [April 9, 2012, 9:17pm UTC](https://forum.inductiveautomation.com/t/login-screen/4265/5 "2012-04-09T21:17:08Z")

</div>

Thank you. i did not realize the hard and soft failover setting.

---

<div class="post-metadata">

**Author:** ![Kyle\_Chase](https://avatars.discourse-cdn.com/v4/letter/k/9de0a6/32.png) [@Kyle\_Chase](https://forum.inductiveautomation.com/u/Kyle_Chase)\
**Post date:** [April 9, 2012, 10:39pm UTC](https://forum.inductiveautomation.com/t/login-screen/4265/6 "2012-04-09T22:39:11Z")

</div>

> [@Travis.Cox](#):
>
> We are adding a verify username and password function for 7.5.

I think one already exists, using system.security.login(username,password) right?

---

<div class="post-metadata">

**Author:** ![Jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Jonathan](https://forum.inductiveautomation.com/u/Jonathan)\
**Post date:** [April 9, 2012, 10:40pm UTC](https://forum.inductiveautomation.com/t/login-screen/4265/7 "2012-04-09T22:40:01Z")

</div>

yes i found that on another thread and works for me.

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [May 9, 2012, 9:34pm UTC](https://forum.inductiveautomation.com/t/login-screen/4265/8 "2012-05-09T21:34:09Z")

</div>

> [@Kyle Chase](#):
>
> I think one already exists, using system.security.login(username,password) right?

Technically, this one will also swap the credentials of the running session. The new one simply checks if the user/password combo is valid or not.
