"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "keystone/identity/backends/resource_options.py" between
keystone-17.0.0.tar.gz and keystone-18.0.0.tar.gz

About: OpenStack Keystone (Core Service: Identity) provides an authentication and authorization service for other OpenStack services. Provides a catalog of endpoints for all OpenStack services.
The "Victoria" series (latest release).

resource_options.py  (keystone-17.0.0):resource_options.py  (keystone-18.0.0)
skipping to change at line 81 skipping to change at line 81
option_id='1002', option_id='1002',
option_name='ignore_lockout_failure_attempts', option_name='ignore_lockout_failure_attempts',
validator=resource_options.boolean_validator, validator=resource_options.boolean_validator,
json_schema_validation=parameter_types.boolean)) json_schema_validation=parameter_types.boolean))
LOCK_PASSWORD_OPT = ( LOCK_PASSWORD_OPT = (
resource_options.ResourceOption( resource_options.ResourceOption(
option_id='1003', option_id='1003',
option_name='lock_password', option_name='lock_password',
validator=resource_options.boolean_validator, validator=resource_options.boolean_validator,
json_schema_validation=parameter_types.boolean)) json_schema_validation=parameter_types.boolean))
IGNORE_USER_INACTIVITY_OPT = (
resource_options.ResourceOption(
option_id='1004',
option_name='ignore_user_inactivity',
validator=resource_options.boolean_validator,
json_schema_validation=parameter_types.boolean))
MFA_RULES_OPT = ( MFA_RULES_OPT = (
resource_options.ResourceOption( resource_options.ResourceOption(
option_id='MFAR', option_id='MFAR',
option_name='multi_factor_auth_rules', option_name='multi_factor_auth_rules',
validator=_mfa_rules_validator_list_of_lists_of_strings_no_duplicates, validator=_mfa_rules_validator_list_of_lists_of_strings_no_duplicates,
json_schema_validation={ json_schema_validation={
# List # List
'type': 'array', 'type': 'array',
'items': { 'items': {
# Of Lists # Of Lists
skipping to change at line 117 skipping to change at line 123
json_schema_validation=parameter_types.boolean)) json_schema_validation=parameter_types.boolean))
# NOTE(notmorgan): wrap this in a function for testing purposes. # NOTE(notmorgan): wrap this in a function for testing purposes.
# This is called on import by design. # This is called on import by design.
def register_user_options(): def register_user_options():
for opt in [ for opt in [
IGNORE_CHANGE_PASSWORD_OPT, IGNORE_CHANGE_PASSWORD_OPT,
IGNORE_PASSWORD_EXPIRY_OPT, IGNORE_PASSWORD_EXPIRY_OPT,
IGNORE_LOCKOUT_ATTEMPT_OPT, IGNORE_LOCKOUT_ATTEMPT_OPT,
LOCK_PASSWORD_OPT, LOCK_PASSWORD_OPT,
IGNORE_USER_INACTIVITY_OPT,
MFA_RULES_OPT, MFA_RULES_OPT,
MFA_ENABLED_OPT, MFA_ENABLED_OPT,
]: ]:
USER_OPTIONS_REGISTRY.register_option(opt) USER_OPTIONS_REGISTRY.register_option(opt)
register_user_options() register_user_options()
 End of changes. 2 change blocks. 
0 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)