Introduction #
The Username & Password Authentication method allows users to sign in using a combination of a predefined username and password. This method is commonly used for controlled access to network resources and web portals, ensuring secure authentication with user credentials.
How It Works #
This authentication method operates by verifying a user’s provided credentials against a stored database of usernames and passwords. Once authenticated, users gain access to the defined network or service. The system also logs login attempts, tracks device usage, and can enforce session timeouts.
Configuration #
Accessing the Settings #
📌 Sign In Administration > Login Portal > Captive Portal Configuration > Username & Password Access Settings
To configure this authentication method:
- Navigate to Sign In Administration > Login Portal > Captive Portal Configuration > Username & Password Access Settings
- Select the Username & Password Access module
- Modify settings as needed, including language selection, portal text, and timeout settings
Language Selection #
- Default language: English (modifiable based on requirements)
- Supports customization of displayed text in multiple languages
Customizing the Login Page #
📌 Sign In Administration > Login Portal > Captive Portal Configuration > Username & Password Access Settings
Administrators can configure the text displayed on the login page:
- Tab Name: Shown in the browser tab (e.g., Telia Gemensamt Wifi)
- Header Text: Displayed at the top of the login page
- Username Field Label: Custom text for the username input field
- Password Field Label: Custom text for the password input field
- Information Text: Instructions or additional information, formatted using HTML
Redirect & Session Timeout Configuration #
📌 Sign In Administration > Login Portal > Captive Portal Configuration > Username & Password Access Settings
- Redirect URL: Specifies where users are directed post-login
- Session Timeout: Determines the duration (in minutes) before a user is required to reauthenticate
User Management #
Adding and Managing Users #
📌 Sign In Administration > Sign In Modules > Username & Password
- Navigate to Sign In Administration > Sign In Modules > Username & Password
- Click + Add User to create a new user account
- Assign a Username and Password
- Track login activity, device usage, and last login information in the user list
- Use the API to programmatically add or remove user accounts
Viewing User Statistics #
📌 Sign In Administration > Sign In Modules > Username & Password > Details
By selecting a specific user, administrators can view:
- Total Logins
- Number of Devices Used
- Last Login Timestamp
- Session Activity and Validity Period
API Integration #
The authentication system provides an API that allows administrators to manage user accounts programmatically.
API Capabilities #
- Create User: Add new user accounts with a username and password
- Delete User: Remove an existing user account
- Retrieve User Details: Fetch information about a specific user
- Update User Credentials: Modify username or password
Using the API #
API documentation and endpoints are accessible via the administrative portal. Integration can be done using standard REST API methods.
📌 Read the API documentation: Username & Password Authentication API.
Security Considerations #
- Enforce strong passwords and periodic updates
- Monitor login attempts and restrict excessive failed attempts
- Ensure HTTPS is enabled for secure data transmission
- Enable logging and auditing for compliance and security monitoring
Summary #
The Username & Password Authentication method is a widely adopted approach for managing user access. With configurable options, session management, user tracking, and an API for account management, it provides a secure and flexible authentication mechanism for controlled access environments.