Overview

Namespaces

  • Nethgui
    • Adapter
    • Authorization
    • Component
    • Controller
      • Collection
      • Table
    • Exception
    • Log
    • Model
    • Module
      • Help
      • Notification
    • Renderer
    • Serializer
    • System
    • Test
      • Tool
      • Unit
        • Nethgui
          • Adapter
            • ParameterSet
          • Authorization
          • Log
          • Module
            • Notification
          • Renderer
          • Serializer
          • System
          • Utility
          • View
        • Test
          • Tool
    • Utility
    • View
    • Widget
      • Xhtml
  • None
  • Test
    • Tool

Classes

  • AbstractModule
  • Composite
  • CompositeModuleAttributesProvider
  • Help
  • Language
  • Login
  • Logout
  • Main
  • Menu
  • ModuleLoader
  • Notification
  • Resource
  • SimpleModuleAttributesProvider
  • SystemModuleAttributesProvider
  • Tracker

Interfaces

  • ModuleAttributesInterface
  • ModuleCompositeInterface
  • ModuleInterface
  • ModuleSetInterface
  • Overview
  • Namespace
  • Class
  • Deprecated

Class Login

Perform user authentication through the PAM module

Nethgui\Module\AbstractModule implements Nethgui\Module\ModuleInterface, Nethgui\View\ViewableInterface, Nethgui\Log\LogConsumerInterface, Nethgui\Utility\PhpConsumerInterface, Nethgui\Authorization\AuthorizationAttributesProviderInterface, Nethgui\System\PlatformConsumerInterface, Nethgui\Authorization\PolicyEnforcementPointInterface
Extended by Nethgui\Controller\AbstractController implements Nethgui\Controller\RequestHandlerInterface
Extended by Nethgui\Module\Login implements Nethgui\Utility\SessionConsumerInterface, Nethgui\Component\DependencyConsumer
Namespace: Nethgui\Module
Author: Davide Principi davide.principi@nethesis.it
Since: 1.0
Located at Module/Login.php
Methods summary
protected Nethgui\Module\ModuleAttributesInterface
# initializeAttributes( Nethgui\Module\ModuleAttributesInterface $base )

Called after a default attributes provider object is created

Called after a default attributes provider object is created

Parameters

$base
$descriptor

Returns

Nethgui\Module\ModuleAttributesInterface

See

Nethgui\Module\AbstractModule::getAttributesProvider()

Overrides

Nethgui\Module\AbstractModule::initializeAttributes()
public
# initialize( )

Overriding methods can read current state from model.

Overriding methods can read current state from model.

Overrides

Nethgui\Module\AbstractModule::initialize()
public
# bind( Nethgui\Controller\RequestInterface $request )

Put the request into the object internal state

Parameters

$request

Api

Overrides

Nethgui\Controller\AbstractController::bind()
public
# validate( Nethgui\Controller\ValidationReportInterface $report )

Validate object state

Validate object state

Errors must be sent to $report.

Api

Overrides

Nethgui\Controller\AbstractController::validate()
public
# getLocaleFromRequest( )
public
# prepareView( Nethgui\View\ViewInterface $view )

Prepare view layer data, putting it into $view.

Prepare view layer data, putting it into $view.

Parameters

$view
The view to put the data into

See

ViewInterface

Api

Overrides

Nethgui\Controller\AbstractController::prepareView()
public mixed
# nextPath( )

Get the path to the next module. Relative paths resolving is deferred to implementors.

Get the path to the next module. Relative paths resolving is deferred to implementors.

Executed after process(), the user agent is directed to the designated module.

If boolean FALSE is returned then no action takes place.

Returns

mixed
boolean FALSE, string path (absolute), array request

Api

Overrides

Nethgui\Controller\AbstractController::nextPath()
public SessionConsumerInterface
# setSession( Nethgui\Utility\SessionInterface $session )

Returns

SessionConsumerInterface
The object itself

Implementation of

Nethgui\Utility\SessionConsumerInterface::setSession()
public array
# getDependencySetters( )

The returned hash is indexed by the model class name and has a callable objects as value. Each callable is invoked with the model instance as only argument.

The returned hash is indexed by the model class name and has a callable objects as value. Each callable is invoked with the model instance as only argument.

Returns

array

Implementation of

Nethgui\Component\DependencyConsumer::getDependencySetters()
Methods inherited from Nethgui\Controller\AbstractController
__construct(), createValidator(), declareParameter(), getRequest(), getValidator(), onParametersSaved(), process(), saveParameters()
Methods inherited from Nethgui\Module\AbstractModule
asAuthorizationString(), getAttributesProvider(), getAuthorizationAttribute(), getIdentifier(), getLog(), getParent(), getPhpWrapper(), getPlatform(), getPolicyDecisionPoint(), getViewTemplate(), hasPlatform(), isInitialized(), setLog(), setParent(), setPhpWrapper(), setPlatform(), setPolicyDecisionPoint(), setViewTemplate()
Constants inherited from Nethgui\Controller\RequestHandlerInterface
ACTION_MUTATE, ACTION_QUERY
Constants inherited from Nethgui\Module\ModuleInterface
ACTION_INSTANTIATE
Properties inherited from Nethgui\Controller\AbstractController
$parameters
Nethgui Framework API documentation generated by ApiGen