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

Providers

Anvil server user several interfaces that may be customized with different implementations.

Session containers

Interface anvil.session.SessionContainer.

anvil.session.basic.BasicSessionContainer
Simple, memory based implementation.

anvil.session.net.ServerSessionContainer
anvil.session.net.ClientSessionContainer
Distributed client-server session implementation.

Realms

Interface anvil.server.Realm.

anvil.server.simple.SimpleRealm
Simple memory based implementation. Initially contains group called "root" and user "user", with password "xxx". This realm accepts any user with password "xxx". Obviously useful during development.

anvil.server.file.FileRealm
Persistent file based implementation.

anvil.server.db.DBRealm
Persistent SQL based implementation.

anvil.server.ldap.LDAPRealm
Persistent LDAP based implementation.

Authorization

Interface anvil.server.Authorization.

anvil.server.basic.NoAuthorization
Authorization disabled.

anvil.server.basic.BasicAuthorization
HTTP Basic authorization scheme

anvil.server.simple.SimpleWebAuthorization
Login box style authorization.

Adapters

Interface anvil.server.RequestAdapter.

anvil.server.adapters.Default
Default adapter.

anvil.server.adapters.Iplanet
Adapter for IPlanet J2EE Container.

anvil.server.adapters.Resin
Adapter for Caucho's Resin.

anvil.server.adapters.Tomcat
Adapter for Jakarta Tomcat.

Namespaces

Interface anvil.server.PersistentNamespace.

anvil.server.simple.SimplePersistentNamespace
Simple memory based namespaced. Contrary to its name this implementation is not really a persistent.

anvil.server.file.PersistentFileNamespace
Persistent file based namespace implementation.

Content handlers

Interface anvil.server.ContentHandler.

anvil.server.DefaultContentHandler
Default binary content handler.

anvil.server.ScriptContentHandler
Script/template content handler.

Logging

Interface anvil.LogDevice.

anvil.server.basic.BasicLogDevice
Basic OutputStream logging device.

Connection pools

Interface anvil.database.ConnectionFactory.

anvil.server.jdbc.JDBCFactory
JDBC connection factory.

anvil.server.jndi.JNDIFactory
JNDI connection factory.

See also  | Configuration  | zone  | logging  | realm  | sessioncontainer  | access  | pool  | handlers  | namespace  | Permissions
Contributes notes:
Add a note
What's new | Anvil