¡@

Home 

OpenStack Study: keystone

OpenStack Index

Previous

Next

    def __getitem__(self, key):

class ModelDictMixin(object):

    def from_dict(cls, d):

    def to_dict(self):

def _get_engine_facade():

def cleanup():

def get_engine():

def get_session(expire_on_commit=False):

def transaction(expire_on_commit=False):

def truncated(f):

    def wrapper(self, hints, *args, **kwargs):

def _filter(model, query, hints):

    def inexact_filter(model, query, filter_, hints):

    def exact_filter(model, filter_, cumulative_filter_dict, hints):

def _limit(query, hints):

def filter_limit_query(model, query, hints):

def handle_conflicts(conflict_type='object'):

    def decorator(method):

        def wrapper(*args, **kwargs):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\manage.py

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\001_add_initial_tables.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\002_token_id_hash.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\003_token_valid.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\004_undo_token_id_hash.py

def downgrade(migrate_engine):

def upgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\005_set_utf8_character_set.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\006_add_policy_table.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\007_add_domain_tables.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\008_create_default_domain.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\009_normalize_identity.py

def downgrade_user_table_with_copy(meta, migrate_engine):

def downgrade_tenant_table_with_copy(meta, migrate_engine):

def downgrade_user_table_with_column_drop(meta, migrate_engine):

def downgrade_tenant_table_with_column_drop(meta, migrate_engine):

def upgrade_user_table(meta, migrate_engine):

def upgrade_tenant_table(meta, migrate_engine):

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\010_normalize_identity_migration.py

def is_enabled(enabled):

def downgrade_user_table(meta, migrate_engine, session):

def downgrade_tenant_table(meta, migrate_engine, session):

def upgrade_user_table(meta, migrate_engine, session):

def upgrade_tenant_table(meta, migrate_engine, session):

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\011_endpoints_v3.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\012_populate_endpoint_type.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\013_drop_legacy_endpoints.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\014_add_group_tables.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\015_tenant_to_project.py

def rename_with_constraints(meta, legacy_project_table_name, new_project_table_name, legacy_user_project_membership_table_name, new_user_project_membership_table_name):

def upgrade_with_rename(meta, migrate_engine):

def downgrade_with_rename(meta, migrate_engine):

def upgrade_with_copy(meta, migrate_engine):

def downgrade_with_copy(meta, migrate_engine):

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\016_normalize_domain_ids.py

def _disable_foreign_constraints(session, migrate_engine):

def _enable_foreign_constraints(session, migrate_engine):

def upgrade_user_table_with_copy(meta, migrate_engine, session):

def upgrade_project_table_with_copy(meta, migrate_engine, session):

def downgrade_user_table_with_copy(meta, migrate_engine, session):

def downgrade_project_table_with_copy(meta, migrate_engine, session):

def upgrade_user_table_with_col_create(meta, migrate_engine, session):

def upgrade_project_table_with_col_create(meta, migrate_engine, session):

def downgrade_user_table_with_col_drop(meta, migrate_engine, session):

def downgrade_project_table_with_col_drop(meta, migrate_engine, session):

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\017_membership_role.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\018_add_trust_tables.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\019_fixup_role.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\020_migrate_metadata_table_roles.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\021_add_trust_to_token.py

def downgrade_token_table_with_column_drop(meta, migrate_engine):

def create_column_forgiving(migrate_engine, table, column):

def upgrade_token_table(meta, migrate_engine):

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\022_move_legacy_endpoint_id.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\023_drop_credential_constraints.py

def list_constraints(migrate_engine):

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\024_add_index_to_expires.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\025_add_index_to_valid.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\026_drop_user_group_constraints.py

def list_constraints(migrate_engine):

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\027_set_engine_mysql_innodb.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\028_fixup_group_metadata.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\029_update_assignment_metadata.py

def build_update(table_name, upgrade_table, row, values):

def upgrade_grant_table(meta, migrate_engine, session, table_name):

def downgrade_grant_table(meta, migrate_engine, session, table_name):

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\030_drop_credential_constraint_sqlite.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

def drop_credential_table_foreign_key_constraints_for_sqlite(migrate_engine):

def add_credential_table_foreign_key_constraints_for_sqlite(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\031_drop_credential_indexes.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\032_username_length.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\033_migrate_ec2credentials_table_credentials.py

def upgrade(migrate_engine):

def check_credential_exists(ec2credential, credential_table, session):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\034_add_default_project_id_column_to_user.py

def migrate_default_project_from_extra_json(meta, migrate_engine):

def migrate_default_project_to_extra_json(meta, migrate_engine):

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\035_add_compound_revoked_token_index.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\036_token_drop_valid_index.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\037_add_region_table.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\038_add_assignment_table.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\039_grant_to_assignment.py

def migrate_grant_table(meta, migrate_engine, session, table_name):

def downgrade_assignment_table(meta, migrate_engine):

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\040_drop_grant_tables.py

def recreate_grant_tables(meta, migrate_engine):

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\041_add_remaining_uses_count_to_trusts.py

def downgrade_trust_table_with_column_drop(meta, migrate_engine):

def upgrade_trust_table(meta, migrate_engine):

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\042_endpoint_enabled.py

def _migrate_enabled_from_extra(migrate_engine, endpoint_table):

def _migrate_enabled_to_extra(migrate_engine, endpoint_table):

def upgrade(migrate_engine):

def _downgrade_endpoint_table_with_copy(meta, migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\043_fixup_region_description.py

def _migrate_to_new_region_table(meta, migrate_engine, region_table):

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\044_service_enabled.py

def _migrate_enabled_from_extra(migrate_engine, service_table):

def _migrate_enabled_to_extra(migrate_engine, service_table):

def upgrade(migrate_engine):

def _downgrade_service_table_with_copy(meta, migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\versions\__init__.py

\OpenStack\keystone-2014.1\keystone\common\sql\migrate_repo\__init__.py

\OpenStack\keystone-2014.1\keystone\common\sql\migration_helpers.py

def get_constraints_names(table, column_name):

def remove_constraints(constraints):

def add_constraints(constraints):

def rename_tables_with_constraints(renames, constraints, engine):

def find_migrate_repo(package=None, repo_name='migrate_repo'):

def sync_database_to_version(extension=None, version=None):

def get_db_version(extension=None):

def print_db_version(extension=None):

\OpenStack\keystone-2014.1\keystone\common\sql\__init__.py

\OpenStack\keystone-2014.1\keystone\common\systemd.py

def _sd_notify(msg):

def notify():

\OpenStack\keystone-2014.1\keystone\common\utils.py

def read_cached_file(filename, cache_info, reload_func=None):

class SmarterEncoder(json.JSONEncoder):

    def default(self, obj):

def trunc_password(password):

def hash_access_key(access):

def hash_user_password(user):

def hash_ldap_user_password(user):

def hash_password(password):

def ldap_hash_password(password):

def ldap_check_password(password, hashed):

def check_password(password, hashed):

def attr_as_boolean(val_attr):

def check_output(*popenargs, **kwargs):

def get_blob_from_credential(credential):

def convert_ec2_to_v3_credential(ec2credential):

def convert_v3_to_ec2_credential(credential):

def git(*args):

def unixtime(dt_obj):

def auth_str_equal(provided, known):

def setup_remote_pydev_debug():

class LimitingReader(object):

    def __init__(self, data, limit):

    def __iter__(self):

    def read(self, i=None):

def get_unix_user(user=None):

def get_unix_group(group=None):

def set_permissions(path, mode=None, user=None, group=None, log=None):

def make_dirs(path, mode=None, user=None, group=None, log=None):

\OpenStack\keystone-2014.1\keystone\common\wsgi.py

def validate_token_bind(context, token_ref):

def best_match_language(req):

class BaseApplication(object):

    def factory(cls, global_config, **local_config):

    def __call__(self, environ, start_response):

        def __call__(self, req):

class Application(BaseApplication):

    def __call__(self, req):

    def _get_response_code(self, req):

    def _normalize_arg(self, arg):

    def _normalize_dict(self, d):

    def assert_admin(self, context):

    def _require_attribute(self, ref, attr):

    def _get_trust_id_for_request(self, context):

    def base_url(cls, context, endpoint_type):

class Middleware(Application):

    def factory(cls, global_config, **local_config):

        def _factory(app):

    def __init__(self, application):

    def process_request(self, request):

    def process_response(self, request, response):

    def __call__(self, request):

class Debug(Middleware):

    def __call__(self, req):

    def print_generator(app_iter):

class Router(object):

    def __init__(self, mapper):

    def __call__(self, req):

    def _dispatch(req):

class ComposingRouter(Router):

    def __init__(self, mapper=None, routers=None):

class ComposableRouter(Router):

    def __init__(self, mapper=None):

    def add_routes(self, mapper):

class ExtensionRouter(Router):

    def __init__(self, application, mapper=None):

    def add_routes(self, mapper):

    def factory(cls, global_config, **local_config):

        def _factory(app):

\OpenStack\keystone-2014.1\keystone\common\__init__.py

\OpenStack\keystone-2014.1\keystone\config.py

def set_default_for_default_log_levels():

def setup_logging():

def find_paste_config():

\OpenStack\keystone-2014.1\keystone\contrib\access\core.py

class AccessLogMiddleware(wsgi.Middleware):

    def __init__(self, *args, **kwargs):

    def __call__(self, request):

\OpenStack\keystone-2014.1\keystone\contrib\access\__init__.py

\OpenStack\keystone-2014.1\keystone\contrib\admin_crud\core.py

class CrudExtension(wsgi.ExtensionRouter):

    def add_routes(self, mapper):

\OpenStack\keystone-2014.1\keystone\contrib\admin_crud\__init__.py

\OpenStack\keystone-2014.1\keystone\contrib\ec2\controllers.py

class Ec2ControllerCommon(object):

    def check_signature(self, creds_ref, credentials):

    def authenticate(self, context, credentials=None, ec2Credentials=None):

    def _authenticate(self, credentials=None, ec2credentials=None):

    def create_credential(self, context, user_id, tenant_id):

    def get_credentials(self, user_id):

    def get_credential(self, user_id, credential_id):

    def delete_credential(self, user_id, credential_id):

    def _convert_v3_to_ec2_credential(credential):

    def _get_credentials(self, credential_id):

class Ec2Controller(Ec2ControllerCommon, controller.V2Controller):

    def authenticate(self, context, credentials=None, ec2Credentials=None):

    def get_credential(self, context, user_id, credential_id):

    def get_credentials(self, context, user_id):

    def create_credential(self, context, user_id, tenant_id):

    def delete_credential(self, context, user_id, credential_id):

    def _assert_identity(self, context, user_id):

    def _is_admin(self, context):

    def _assert_owner(self, user_id, credential_id):

class Ec2ControllerV3(Ec2ControllerCommon, controller.V3Controller):

    def __init__(self):

    def _check_credential_owner_and_user_id_match(self, context, prep_info, user_id, credential_id):

    def authenticate(self, context, credentials=None, ec2Credentials=None):

    def ec2_get_credential(self, context, user_id, credential_id):

    def ec2_list_credentials(self, context, user_id):

    def ec2_create_credential(self, context, user_id, tenant_id):

    def ec2_delete_credential(self, context, user_id, credential_id):

def render_token_data_response(token_id, token_data):

\OpenStack\keystone-2014.1\keystone\contrib\ec2\core.py

\OpenStack\keystone-2014.1\keystone\contrib\ec2\routers.py

class Ec2Extension(wsgi.ExtensionRouter):

    def add_routes(self, mapper):

class Ec2ExtensionV3(wsgi.ExtensionRouter):

    def add_routes(self, mapper):

\OpenStack\keystone-2014.1\keystone\contrib\ec2\__init__.py

\OpenStack\keystone-2014.1\keystone\contrib\endpoint_filter\backends\catalog_sql.py

class EndpointFilterCatalog(sql.Catalog):

    def get_v3_catalog(self, user_id, project_id, metadata=None):

\OpenStack\keystone-2014.1\keystone\contrib\endpoint_filter\backends\sql.py

class ProjectEndpoint(sql.ModelBase, sql.DictBase):

class EndpointFilter(object):

    def db_sync(self, version=None):

    def add_endpoint_to_project(self, endpoint_id, project_id):

    def _get_project_endpoint_ref(self, session, endpoint_id, project_id):

    def check_endpoint_in_project(self, endpoint_id, project_id):

    def remove_endpoint_from_project(self, endpoint_id, project_id):

    def list_endpoints_for_project(self, project_id):

    def list_projects_for_endpoint(self, endpoint_id):

\OpenStack\keystone-2014.1\keystone\contrib\endpoint_filter\backends\__init__.py

\OpenStack\keystone-2014.1\keystone\contrib\endpoint_filter\controllers.py

class EndpointFilterV3Controller(controller.V3Controller):

    def add_endpoint_to_project(self, context, project_id, endpoint_id):

    def check_endpoint_in_project(self, context, project_id, endpoint_id):

    def list_endpoints_for_project(self, context, project_id):

    def remove_endpoint_from_project(self, context, project_id, endpoint_id):

    def list_projects_for_endpoint(self, context, endpoint_id):

\OpenStack\keystone-2014.1\keystone\contrib\endpoint_filter\core.py

class Manager(manager.Manager):

    def __init__(self):

class Driver(object):

    def add_endpoint_to_project(self, endpoint_id, project_id):

    def remove_endpoint_from_project(self, endpoint_id, project_id):

    def check_endpoint_in_project(self, endpoint_id, project_id):

    def list_endpoints_for_project(self, project_id):

    def list_projects_for_endpoint(self, endpoint_id):

\OpenStack\keystone-2014.1\keystone\contrib\endpoint_filter\migrate_repo\versions\001_add_endpoint_filtering_table.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\contrib\endpoint_filter\migrate_repo\versions\__init__.py

\OpenStack\keystone-2014.1\keystone\contrib\endpoint_filter\migrate_repo\__init__.py

\OpenStack\keystone-2014.1\keystone\contrib\endpoint_filter\routers.py

class EndpointFilterExtension(wsgi.ExtensionRouter):

    def add_routes(self, mapper):

\OpenStack\keystone-2014.1\keystone\contrib\endpoint_filter\__init__.py

\OpenStack\keystone-2014.1\keystone\contrib\example\controllers.py

class ExampleV3Controller(controller.V3Controller):

    def example_get(self, context):

\OpenStack\keystone-2014.1\keystone\contrib\example\core.py

class ExampleManager(manager.Manager):

    def __init__(self):

    def project_deleted_callback(self, service, resource_type, operation, payload):

    def project_created_callback(self, service, resource_type, operation, payload):

class ExampleDriver(object):

    def do_something(self, data):

\OpenStack\keystone-2014.1\keystone\contrib\example\migrate_repo\versions\001_example_table.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\contrib\example\migrate_repo\versions\__init__.py

\OpenStack\keystone-2014.1\keystone\contrib\example\migrate_repo\__init__.py

\OpenStack\keystone-2014.1\keystone\contrib\example\routers.py

class ExampleRouter(wsgi.ExtensionRouter):

    def add_routes(self, mapper):

\OpenStack\keystone-2014.1\keystone\contrib\example\__init__.py

\OpenStack\keystone-2014.1\keystone\contrib\federation\backends\sql.py

class FederationProtocolModel(sql.ModelBase, sql.DictBase):

    def from_dict(cls, dictionary):

    def to_dict(self):

class IdentityProviderModel(sql.ModelBase, sql.DictBase):

    def from_dict(cls, dictionary):

    def to_dict(self, include_extra_dict=False):

class MappingModel(sql.ModelBase, sql.DictBase):

    def from_dict(cls, dictionary):

    def to_dict(self):

class Federation(core.Driver):

    def db_sync(self):

    def create_idp(self, idp_id, idp):

    def delete_idp(self, idp_id):

    def _get_idp(self, session, idp_id):

    def list_idps(self):

    def get_idp(self, idp_id):

    def update_idp(self, idp_id, idp):

    def _get_protocol(self, session, idp_id, protocol_id):

    def create_protocol(self, idp_id, protocol_id, protocol):

    def update_protocol(self, idp_id, protocol_id, protocol):

    def get_protocol(self, idp_id, protocol_id):

    def list_protocols(self, idp_id):

    def delete_protocol(self, idp_id, protocol_id):

    def _get_mapping(self, session, mapping_id):

    def create_mapping(self, mapping_id, mapping):

    def delete_mapping(self, mapping_id):

    def list_mappings(self):

    def get_mapping(self, mapping_id):

    def update_mapping(self, mapping_id, mapping):

    def get_mapping_from_idp_and_protocol(self, idp_id, protocol_id):

\OpenStack\keystone-2014.1\keystone\contrib\federation\backends\__init__.py

\OpenStack\keystone-2014.1\keystone\contrib\federation\controllers.py

class _ControllerBase(controller.V3Controller):

    def base_url(cls, context, path=None):

class IdentityProvider(_ControllerBase):

    def _add_related_links(cls, context, ref):

    def _add_self_referential_link(cls, context, ref):

    def wrap_member(cls, context, ref):

    def _delete_tokens_issued_by_idp(self, idp_id):

    def create_identity_provider(self, context, idp_id, identity_provider):

    def list_identity_providers(self, context):

    def get_identity_provider(self, context, idp_id):

    def delete_identity_provider(self, context, idp_id):

    def update_identity_provider(self, context, idp_id, identity_provider):

class FederationProtocol(_ControllerBase):

    def _add_self_referential_link(cls, context, ref):

    def _add_related_links(cls, context, ref):

    def wrap_member(cls, context, ref):

    def create_protocol(self, context, idp_id, protocol_id, protocol):

    def update_protocol(self, context, idp_id, protocol_id, protocol):

    def get_protocol(self, context, idp_id, protocol_id):

    def list_protocols(self, context, idp_id):

    def delete_protocol(self, context, idp_id, protocol_id):

class MappingController(_ControllerBase):

    def create_mapping(self, context, mapping_id, mapping):

    def list_mappings(self, context):

    def get_mapping(self, context, mapping_id):

    def delete_mapping(self, context, mapping_id):

    def update_mapping(self, context, mapping_id, mapping):

class Auth(auth_controllers.Auth):

    def federated_authentication(self, context, identity_provider, protocol):

class DomainV3(controller.V3Controller):

    def __init__(self):

    def list_domains_for_groups(self, context):

class ProjectV3(controller.V3Controller):

    def __init__(self):

    def list_projects_for_groups(self, context):

\OpenStack\keystone-2014.1\keystone\contrib\federation\core.py

class Manager(manager.Manager):

    def __init__(self):

class Driver(object):

    def create_idp(self, idp_id, idp):

    def delete_idp(self, idp_id):

    def list_idps(self):

    def get_idp(self, idp_id):

    def update_idp(self, idp_id, idp):

    def create_protocol(self, idp_id, protocol_id, protocol):

    def update_protocol(self, idp_id, protocol_id, protocol):

    def get_protocol(self, idp_id, protocol_id):

    def list_protocols(self, idp_id):

    def delete_protocol(self, idp_id, protocol_id):

    def create_mapping(self, mapping_ref):

    def delete_mapping(self, mapping_id):

    def update_mapping(self, mapping_id, mapping_ref):

    def list_mappings(self):

    def get_mapping(self, mapping_id):

    def get_mapping_from_idp_and_protocol(self, idp_id, protocol_id):

\OpenStack\keystone-2014.1\keystone\contrib\federation\migrate_repo\versions\001_add_identity_provider_table.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\contrib\federation\migrate_repo\versions\002_add_mapping_tables.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\contrib\federation\migrate_repo\versions\__init__.py

\OpenStack\keystone-2014.1\keystone\contrib\federation\migrate_repo\__init__.py

\OpenStack\keystone-2014.1\keystone\contrib\federation\routers.py

class FederationExtension(wsgi.ExtensionRouter):

    def _construct_url(self, suffix):

    def add_routes(self, mapper):

\OpenStack\keystone-2014.1\keystone\contrib\federation\utils.py

def validate_mapping_structure(ref):

class RuleProcessor(object):

    def __init__(self, rules):

    def process(self, assertion_data):

    def _transform(self, identity_values):

    def _update_local_mapping(self, local, direct_maps):

    def _verify_all_requirements(self, requirements, assertion):

    def _evaluate_requirement(self, values, requirement_type, eval_type, regex, assertion):

\OpenStack\keystone-2014.1\keystone\contrib\federation\__init__.py

\OpenStack\keystone-2014.1\keystone\contrib\oauth1\backends\sql.py

class Consumer(sql.ModelBase, sql.DictBase):

class RequestToken(sql.ModelBase, sql.DictBase):

    def from_dict(cls, user_dict):

    def to_dict(self):

class AccessToken(sql.ModelBase, sql.DictBase):

    def from_dict(cls, user_dict):

    def to_dict(self):

class OAuth1(object):

    def db_sync(self):

    def _get_consumer(self, session, consumer_id):

    def get_consumer_with_secret(self, consumer_id):

    def get_consumer(self, consumer_id):

    def create_consumer(self, consumer):

    def _delete_consumer(self, session, consumer_id):

    def _delete_request_tokens(self, session, consumer_id):

    def _delete_access_tokens(self, session, consumer_id):

    def delete_consumer(self, consumer_id):

    def list_consumers(self):

    def update_consumer(self, consumer_id, consumer):

    def create_request_token(self, consumer_id, project_id, token_duration, request_token_id=None, request_token_secret=None):

    def _get_request_token(self, session, request_token_id):

    def get_request_token(self, request_token_id):

    def authorize_request_token(self, request_token_id, user_id, role_ids):

    def create_access_token(self, request_token_id, token_duration, access_token_id=None, access_token_secret=None):

    def _get_access_token(self, session, access_token_id):

    def get_access_token(self, access_token_id):

    def list_access_tokens(self, user_id):

    def delete_access_token(self, user_id, access_token_id):

\OpenStack\keystone-2014.1\keystone\contrib\oauth1\backends\__init__.py

\OpenStack\keystone-2014.1\keystone\contrib\oauth1\controllers.py

class ConsumerCrudV3(controller.V3Controller):

    def base_url(cls, context, path=None):

    def create_consumer(self, context, consumer):

    def update_consumer(self, context, consumer_id, consumer):

    def list_consumers(self, context):

    def get_consumer(self, context, consumer_id):

    def delete_consumer(self, context, consumer_id):

    def _validate_consumer_ref(self, consumer):

class AccessTokenCrudV3(controller.V3Controller):

    def get_access_token(self, context, user_id, access_token_id):

    def list_access_tokens(self, context, user_id):

    def delete_access_token(self, context, user_id, access_token_id):

    def _format_token_entity(self, context, entity):

class AccessTokenRolesV3(controller.V3Controller):

    def list_access_token_roles(self, context, user_id, access_token_id):

    def get_access_token_role(self, context, user_id, access_token_id, role_id):

    def _format_role_entity(self, role_id):

class OAuthControllerV3(controller.V3Controller):

    def create_request_token(self, context):

    def create_access_token(self, context):

    def authorize_request_token(self, context, request_token_id, roles):

\OpenStack\keystone-2014.1\keystone\contrib\oauth1\core.py

class Token(object):

    def __init__(self, key, secret):

    def set_verifier(self, verifier):

def token_generator(*args, **kwargs):

def filter_consumer(consumer_ref):

def filter_token(access_token_ref):

def get_oauth_headers(headers):

def extract_non_oauth_params(query_string):

class Manager(manager.Manager):

    def __init__(self):

    def create_consumer(self, consumer_ref):

    def update_consumer(self, consumer_id, consumer_ref):

    def delete_consumer(self, consumer_id):

    def create_access_token(self, request_id, access_token_duration):

    def delete_access_token(self, user_id, access_token_id):

    def create_request_token(self, consumer_id, requested_project, request_token_duration):

class Driver(object):

    def create_consumer(self, consumer_ref):

    def update_consumer(self, consumer_id, consumer_ref):

    def list_consumers(self):

    def get_consumer(self, consumer_id):

    def get_consumer_with_secret(self, consumer_id):

    def delete_consumer(self, consumer_id):

    def list_access_tokens(self, user_id):

    def delete_access_token(self, user_id, access_token_id):

    def create_request_token(self, consumer_id, requested_project, request_token_duration):

    def get_request_token(self, request_token_id):

    def get_access_token(self, access_token_id):

    def authorize_request_token(self, request_id, user_id, role_ids):

    def create_access_token(self, request_id, access_token_duration):

\OpenStack\keystone-2014.1\keystone\contrib\oauth1\migrate_repo\versions\001_add_oauth_tables.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\contrib\oauth1\migrate_repo\versions\002_fix_oauth_tables_fk.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\contrib\oauth1\migrate_repo\versions\003_consumer_description_nullalbe.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\contrib\oauth1\migrate_repo\versions\004_request_token_roles_nullable.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\contrib\oauth1\migrate_repo\versions\__init__.py

\OpenStack\keystone-2014.1\keystone\contrib\oauth1\migrate_repo\__init__.py

\OpenStack\keystone-2014.1\keystone\contrib\oauth1\routers.py

class OAuth1Extension(wsgi.ExtensionRouter):

    def add_routes(self, mapper):

\OpenStack\keystone-2014.1\keystone\contrib\oauth1\validator.py

class OAuthValidator(oauth1.RequestValidator):

    def enforce_ssl(self):

    def safe_characters(self):

    def _check_token(self, token):

    def check_client_key(self, client_key):

    def check_request_token(self, request_token):

    def check_access_token(self, access_token):

    def check_nonce(self, nonce):

    def check_verifier(self, verifier):

    def get_client_secret(self, client_key, request):

    def get_request_token_secret(self, client_key, token, request):

    def get_access_token_secret(self, client_key, token, request):

    def get_default_realms(self, client_key, request):

    def get_realms(self, token, request):

    def get_redirect_uri(self, token, request):

    def get_rsa_key(self, client_key, request):

    def invalidate_request_token(self, client_key, request_token, request):

    def validate_client_key(self, client_key, request):

    def validate_request_token(self, client_key, token, request):

    def validate_access_token(self, client_key, token, request):

    def validate_timestamp_and_nonce(self, client_key, timestamp, nonce, request, request_token=None, access_token=None):

    def validate_redirect_uri(self, client_key, redirect_uri, request):

    def validate_requested_realms(self, client_key, realms, request):

    def validate_realms(self, client_key, token, request, uri=None, realms=None):

    def validate_verifier(self, client_key, token, verifier, request):

    def verify_request_token(self, token, request):

    def verify_realms(self, token, realms, request):

    def save_access_token(self, token, request):

    def save_request_token(self, token, request):

    def save_verifier(self, token, verifier, request):

\OpenStack\keystone-2014.1\keystone\contrib\oauth1\__init__.py

\OpenStack\keystone-2014.1\keystone\contrib\revoke\backends\kvs.py

class Revoke(revoke.Driver):

    def __init__(self, **kwargs):

    def _get_event(self):

    def _prune_expired_events_and_get(self, last_fetch=None, new_event=None):

    def get_events(self, last_fetch=None):

    def revoke(self, event):

\OpenStack\keystone-2014.1\keystone\contrib\revoke\backends\sql.py

class RevocationEvent(sql.ModelBase, sql.ModelDictMixin):

class Revoke(revoke.Driver):

    def _flush_batch_size(self, dialect):

    def _prune_expired_events(self):

    def get_events(self, last_fetch=None):

    def revoke(self, event):

\OpenStack\keystone-2014.1\keystone\contrib\revoke\backends\__init__.py

\OpenStack\keystone-2014.1\keystone\contrib\revoke\controllers.py

class RevokeController(controller.V3Controller):

    def list_revoke_events(self, context):

\OpenStack\keystone-2014.1\keystone\contrib\revoke\core.py

def revoked_before_cutoff_time():

class Manager(manager.Manager):

    def __init__(self):

    def _user_callback(self, service, resource_type, operation, payload):

    def _role_callback(self, service, resource_type, operation, payload):

    def _project_callback(self, service, resource_type, operation, payload):

    def _domain_callback(self, service, resource_type, operation, payload):

    def _trust_callback(self, service, resource_type, operation, payload):

    def _consumer_callback(self, service, resource_type, operation, payload):

    def _access_token_callback(self, service, resource_type, operation, payload):

    def _register_listeners(self):

    def revoke_by_user(self, user_id):

    def revoke_by_expiration(self, user_id, expires_at):

    def revoke_by_grant(self, role_id, user_id=None, domain_id=None, project_id=None):

    def revoke_by_user_and_project(self, user_id, project_id):

    def revoke_by_project_role_assignment(self, project_id, role_id):

    def revoke_by_domain_role_assignment(self, domain_id, role_id):

    def _get_revoke_tree(self):

    def check_token(self, token_values):

    def revoke(self, event):

class Driver(object):

    def get_events(self, last_fetch=None):

    def revoke(self, event):

\OpenStack\keystone-2014.1\keystone\contrib\revoke\migrate_repo\versions\001_revoke_table.py

def upgrade(migrate_engine):

def downgrade(migrate_engine):

\OpenStack\keystone-2014.1\keystone\contrib\revoke\migrate_repo\versions\__init__.py

\OpenStack\keystone-2014.1\keystone\contrib\revoke\migrate_repo\__init__.py

\OpenStack\keystone-2014.1\keystone\contrib\revoke\model.py

def blank_token_data(issued_at):

class RevokeEvent(object):

    def __init__(self, **kwargs):

    def to_dict(self):

    def key_for_name(self, name):

def attr_keys(event):

class RevokeTree(object):

    def __init__(self, revoke_events=None):

    def add_event(self, event):

    def remove_event(self, event):

    def add_events(self, revoke_events):

    def is_revoked(self, token_data):

def build_token_values_v2(access, default_domain_id):

def build_token_values(token_data):

\OpenStack\keystone-2014.1\keystone\contrib\revoke\routers.py

class RevokeExtension(wsgi.ExtensionRouter):

    def add_routes(self, mapper):

\OpenStack\keystone-2014.1\keystone\contrib\revoke\__init__.py

\OpenStack\keystone-2014.1\keystone\contrib\s3\core.py

class S3Extension(wsgi.ExtensionRouter):

    def add_routes(self, mapper):

class S3Controller(controllers.Ec2Controller):

    def check_signature(self, creds_ref, credentials):

\OpenStack\keystone-2014.1\keystone\contrib\s3\__init__.py

\OpenStack\keystone-2014.1\keystone\contrib\simple_cert\controllers.py

class SimpleCert(controller.V3Controller):

    def _get_certificate(self, name):

    def get_ca_certificate(self, context):

    def list_certificates(self, context):

\OpenStack\keystone-2014.1\keystone\contrib\simple_cert\core.py

\OpenStack\keystone-2014.1\keystone\contrib\simple_cert\routers.py

class SimpleCertExtension(wsgi.ExtensionRouter):

    def add_routes(self, mapper):

\OpenStack\keystone-2014.1\keystone\contrib\simple_cert\__init__.py

\OpenStack\keystone-2014.1\keystone\contrib\stats\backends\kvs.py

class Stats(kvs.Base, stats.Driver):

    def get_stats(self, api):

    def set_stats(self, api, stats_ref):

    def increment_stat(self, api, category, value):

\OpenStack\keystone-2014.1\keystone\contrib\stats\backends\__init__.py

\OpenStack\keystone-2014.1\keystone\contrib\stats\core.py

class Manager(manager.Manager):

    def __init__(self):

class Driver(object):

    def get_stats(self, api):

    def set_stats(self, api, stats_ref):

    def increment_stat(self, api, category, value):

class StatsExtension(wsgi.ExtensionRouter):

    def add_routes(self, mapper):

class StatsController(wsgi.Application):

    def __init__(self):

    def get_stats(self, context):

    def reset_stats(self, context):

class StatsMiddleware(wsgi.Middleware):

    def __init__(self, *args, **kwargs):

    def _resolve_api(self, host):

    def capture_stats(self, host, obj, attributes):

    def process_request(self, request):

    def process_response(self, request, response):

\OpenStack\keystone-2014.1\keystone\contrib\stats\__init__.py

\OpenStack\keystone-2014.1\keystone\contrib\user_crud\core.py

class UserController(identity.controllers.User):

    def set_user_password(self, context, user_id, user):

class CrudExtension(wsgi.ExtensionRouter):

    def add_routes(self, mapper):

\OpenStack\keystone-2014.1\keystone\contrib\user_crud\__init__.py

\OpenStack\keystone-2014.1\keystone\contrib\__init__.py

\OpenStack\keystone-2014.1\keystone\controllers.py

class Extensions(wsgi.Application):

    def extensions(self):

    def get_extensions_info(self, context):

    def get_extension_info(self, context, extension_alias):

class AdminExtensions(Extensions):

    def extensions(self):

class PublicExtensions(Extensions):

    def extensions(self):

def register_version(version):

class Version(wsgi.Application):

    def __init__(self, version_type):

    def _get_identity_url(self, context, version):

    def _get_versions_list(self, context):

    def get_versions(self, context):

    def get_version_v2(self, context):

    def get_version_v3(self, context):

\OpenStack\keystone-2014.1\keystone\credential\backends\sql.py

class CredentialModel(sql.ModelBase, sql.DictBase):

class Credential(credential.Driver):

    def db_sync(self, version=None):

    def create_credential(self, credential_id, credential):

    def list_credentials(self, **filters):

    def _get_credential(self, session, credential_id):

    def get_credential(self, credential_id):

    def update_credential(self, credential_id, credential):

    def delete_credential(self, credential_id):

    def delete_credentials_for_project(self, project_id):

    def delete_credentials_for_user(self, user_id):

\OpenStack\keystone-2014.1\keystone\credential\backends\__init__.py

\OpenStack\keystone-2014.1\keystone\credential\controllers.py

class CredentialV3(controller.V3Controller):

    def __init__(self):

    def _assign_unique_id(self, ref, trust_id=None):

    def create_credential(self, context, credential):

    def _blob_to_json(ref):

    def list_credentials(self, context):

    def get_credential(self, context, credential_id):

    def update_credential(self, context, credential_id, credential):

    def delete_credential(self, context, credential_id):

\OpenStack\keystone-2014.1\keystone\credential\core.py

class Manager(manager.Manager):

    def __init__(self):

class Driver(object):

    def create_credential(self, credential_id, credential):

    def list_credentials(self, **filters):

    def get_credential(self, credential_id):

    def update_credential(self, credential_id, credential):

    def delete_credential(self, credential_id):

    def delete_credentials_for_project(self, project_id):

    def delete_credentials_for_user(self, user_id):

    def _delete_credentials(self, match_fn):

\OpenStack\keystone-2014.1\keystone\credential\routers.py

def append_v3_routers(mapper, routers):

\OpenStack\keystone-2014.1\keystone\credential\__init__.py

\OpenStack\keystone-2014.1\keystone\exception.py

class Error(Exception):

    def __init__(self, message=None, **kwargs):

    def _build_message(self, message, **kwargs):

class ValidationError(Error):

class ValidationTimeStampError(Error):

class StringLengthExceeded(ValidationError):

class ValidationSizeError(Error):

class PKITokenExpected(Error):

class SecurityError(Error):

    def _build_message(self, message, **kwargs):

class Unauthorized(SecurityError):

class AuthPluginException(Unauthorized):

    def __init__(self, *args, **kwargs):

class MissingGroups(Unauthorized):

class AuthMethodNotSupported(AuthPluginException):

    def __init__(self, *args, **kwargs):

OpenStack Index

Previous

Next