_('Freeradius'), 'plDescription' => _('This Plugin is for Radius accounting based in FreeRadius'), 'plObjectType' => array('group'), 'plProvidedAcls' => parent::generatePlProvidedAcls(self::getAttributesInfo()) ); } /*! * \brief The main function : information about attributes */ static function getAttributesInfo () { return array( // Attributes are grouped by section 'section1' => array( 'name' => _('Support 802.1x'), 'attrs' => array( new StringAttribute( _('Tunnel medium type'), // Label of the attribute _('Name of the tunnel medium type'), // Description 'radiusTunnelMediumType', // LDAP name TRUE, // Mandatory 'IEEE-802' // default value ), new StringAttribute( _('Tunnel type'), // Label of the attribute _('Name of the tunnel type'), // Description 'radiusTunnelType', // LDAP name TRUE, // Mandatory 'VLAN' // default value ), new StringAttribute( _('VLAN id'), // Label of the attribute _('VLAN identifier'), // Description 'radiusTunnelPrivateGroupId', // LDAP name FALSE, // Mandatory '' ) ) ), ); } } ?>