Programming Guides › Programming Guide for Perl › CLI Policy Management Methods › Affiliate Domain Methods › CreateSAMLServiceProvider Method—Creates a SAML Service Provider
CreateSAMLServiceProvider Method—Creates a SAML Service Provider
The CreateSAMLServiceProvider method creates a SAML 2.0 Service Provider object. A Service Provider object contains information that an Identity Provider needs to produce assertions for the Service Provider. The properties you can set for a SAML 2.0 Service Provider object are listed following.
To modify the properties of an existing Service Provider, call the PolicyMgtSAMLServiceProvider‑>Property method.
Syntax
The CreateSAMLServiceProvider method has the following format:
Netegrity::PolicyMgtAffDomain‑>CreateSAMLServiceProvider(propsHash_ref)
Parameters
The CreateSAMLServiceProvider method accepts the following parameter:
propsHash_ref (hash)
Specifies a reference to a hashtable of metadata properties to define for the SAML 2.0 Service Provider (for example: \%myhash).
Return Values
The CreateSAMLServiceProvider method returns one of the following values:
- A PolicyMgtSAMLServiceProvider object on success
- undef on failure
Remarks
You can define the following properties for a SAML 2.0 Service Provider. Properties are grouped according to the way they are presented on the SAML Service Provider Properties dialog box.
General Properties
- SAML_NAME
- SAML_DESCRIPTION
- SAML_SP_AUTHENTICATION_URL
- SAML_ENABLED
- SAML_SP_DOMAIN
Name IDs Tab
- SAML_SP_NAMEID_FORMAT
- SAML_SP_NAMEID_TYPE
- SAML_SP_NAMEID_STATIC
- SAML_SP_NAMEID_ATTRNAME
- SAML_SP_NAMEID_DNSPEC
- SAML_AFFILIATION
General Tab
- SAML_KEY_SPID
- SAML_SP_IDPID
- SAML_MAJOR_VERSION
- SAML_MINOR_VERSION
- SAML_SKEWTIME
- SAML_DISABLE_SIGNATURE_PROCESSING
- SAML_DSIG_VERINFO_ISSUER_DN
- SAML_DSIG_VERINFO_SERIAL_NUMBER
SSO Tab
- SAML_AUDIENCE
- SAML_SP_ASSERTION_CONSUMER_DEFAULT_URL
- SAML_ENABLE_SSO_ARTIFACT_BINDING
- SAML_SP_ARTIFACT_ENCODING
- SAML_SP_IDP_SOURCEID
- SAML_SP_PASSWORD
- SAML_ENABLE_SSO_POST_BINDING
- SAML_SSOECPPROFILE
- SAML_SP_REQUIRE_SIGNED_AUTHNREQUESTS
- SAML_SP_AUTHENTICATION_LEVEL
- SAML_SP_AUTHN_CONTEXT_CLASS_REF
- SAML_SP_VALIDITY_DURATION
- SAML_SP_STARTTIME
- SAML_SP_ENDTIME
SLO Tab
- SAML_SLO_REDIRECT_BINDING
- SAML_SLO_SERVICE_VALIDITY_DURATION
- SAML_SLO_SERVICE_URL
- SAML_SLO_SERVICE_RESPONSE_URL
- SAML_SLO_SERVICE_CONFIRM_URL
IPD Tab
- SAML_SP_ENABLE_IPD
- SAML_SP_IPD_SERVICE_URL
- SAML_SP_COMMON_DOMAIN
- SAML_SP_PERSISTENT_COOKIE
Attribute Service Tab
- SAML_SP_ATTRSVC_ENABLE
- SAML_SP_ATTRSVC_VALIDITY_DURATION
- SAML_SP_ATTRSVC_SIGN_ASSERTION
- SAML_SP_ATTRSVC_LDAP_SEARCH_SPEC
- SAML_SP_ATTRSVC_ODBC_SEARCH_SPEC
- SAML_SP_ATTRSVC_WINNT_SEARCH_SPEC
- SAML_SP_ATTRSVC_CUSTOM_SEARCH_SPEC
- SAML_SP_ATTRSVC_AD_SEARCH_SPEC
Encryption Tab
- SAML_SP_ENCRYPT_ID
- SAML_SP_ENCRYPT_ASSERTION
- SAML_SP_ENCRYPT_BLOCK_ALGO
- SAML_SP_ENCRYPT_KEY_ALGO
- SAML_SP_ENCRYPT_CERT_ISSUER_DN
- SAML_SP_ENCRYPT_CERT_SERIAL_NUMBER
Advanced Tab
- SAML_SP_PLUGIN_CLASS
- SAML_SP_PLUGIN_PARAMS