class IdpSettingsAdapter def self.settings(idp_entity_id) if idp_entity_id == "http://localhost:8020/saml/metadata" { assertion_consumer_service_url: "http://localhost:8020/users/saml/auth", assertion_consumer_service_binding: "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST", name_identifier_format: "urn:oasis:names:tc:SAML:2.0:nameid-format:transient", issuer: "sp_issuer", idp_entity_id: "http://localhost:8020/saml/metadata", authn_context: "", idp_slo_target_url: "http://localhost:8010/saml/logout", idp_sso_target_url: "http://localhost:8010/saml/auth", idp_cert_fingerprint: "9E:65:2E:03:06:8D:80:F2:86:C7:6C:77:A1:D9:14:97:0A:4D:F4:4D" } else {} end end end