Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

SAML SSO - Multiple IDP

Mareetta
New Contributor III
New Contributor III

Could someone please share a working AuthenticationConfig.groovy file with MULTIPLE IDP configuration? We tried following the same steps as mentioned in the documents. But see the error below. 

caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.springframework.security.saml.SAMLLogoutFilter
.setProfile(org.springframework.security.saml.websso.SingleLogoutProfile); nested exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'logoutprofile': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationExcep
tion: Could not autowire method: public void org.springframework.security.saml.websso.AbstractProfileBase.setMetadata(org.springframework.security.saml.metad
ata.MetadataManager); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'metadata': Invocation of in
it method failed; nested exception is java.lang.UnsupportedOperationException
... 5 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'logoutprofile': Injection of autowired dependencies failed
; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.springframework.security.saml.webss
o.AbstractProfileBase.setMetadata(org.springframework.security.saml.metadata.MetadataManager); nested exception is org.springframework.beans.factory.BeanCrea
tionException: Error creating bean with name 'metadata': Invocation of init method failed; nested exception is java.lang.UnsupportedOperationException
... 5 more
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.springframework.security.saml.websso.AbstractP
rofileBase.setMetadata(org.springframework.security.saml.metadata.MetadataManager); nested exception is org.springframework.beans.factory.BeanCreationExcepti
on: Error creating bean with name 'metadata': Invocation of init method failed; nested exception is java.lang.UnsupportedOperationException
... 5 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'metadata': Invocation of init method failed; nested except
ion is java.lang.UnsupportedOperationException
... 5 more
Caused by: java.lang.UnsupportedOperationException
at java.util.AbstractList.add(AbstractList.java:148)
at java.util.AbstractList.add(AbstractList.java:108)
... 5 more
2023-03-15 11:36:11,804 [localhost-startStop-1] ERROR spring.BeanBuilder - WARNING: Your cache provider is set to 'com.opensymphony.oscache.hibernate.OSCach
eProvider' in DataSource.groovy, however the class for this provider cannot be found.

3 REPLIES 3

saikanumuri
Saviynt Employee
Saviynt Employee

Hi Maretta,

From the logs, it appears that the configuration is incorrect. Please ensure that the file name provided in the AuthenticationConfig.groovy is different for both IDPs.

Attaching the Sample working file for your reference.

Mareetta
New Contributor III
New Contributor III

Can we hide the username box from the login page and only keep the IDP login option?Mareetta_0-1680760575748.png

 

Dave
Community Manager
Community Manager

@Mareetta - You have already asked that question and received an answer over here:
https://forums.saviynt.com/t5/identity-governance/can-we-hide-the-username-box-from-the-login-page/t...

If the reply above by saikanumuri answered your original question in this thread, please click the "Accept As Solution" button on the reply by saikanumuri