This interface defines the methods that classes with
SessionAttributes functionalities have to implement.
A
SessionAttributes class defines the context in which a session
is being validated. The presence and the value of certain attributes can
influence whether the access to a secured resource is authorized or
prohibited for a particular user.
For example, regular users have access to everything besides ithe
administration interface. Resources that are restricted to administrators can
for example have a
role attribute that is set to
admin . A
SessionValidator instance can detect the
presence of this attribute and act accordingly to verify if the user has the
authorities of the required role (in this case, administrator rights).
author: Geert Bevin (gbevin[remove] at uwyn dot com) version: $Revision: 3643 $ See Also: com.uwyn.rife.authentication.SessionValidator since: 1.0 |