Edge यूज़र इंटरफ़ेस (यूआई) पर एसएएमएल चालू करें

Edge for Private Cloud v4.19.01

Edge एसएसओ (SSO) मॉड्यूल इंस्टॉल करने के बाद, एसएएमएल को सपोर्ट करने के लिए, एज यूज़र इंटरफ़ेस (यूआई) को कॉन्फ़िगर करना होगा. आम तौर पर, Edge यूज़र इंटरफ़ेस (यूआई) उसी एज नोड पर इंस्टॉल किया जाता है जिसमें एज मैनेजमेंट सर्वर इस्तेमाल किया जाता है. इसका मतलब है कि वह यूज़र इंटरफ़ेस (यूआई) उसी नोड पर इंस्टॉल किया जाता है जो apigee-sso पर मौजूद होता है.

एज यूज़र इंटरफ़ेस (यूआई) पर एसएएमएल की सुविधा चालू करने के बाद, एज यूज़र इंटरफ़ेस (यूआई) मैनेजमेंट सर्वर से कनेक्ट करने के लिए, OAuth का इस्तेमाल करता है. आपको एज यूज़र इंटरफ़ेस (यूआई) और एज मैनेजमेंट सर्वर के बीच OAuth टोकन की समयसीमा खत्म होने की चिंता करने की ज़रूरत नहीं है. दिखने वाले टोकन, अपने-आप रीफ़्रेश हो जाते हैं.

एज यूज़र इंटरफ़ेस (यूआई) को कॉन्फ़िगर करने के लिए, आपको एक कॉन्फ़िगरेशन फ़ाइल बनानी होगी:

IP1=hostname_or_IP_of_apigee_SSO

# Comma separated list of URLs for the Edge UI,
# in the format:  http_or_https://IP_or_hostname_of_UI:9000.
# You can have multiple URLs when you have multiple installations
# of the Edge UI or you have multiple data centers.
EDGEUI_PUBLIC_URIS=http_or_https://IP_or_hostname_of_UI:9000

# Publicly accessible URLs for Edge UI.
EDGEUI_SSO_REGISTERED_PUBLIC_URIS=$EDGEUI_PUBLIC_URIS

# Required variables
# Default is "n" to disable SAML support.
EDGEUI_SSO_ENABLED=y

# Information about apigee-sso.
# Externally accessible IP or DNS of apigee-sso.
SSO_PUBLIC_URL_HOSTNAME=$IP1
SSO_PUBLIC_URL_PORT=9099
# Default is http. Set to https if you enabled TLS on apigee-sso.
SSO_PUBLIC_URL_SCHEME=http

# SSO admin credentials as set when you installed apigee-sso.
SSO_ADMIN_NAME=ssoadmin
SSO_ADMIN_SECRET=Secret123

# The name of the OAuth client used to connect to apigee-sso.
# The default client name is edgeui.
EDGEUI_SSO_CLIENT_NAME=edgeui
# Oauth client password using uppercase, lowercase, number, and special chars.
EDGEUI_SSO_CLIENT_SECRET=ssoClient123

# If set, the existing EDGEUI client is deleted and new one is created.
# The default value is "n".
# Set to "y" when you configure SAML and change the value of
# any of the EDGEUI_* properties.
EDGEUI_SSO_CLIENT_OVERWRITE=y

एसएएमएल की सुविधा को चालू करने के लिए, Edge यूज़र इंटरफ़ेस (यूआई) कॉन्फ़िगर करें:

  1. यह निर्देश चलाएं:
    /opt/apigee/apigee-service/bin/apigee-service edge-ui configure-sso -f configFile

बाद में ये वैल्यू बदलने के लिए, कॉन्फ़िगरेशन फ़ाइल अपडेट करें और कमांड को फिर से चलाएं.