Reply
Highlighted
New Contributor
Posts: 3
Registered: ‎11-14-2017

SAML authentication Cloudera Manager

Hello,

 

I'm trying to configure the SAML authentication for Cloudera Manager. Once I filled all the fields on Cloudera Manager settings, I restarted the server. In the Cloudera Manager Server logs, there is an error related with SAML.

 

2017-11-14 11:38:26,634 ERROR WebServerImpl:org.opensaml.saml2.metadata.provider.AbstractMetadataProvider: No unmarshaller registered for document element EntityDescriptor
2017-11-14 11:38:26,635 ERROR WebServerImpl:org.opensaml.saml2.metadata.provider.AbstractReloadingMetadataProvider: Unable to unmarshall metadata
org.opensaml.xml.io.UnmarshallingException: org.opensaml.xml.io.UnmarshallingException: No unmarshaller registered for document element EntityDescriptor
at org.opensaml.saml2.metadata.provider.AbstractMetadataProvider.unmarshallMetadata(AbstractMetadataProvider.java:473)
at org.opensaml.saml2.metadata.provider.AbstractReloadingMetadataProvider.unmarshallMetadata(AbstractReloadingMetadataProvider.java:309)
at org.opensaml.saml2.metadata.provider.AbstractReloadingMetadataProvider.processNewMetadata(AbstractReloadingMetadataProvider.java:350)
at org.opensaml.saml2.metadata.provider.AbstractReloadingMetadataProvider.refresh(AbstractReloadingMetadataProvider.java:261)
at org.opensaml.saml2.metadata.provider.AbstractReloadingMetadataProvider.doInitialization(AbstractReloadingMetadataProvider.java:236)
at org.opensaml.saml2.metadata.provider.AbstractMetadataProvider.initialize(AbstractMetadataProvider.java:407)
at com.cloudera.server.cmf.WebServerImpl.configureSAMLAuthentication(WebServerImpl.java:564)
at com.cloudera.server.cmf.WebServerImpl.initializeAuthentication(WebServerImpl.java:398)
at com.cloudera.server.cmf.WebServerImpl.run(WebServerImpl.java:341)
Caused by: org.opensaml.xml.io.UnmarshallingException: No unmarshaller registered for document element EntityDescriptor
at org.opensaml.saml2.metadata.provider.AbstractMetadataProvider.unmarshallMetadata(AbstractMetadataProvider.java:468)
... 8 more

 

I provide the metadata XML

 

<EntityDescriptor entityID="<entityID>" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" validUntil="2023-09-23T06:57:15.396Z">
<IDPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
<KeyDescriptor use="signing">
<ds:KeyInfo>
<ds:X509Data>
<ds:X509Certificate><data></ds:X509Certificate>
</ds:X509Data>
</ds:KeyInfo>
</KeyDescriptor>
<SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect"
Location="https://<hostname>:9443/samlsso"
ResponseLocation="https://<hostname>:9443/samlsso"/>
<SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"
Location="https://<hostname>:9443/samlsso"/>
<SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect"
Location="https://<hostname>:9443/samlsso"/>
</IDPSSODescriptor>
</EntityDescriptor>

 

Is there any error on my metadata XML file?
 
Thank you
Announcements