xplo.re Medusa Core Framework 3.1
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Event
  • Todo
  • Download

Namespaces

  • Core
    • Authentication
      • Auto
        • Driver
      • Driver
    • Cache
      • Driver
    • Charset
      • Driver
    • Configuration
    • Controller
    • Converter
      • Driver
    • Decoder
      • Driver
    • Encoder
      • Driver
    • Env
      • Authentication
      • Locale
      • Proxy
      • Server
        • HTTP
        • Redirect
        • X
    • Exception
    • Exchange
      • Driver
    • Field
    • Filter
      • Driver
    • Formatter
      • Driver
        • coreuimarkup
          • Token
    • Hash
    • Loader
    • Locale
    • Log
      • Driver
    • Module
      • Dependency
        • Requirement
          • Core
          • PHP
      • Linkage
        • Driver
    • PDF
    • Plugin
    • Query
      • Driver
    • Server
      • Driver
    • Session
      • Driver
    • Set
    • Storage
      • Driver
      • Field
        • Element
    • Stream
      • Driver
    • String
    • Translation
      • Driver
      • Language
        • Driver
    • URI
      • Driver
    • Version
    • View
      • Driver
        • coreui
          • Control
            • Button
            • Table
          • Element
        • htmlbuilder
          • Tags
        • yui
          • Modules
  • None
  • PHP

Classes

  • ldap
  • ldap_Token
  • sspi
  • sspi_Token
  • storage
  • storage_Token

Class sspi

Security Support Provider Interface (SSPI) authentication driver for Windows authentication providers.

Password encryption configuration is ignored and handled completely by the Windows SSPI back-end.

Core\Object implements Core\Chainable
Extended by Core\Set implements Core\Accessor
Extended by Core\Authentication
Extended by Core\Authentication\Driver\sspi
Namespace: Core\Authentication\Driver
Package: Core\Authentication
Since: 3.0
Requires: PHP 5.3, SSPI extension
Version: 1.0.1
Located at Authentication/Driver/sspi.inc.php

Methods summary

protected Core\Authentication_Token|false
# _validate( array $credentials )

Driver implementation of user credentials verification.

Driver implementation of user credentials verification.

Parameters

$credentials

Associative array of user credentials. Contains at least the following entries:

  • string user

    The username to verify.

  • string password

    The provided password or password hash to verify.

  • string domain

    The domain name to verify credentials for.

Returns

Core\Authentication_Token|false

Token instance for the specified user on success, otherwise false. Set the status and status message properties to provide additional information on why authentication failed.

If the back-end encounters a fatal error, it might throw an exception.

Throws

Core\Exception\Configuration
The SSPI PHP extension is not installed.

Since

3.0

Methods inherited from Core\Authentication

__construct(), _validatePassword(), autocreate(), chain(), perform(), verify()

Methods inherited from Core\Set

__get(), __isset()

Methods inherited from Core\Object

__autocreateFactory(), __call(), __processParameters(), __toString(), attachMethod(), getValueForKey(), getValueForKeyPath(), getValueForUndefinedKey(), hash(), issetValueForKey(), setValueForKey(), setValueForKeyPath(), setValueForUndefinedKey(), uuid()

Constants summary

Constants inherited from Core\Authentication

AllowEmptyPasswordParameter, AllowEmptyUsernameParameter, FieldSelectorParameter, InvalidCredentials, PasswordEncryptionParameter, Success, TemporaryFailure, UnknownIdentifier

Constants inherited from Core\Object

AnyParameterType, AutochainParameterType, AutocreateParameterType, BooleanParameterType, CharParameterType, EnumParameterType, IntegerParameterType, RealParameterType, StringParameterType, UserParameterType

Properties summary

Properties inherited from Core\Authentication

$_v_parameters, $_v_status, $_v_statusMessage, $_v_successor

Magic properties inherited from Core\Authentication

$parameters, $status, $statusMessage, $successor

Magic properties inherited from Core\Object

$hash, $uuid

xplo.re Medusa Core Framework 3.1 API documentation generated by ApiGen