ComponentSpace

Forums



Method to call InitiateSSO with PartnerIdentityProviderConfiguration


Method to call InitiateSSO with PartnerIdentityProviderConfiguration

Author
Message
nulleleven
nulleleven
New Member
New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)

Group: Forum Members
Posts: 4, Visits: 24
We have several potential IdP's, and don't want them to be stored in a config, but rather have them in our database. We see the PartnerIdentityProviderConfiguration class, but do not see a signature of InitiateSSO (Or InitiateSLO for that matter) that takes this object. We need the properties occasionally, IE DisableDestinationCheck and ForceAuthn. Is there a method we can call into InitiateSSO with this object so that we can pass these properties or can they only be fetched from saml.config?
ComponentSpace
ComponentSpace
ComponentSpace Development
ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)

Group: Administrators
Posts: 2.8K, Visits: 8.5K
We don't include SAML API methods that take SAML configuration objects as arguments.

The recommended approach for handling SAML configuration stored in a database is to implement the ISAMLConfigurationResolver interface. We call into this interface whenever we need specific configuration. Your implementation would retrieve the requested configuration from the database.

For more information, please refer to the "Implementing ISAMLConfigurationResolver" section of the Configuration Guide.

https://www.componentspace.com/Forums/9350/Configuration-Guide


Regards
ComponentSpace Development
nulleleven
nulleleven
New Member
New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)New Member (7 reputation)

Group: Forum Members
Posts: 4, Visits: 24
ComponentSpace - 9/16/2021
We don't include SAML API methods that take SAML configuration objects as arguments.

The recommended approach for handling SAML configuration stored in a database is to implement the ISAMLConfigurationResolver interface. We call into this interface whenever we need specific configuration. Your implementation would retrieve the requested configuration from the database.

For more information, please refer to the "Implementing ISAMLConfigurationResolver" section of the Configuration Guide.

https://www.componentspace.com/Forums/9350/Configuration-Guide

Oh I see, so we just build the SAML config object then internally the SAML application will use this object in lieu of a saml.config file. Thanks!
ComponentSpace
ComponentSpace
ComponentSpace Development
ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)

Group: Administrators
Posts: 2.8K, Visits: 8.5K
That's correct. We actually use the ISAMLConfigurationResolver in all circumstances including when a saml.config file is used. There's an inbuilt implementation of ISAMLConfigurationResolver that reads from the cached saml.config file. Your ISAMLConfigurationResolver would read from the custom database. The Configuration Guide I mentioned previously describes how to implement this interface and how to register your implementation.  

Regards
ComponentSpace Development
GO


Similar Topics


Execution: 0.000. 4 queries. Compression Enabled.
Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....









Forums, Documentation & Knowledge Base - ComponentSpace


Search