AppserverIo\Appserver\ServletEngine\Security\Auth\Spi\NamingDirectoryLoginModule::getRoleSets PHP Метод

getRoleSets() защищенный Метод

Get the roles the current user belongs to by querying the rolesPathPrefix + '/' + super.getUsername() JNDI location.
protected getRoleSets ( ) : array
Результат array The roles the user is assigned to
    protected function getRoleSets()
    {
        try {
            return array();
        } catch (NamingException $ne) {
            // log.error("Failed to obtain groups for user="+super.getUsername(), e);
            throw new LoginException($ne->__toString());
        }
    }