
Wombat::Realm - internal realm interface


This is a read-only interface for an underlying security realm used to authenticate individual users and to identify the security roles associated with those users. Realms can be attached at any Container level but will typically only be attached to an Application or higher level Container.

Return the Container associated with this Realm.
Set the Container associated with this Realm.
Parameters:
the Wombat::Container associated with this Realm

Return the Principal associated with the specified username and credentials,
if there is one,
or undef otherwise.
Parameters
username of the principal to be looked up
password or other credentials to use in authenticating this username
Return true if the specified Principal has the specified security role within the context of this Realm, or false otherwise.
Parameters:
the Servlet::Util::Principal for whom the role is to be checked
the name of the security role to be checked

Servlet::Util::Principal, Wombat::Container

Brian Moseley, bcm@maz.org