|
Este artículo se tradujo de forma manual. Mueva el puntero sobre las frases del artículo para ver el texto original.
|
Traducción
Original
|
Elemento forms para authentication (Esquema de configuración de ASP.NET)
[Esta documentación se proporciona solo para fines preliminares y está sujeta a cambios en versiones posteriores. Se incluye temas en blanco como marcadores].
<forms name="name" loginUrl="URL" defaultUrl="URL" protection="[All|None|Encryption|Validation]" timeout="[MM]" path="path" requireSSL="[true|false]" slidingExpiration="[true|false]"> enableCrossAppRedirects="[true|false]" cookieless="[UseUri|UseCookies|AutoDetect|UseDeviceProfile]" domain="domain name" ticketCompatibilityMode="[Framework20|Framework40]"> <credentials>...</credentials> </forms>
Atributos
|
|
|
|---|---|
|
cookieless |
Note
UseCookies
UseUri
AutoDetect
UseDeviceProfile
|
|
defaultUrl |
|
|
domain |
|
|
enableCrossAppRedirects |
Note
True
False
|
|
loginUrl |
|
|
name |
|
|
path |
|
|
protection |
All
Encryption
None
Validation
|
|
requireSSL |
True
False
|
|
slidingExpiration |
True
False
|
|
ticketCompatibilityMode |
Framework20
Framework40
|
|
timeout |
Note
|
Elementos secundarios
|
|
|
|---|---|
|
credentials |
|
Elementos primarios
|
|
|
|---|---|
|
configuration |
|
|
system.web |
|
|
authentication |
|
Configuración predeterminada
<forms name=".ASPXAUTH" loginUrl="login.aspx" defaultUrl="default.aspx" protection="All" timeout="30" path="/" requireSSL="false" slidingExpiration="true" cookieless="UseDeviceProfile" domain="" enableCrossAppRedirects="false"> <credentials passwordFormat="SHA1" /> </forms>
<forms name=".ASPXAUTH" loginUrl="login.aspx" protection="All" timeout="30" path="/" requireSSL="false" slidingExpiration="true"> <credentials passwordFormat="SHA1"></credentials> </forms>
<forms name=".ASPXAUTH" loginUrl="login.aspx" protection="All" timeout="30" path="/" > <credentials passwordFormat="SHA1"></credentials> </forms>
<configuration>
<system.web>
<authentication mode="Forms">
<forms
name="401kApp"
loginUrl="/login.aspx"
cookieless="AutoDetect"
defaultUrl="myCustomLogin.aspx">
<credentials passwordFormat = "SHA1">
<user name="UserName"
password="07B7F3EE06F278DB966BE960E7CBBD103DF30CA6"/>
</credentials>
</forms>
</authentication>
</system.web>
</configuration>
|
|
|
|
|
|
|
|
|
|
|
|
Note