Programming Guides › Programming Guide for Perl › CLI Policy Management Methods › Affiliate Object Methods › SAMLProfile Method—Sets or Retrieves the Type of SAML Profile
SAMLProfile Method—Sets or Retrieves the Type of SAML Profile
The SAMLProfile method sets or retrieves the type of profile used for sending and receiving SAML assertions.
Syntax
The SAMLProfile method has the following format:
Netegrity::PolicyMgtAffiliate‑>SAMLProfile([SAMLProfile])
Parameters
The SAMLProfile method accepts the following parameters:
SAMLProfile (long)
(Optional) Specifies one of the following valid SAML profile:
- AFFILIATE_SAML_PROFILE_ARTIFACT. The SAML assertion is retrieved from a URL associated with the assertion producer. The URL is specified during configuration of the SAML Artifact authentication scheme.
- AFFILIATE_SAML_PROFILE_POST. The generated SAML assertion is POSTed to the URL specified in the PolicyMgtAffiliate‑>ConsumerURL method. This profile is supported only if the Policy Management API's session version is at least v6.0 SP 2.
Return Value
The SAMLProfile method returns one of the following values:
- A new or existing SAML profile type
- undef if the call was unsuccessful