PHP 클래스 sspmod_ldap_Auth_Process_AttributeAddUsersGroups, simplesamlphp

저자: Ryan Panning ([email protected])
상속: extends sspmod_ldap_Auth_Process_BaseFilter
파일 보기 프로젝트 열기: simplesamlphp/simplesamlphp

공개 메소드들

메소드 설명
process ( &$request ) This is run when the filter is processed by SimpleSAML.

보호된 메소드들

메소드 설명
getGroups ( array $attributes ) : array This section of code was broken out because the child filter AuthorizeByGroup can use this method as well.
search ( array $memberof ) : array Looks for groups from the list of DN's passed. Also recursively searches groups for further membership.
searchActiveDirectory ( string $dn ) : array Searches LDAP using a ActiveDirectory specific filter, looking for group membership for the users DN. Returns the list of group DNs retrieved.

메소드 상세

getGroups() 보호된 메소드

Based on the LDAP product, it will do an optimized search using the required attribute values from the user to get their group membership, recursively.
protected getGroups ( array $attributes ) : array
$attributes array
리턴 array

process() 공개 메소드

It will attempt to find the current users groups using the best method possible for the LDAP product. The groups are then added to the request attributes.
public process ( &$request )
$request

searchActiveDirectory() 보호된 메소드

Searches LDAP using a ActiveDirectory specific filter, looking for group membership for the users DN. Returns the list of group DNs retrieved.
protected searchActiveDirectory ( string $dn ) : array
$dn string
리턴 array