protected function getRoleSets()
    {
        // search and add the roles of the current user
        $this->rolesSearch($this->username, $this->userDN);
        return $this->setsMap->toArray();
    }
protected function getRoleSets()
    {
        // search and add the roles of the current user
        $this->rolesSearch($this->username, $this->userDN);
        return $this->setsMap->toArray();
    }
protected function getRoleSets ( ) { // search and add the roles of the current user $ this -> rolesSearch ( $ this -> username , $ this -> userDN ) ; return $ this -> setsMap -> toArray ( ) ; }
Overridden by subclasses to return the Groups that correspond to the to the
role sets assigned to the user. Subclasses should create at least a Group
named "Roles" that contains the roles assigned to the user.

@return array Array containing the sets of roles
@throws \AppserverIo\Psr\Security\Auth\Login\LoginException Is thrown if password can't be loaded
Overridden by subclasses to return the Groups that correspond to the to the role sets assigned to the user . Subclasses should create at least a Group named Roles that contains the roles assigned to the user .