Smartswitch
Data Members | List of all members
Smartswitch::Peer::UserGeneration::WeakPasswordException Exception Reference

This exception is thrown when there is no more attempts left to generate a strong password for a User. More...

defined in <WeakPasswordException.ice>

exception WeakPasswordException extends Smartswitch::GenericException { ... }

Inheritance diagram for Smartswitch::Peer::UserGeneration::WeakPasswordException:
Inheritance graph
[legend]
Collaboration diagram for Smartswitch::Peer::UserGeneration::WeakPasswordException:
Collaboration graph
[legend]

Data Members

int attempts
 The count of attempts to generate a strong password for a User which has been performed. More...
 
- Data Members inherited from Smartswitch::GenericException
string description
 The error message which could be displayed to a user. More...
 
string solution
 The possible way of working around the exception. More...
 

Detailed Description

This exception is thrown when there is no more attempts left to generate a strong password for a User.

When generating a User, Smartswitch tries to generate random password for a User basing on password generation template which is set in a User generation profile.
Then Smartswitch checks if a newly generated password is strong enough.
If the check fails, Smartswitch tries to generate another random password.
The amount of attempts to generate a strong password is defined at User generation profile.
If Smartswitch is unable to generate a strong password in a given amount of attempts, this exception is thrown.

See also
Session::generateUsersWithInfo()

Data Member Documentation

◆ attempts

int attempts

The count of attempts to generate a strong password for a User which has been performed.


The documentation for this exception was generated from the following file: