<CFAUTHENTICATE SECURITYCONTEXT="context"
    USERNAME="user ID"
    PASSWORD="password"
    SETCOOKIE="yes/no" 
    THROWONFAILURE="yes/no">

The CFAUTHENTICATE tag authenticates a user, setting a security context for the application. See the descriptions of the functions IsAuthenticated and AuthenticatedContext.

SECURITYCONTEXT

Required. Security context with which the specified user is authenticated. This context must have been previously defined in the security system.

USERNAME

Required. User to be authenticated.

PASSWORD

Required. Password for the user.

SETCOOKIE

Optional. Default is Yes. Indicates whether ColdFusion sets a cookie to contain authentication information. This cookie is encrypted and its contents include user name, security context, browser remote address, and the HTTP user agent.

THROWONFAILURE

Optional. Default is Yes. Indicates whether ColdFusion throws an exception (of type SECURITY) if authentication fails.