Class Authority
Diese Autorität authentifiziert eine Identität gegenüber einem Active Directory Verzeichnis von Microsoft.
// Authorität erstellen $authority = new Authority(new \Alvine\Net\Resource\URI('ldaps://dc.domain')); // Benutzer (der Benutzername ist damit hans.mustermann@domain) $user = new \Alvine\Security\Authentication\User('hans.mustermann'); // Benutzer ist nicht angemeldet $authority->isVerified($user); // false // Anmeldung $authority->authenticate($user, new \Alvine\Security\Authentication\Credential\Password('secret')); // Benutzer ist angemeldet $authority->isVerified($user); // true
- Alvine\Core\Alvine implements Serializable uses Alvine\Core\SerializableImplementation
- Alvine\Security\Authentication\Authority implements Alvine\Core\InstantiableFromProperties
- Alvine\Security\Authentication\Authority\ADS\Authority
Namespace: Alvine\Security\Authentication\Authority\ADS
Package: Alvine\Security\Authentication\Authority\ADS
Category: Framework
License: Licence
Author: schukai GmbH info@schukai.de
Version: Release: $Revision: 173 $
Since: 20110904
See:
Link: Alvine
Located at security/authentication/authority/ads/Authority.class.php
Package: Alvine\Security\Authentication\Authority\ADS
Category: Framework
License: Licence
Author: schukai GmbH info@schukai.de
Version: Release: $Revision: 173 $
Since: 20110904
See:
Alvine\I18n\Util\PluralRules
Link: Alvine
Located at security/authentication/authority/ads/Authority.class.php
public
|
|
public
|
#
authenticate(
Autorisiert eine Identität und holt die GUID vom ADS |
protected
|
|
protected
|
#
bindLDAP(
Für weitere Abfragen an das LDAP mit einem Account binden |
protected
|
|
public static
|
|
protected
|
|
public
boolean
|
#
isMember(
Prüft ob Entity Mitglied der Gruppe ist |
__construct(),
attachGroup(),
detachGroup(),
getName(),
isVerified()
|
__call(),
__clone(),
__get(),
__set(),
__toString(),
equals(),
getClass(),
getClone(),
getClosure(),
getHashCode(),
getID(),
getShortID(),
isCallable(),
isInstanceOf(),
propertyExists()
|
serialize(),
unserialize()
|
checkAndAdjustSerialisation(),
serialize(),
unserialize()
|
string |
OBJECTCLASS
Objektklasse |
#
'objectClass'
|
string |
DN
Distinguished Name |
#
'DN'
|
string |
CN
Common Name |
#
'CN'
|
string |
OU
Organizational Unit |
#
'OU'
|
string |
DC
Domain Component |
#
'DC'
|
string |
OBJECTGUID
UUID des Objektes |
#
'objectguid'
|
string |
SAMACCOUNTNAME
sAMAccountName |
#
'sAMAccountName'
|
DEFAULT_NAME
|
APIVERSION,
IDENTIFICATION,
SERIALVERSION,
VERSION
|
protected
resource
|
$ldapResource
LDAP-Verbindung |
|
protected
string
|
$domainComponent
Basis DN |
$name,
$uri,
$volatileVerified
|
$hash,
$properties
|