예제 #1
0
파일: idp.py 프로젝트: lanve/conpaas1.4
def Xsupport_external_idp():
    try:
        result = config_parser.getboolean('conpaas', 'SUPPORT_EXTERNAL_IDP')
    except ConfigParser.NoOptionError:
        result = False;       # default value
    return build_response(result.__str__())
예제 #2
0
def support_openid():
    try:
        result = config_parser.getboolean('conpaas', 'SUPPORT_OPENID')
    except ConfigParser.NoOptionError:
        result = False;       # default value, i.e. if not found in the config file
    return build_response(result.__str__())