title: Issues Importing SP Metadata to SSOCircle Spring Security SAML Extention
body: <p>I'm running the Spring Security SAML Extension sample program and I'm able to generate the Service Provider metadata.  However, when I try to import the SP metadata to SSOCircle, I get the following error:</p>
  
  <blockquote>
    <p><strong>Meta Data Import</strong></p>
    
    <p>Your data could not be imported 
    Reason:</p>
    
    <p>DefaultValidationEventHandler: [FATAL_ERROR]: Unexpected end of
    element {urn:oasis:names:tc:SAML:2.0:metadata}:Extensions Location:
    line 4 Entity descriptor "localhost" under realm "/" has invalid
    syntax.</p>
  </blockquote>
  
  <p>I tried following the suggestions in this <a href="http://forum.spring.io/forum/spring-projects/security/saml/725846-metadata-import-to-ssocircle-not-working" rel="nofollow">post</a>, but when I turn off discovery, it no longer shows the page and SSOCircle is shown and it says: <strong>Error occurred</strong> Reason: The SAML Request is invalid.</p>
  
  <p>Any ideas on what I'm doing wrong?  BTW, I'm using the 1.0.0.RELEASE version of the SAML Extension.</p>
  
  <p>Thanks!</p>