Anvil | Smiths Smiths | Register Register | Login Login |
Search:
Show links Show tools Show tree | Previous document Next document | njet.org > Anvil > Documentation > Configuration > access

access

Acccess controls access and authorization. Typically the clients are challenged with an HTTP/basic scheme that sends the passwords unencrypted over the network.

Attributes
name default description
required false Specifies whether authorization is required.
realm N/A Name of the realm used to retrieve information about the user. See realm. In order for the realm to be visible for this access preference, it should be declared in one of this preference's parents.
title N/A Informal title of the realm. This will appear in the browser's username/password dialog that is generated by an authorization challenge.
type none Type of authorization. Current possibilities are:
  • none. Specifies no authorization.
  • basic. Specifies HTTP/basic authorization scheme.
  • classname of provider implementing the interface anvil.server.Authorization. See Providers.
* * Attributes required by the custom provider.

Example:
  access:
    required = true
    type     = basic
    realm    = my_realm
    title    = SomewhatSecretArea
  end

See also  | Configuration  | Providers
Contributes notes:
Add a note
What's new | Anvil