If there is no user ID or password, the code in the cflogin tag body displays a login form that asks for the user's ID and password. The form posts the login information back to the originally requested page, and the cflogin tag in the onRequestStart method or the Application.cfm page runs again. This time, the cflogin tag body code checks the user name and password against a database, LDAP directory, or other policy store , to ensure that the user is valid and get the user's roles.