Name
cfauthenticate
Synopsis
<cfauthenticate>
Authenticates a user within a given security context.
Attributes
-
securitycontext="security_context" The name of the security context to authenticate the user within. Required. Security contexts are defined in the ColdFusion Administrator.
-
username="username" The name of the user being authenticated. Required.
-
password="password" The password of the user being authenticated. Required.
-
authtype="Basic|x509" The authentication type to use.
Basicspecifies a username/password whilex509specifies an x509 client certificate passed via SSL. Optional. The default isBasic.-
setcookie="Yes|No" If set to
Yes, ColdFusion sets an encrypted cookie on the user’s browser that contains the username, security context, browser’s remote address, and HTTP user agent. Optional. The default is Yes.-
throwonfailure="Yes|No" Determines if ColdFusion should throw an exception if authentication fails. Optional. The default is
Yes.