pf::Portal::Profile
pf::Portal::Profile wraps captive portal configuration in a way that we can provide several differently configured (behavior and template) captive portal from the same server.
No one should call ->new by himself. pf::Portal::ProfileFactory should be used instead.
Returns the name of the captive portal profile.
Returns the logo for the current captive portal profile.
Returns the available enabled modes for guest self-registration for the current captive portal profile.
Returns the available enabled modes for guest self-registration for chained sources for the current captive portal profile.
Returns the path for custom templates for the current captive portal profile.
Relative to html/captive-portal/templates/
Returns either enabled or disabled according to the billing engine state for the current captive portal profile.
Returns either enabled or disabled according to the billing engine state for the current captive portal profile.
Returns the locales for the profile.
Returns the authentication sources IDs for the current captive portal profile.
Returns the mandatory fields for the profile
Returns the authentication sources objects for the current captive portal profile.
Returns the internal authentication sources objects for the current captive portal profile.
Returns the external authentication sources objects for the current captive portal profile.
Returns the exclusive authentication sources objects for the current captive portal profile.
Returns the sources for that match the class
If the profile has a chained auth source
Returns the first source object for the requested source type for the current captive portal profile.
Returns the first source object for the requested source type for chained sources in the current captive portal profile.
Returns true if the profile only uses "sign-in" authentication sources (SMS, email or sponsor).
Verify if the guest mode is allowed for the profile
The number of registration pages to be shown before signup or registration
Reuse dot1x credentials when authenticating
Check if the profile needs no password
Check if the profile needs no username
The provisionerObjects
Reuse dot1x credentials when authenticating
Inverse inc. <info@inverse.ca>
Copyright (C) 2005-2015 Inverse inc.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.