配置单点登录(SSO)
BriefCam 提供三个现成的单点登录选项,以及实现自定义单点登录解决方案的界面。
三个内置SSO选项为:
基于SAML的SSO,您可以在其中对现有SAML令牌提供商进行身份验证。有关如何部署此项基于SAML的SSO的信息,请参阅。
Active Directory单点登录,我们连接到一个Active Directory并从那里同步用户和组。Microsoft Active Directory集成有关如何部署该功能的信息,请参阅《管BriefCam理员指南》中的部分。
Milestone XProtect单点登录。在Milestone安装中,我们提供使用Milestone Client and Directory的选项,以提供单点登录解决方案。
基于SAML的SSO
对于基于SAML的SSO,BriefCam所需的强制属性(SAML断言/元数据)为:
电子邮件
名字
姓氏
UPN
在SSO过程中自动创建的BriefCam用户基于SAML响应中收到的电子邮件属性进行创建。
要将现有SAML令牌提供程序(如Microsoft ADFS)与BriefCamSAML基础设施集成,请使用BriefCamSAML基础设施,方法是在环境设置的Pro Web API部分的相应位置输入您自己的令牌提供程序的信息和URL:
SamlLoginUrl –这是SAML登录端点,它是响应SAML身份验证请求的SAML令牌提供程序。登录BriefCam到时,用户会被重新路由到此地址,并包含一个参数,告知端点在登录后将登录信息返回至BriefCam。
SamlLogoutUrl –这是SAML注销端点,它提供注销功能。用户注销后,将重定向到此地址BriefCam。
SamlCertificate –这是SAML证书指纹,这是Windows为该SAML证书提供的唯一标识符。该证书应安装在本地PC上,用于加密SAML客户端和SAML令牌提供方BriefCam之间的通信。

示例响应示例
<samlp:Response xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
ID="_abc123"
Version="2.0"
IssueInstant="2025-01-20T12:00:00Z"
Destination="https://briefcamhost.domain.com/ProWebApi/AuthenticationApi/AuthenticateSaml">
<saml:Issuer>https://idp.example.com</saml:Issuer>
<samlp:Status>
<samlp:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/>
</samlp:Status>
<saml:Assertion ID="_def456"
IssueInstant="2025-01-20T12:00:00Z"
Version="2.0">
<saml:Issuer>https://idp.example.com</saml:Issuer>
<saml:Subject>
<saml:NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress">
user@example.com
</saml:NameID>
<saml:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">
<saml:SubjectConfirmationData NotOnOrAfter="2025-01-20T13:00:00Z"
Recipient="https://briefcamhost.domain.com/ProWebApi/AuthenticationApi/AuthenticateSaml"/>
</saml:SubjectConfirmation>
</saml:Subject>
<saml:Conditions NotBefore="2025-01-20T12:00:00Z" NotOnOrAfter="2025-01-20T13:00:00Z">
<saml:AudienceRestriction>
<saml:Audience>https://briefcamhost.domain.com/ProWebApi/AuthenticationApi/AuthenticateSaml</saml:Audience>
</saml:AudienceRestriction>
</saml:Conditions>
<saml:AttributeStatement>
<saml:Attribute Name="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress">
<saml:AttributeValue>user@example.com</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname">
<saml:AttributeValue>John</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname">
<saml:AttributeValue>Doe</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn">
<saml:AttributeValue>john.doe@example.com</saml:AttributeValue>
</saml:Attribute>
</saml:AttributeStatement>
<saml:AuthnStatement AuthnInstant="2025-01-20T12:00:00Z">
<saml:AuthnContext>
<saml:AuthnContextClassRef>
urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport
</saml:AuthnContextClassRef>
</saml:AuthnContext>
</saml:AuthnStatement>
</saml:Assertion>
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:SignedInfo>
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
<ds:Reference URI="#_def456">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
<ds:DigestValue>Base64EncodedDigestValue</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue>Base64EncodedSignatureValue</ds:SignatureValue>
</ds:Signature>
</samlp:Response>