"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "keystone/conf/credential.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).

credential.py  (keystone-17.0.0):credential.py  (keystone-18.0.0)
skipping to change at line 71 skipping to change at line 71
""")) """))
auth_ttl = cfg.IntOpt( auth_ttl = cfg.IntOpt(
'auth_ttl', 'auth_ttl',
default=15, default=15,
help=utils.fmt(""" help=utils.fmt("""
The length of time in minutes for which a signed EC2 or S3 token request is The length of time in minutes for which a signed EC2 or S3 token request is
valid from the timestamp contained in the token request. valid from the timestamp contained in the token request.
""")) """))
user_limit = cfg.IntOpt(
'user_limit',
default=-1,
help=utils.fmt("""
Maximum number of credentials a user is permitted to create. A value of
-1 means unlimited. If a limit is not set, users are permitted to create
credentials at will, which could lead to bloat in the keystone database
or open keystone to a DoS attack.
"""))
GROUP_NAME = __name__.split('.')[-1] GROUP_NAME = __name__.split('.')[-1]
ALL_OPTS = [ ALL_OPTS = [
driver, driver,
provider, provider,
key_repository, key_repository,
caching, caching,
cache_time, cache_time,
auth_ttl auth_ttl,
user_limit,
] ]
def register_opts(conf): def register_opts(conf):
conf.register_opts(ALL_OPTS, group=GROUP_NAME) conf.register_opts(ALL_OPTS, group=GROUP_NAME)
def list_opts(): def list_opts():
return {GROUP_NAME: ALL_OPTS} return {GROUP_NAME: ALL_OPTS}
 End of changes. 2 change blocks. 
1 lines changed or deleted 12 lines changed or added

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