adding attributes to attribute map
Justin Russo
justin9 at ymail.com
Tue Jul 2 16:36:57 EDT 2013
Nate, thanks for points it out.
i restarted the service and found the below error log.
i believe the below error are due to how i added the idp attribute name (eg -
<Attribute Name="https://federation.nih.gov/person/FirstName" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" id="First_Name">
</Attribute>).
2013-07-02 16:30:52 INFO OpenSAML.MetadataProvider.XML : reload thread started...running when signaled
2013-07-02 16:30:52 INFO Shibboleth.Application : building AttributeExtractor of type XML...
2013-07-02 16:30:52 DEBUG Shibboleth.AttributeExtractor.XML : using local resource (C:/opt/shibboleth-sp/etc/shibboleth/attribute-map.xml), will not monitor for changes
2013-07-02 16:30:52 DEBUG Shibboleth.AttributeExtractor.XML : loading configuration from external resource...
2013-07-02 16:30:52 ERROR XMLTooling.ParserPool : error on line 44, column 152, message: attribute 'Name' is not declared for element 'Attribute'
2013-07-02 16:30:52 ERROR XMLTooling.ParserPool : error on line 44, column 152, message: attribute 'NameFormat' is not declared for element 'Attribute'
2013-07-02 16:30:52 ERROR XMLTooling.ParserPool : error on line 44, column 152, message: missing required attribute 'name'
2013-07-02 16:30:52 ERROR XMLTooling.ParserPool : error on line 46, column 131, message: attribute 'Name' is not declared for element 'Attribute'
2013-07-02 16:30:52 ERROR XMLTooling.ParserPool : error on line 46, column 131, message: attribute 'NameFormat' is not declared for element 'Attribute'
2013-07-02 16:30:52 ERROR XMLTooling.ParserPool : error on line 46, column 131, message: missing required attribute 'name'
2013-07-02 16:30:52 ERROR XMLTooling.ParserPool : error on line 48, column 141, message: attribute 'Name' is not declared for element 'Attribute'
2013-07-02 16:30:52 ERROR XMLTooling.ParserPool : error on line 48, column 141, message: attribute 'NameFormat' is not declared for element 'Attribute'
2013-07-02 16:30:52 ERROR XMLTooling.ParserPool : error on line 48, column 141, message: missing required attribute 'name'
2013-07-02 16:30:52 ERROR XMLTooling.ParserPool : error on line 50, column 139, message: attribute 'Name' is not declared for element 'Attribute'
2013-07-02 16:30:52 ERROR XMLTooling.ParserPool : error on line 50, column 139, message: attribute 'NameFormat' is not declared for element 'Attribute'
2013-07-02 16:30:52 ERROR XMLTooling.ParserPool : error on line 50, column 139, message: missing required attribute 'name'
2013-07-02 16:30:52 ERROR XMLTooling.ParserPool : error on line 52, column 143, message: attribute 'Name' is not declared for element 'Attribute'
2013-07-02 16:30:52 ERROR XMLTooling.ParserPool : error on line 52, column 143, message: attribute 'NameFormat' is not declared for element 'Attribute'
2013-07-02 16:30:52 ERROR XMLTooling.ParserPool : error on line 52, column 143, message: missing required attribute 'name'
2013-07-02 16:30:52 ERROR XMLTooling.ParserPool : error on line 54, column 133, message: attribute 'Name' is not declared for element 'Attribute'
2013-07-02 16:30:52 ERROR XMLTooling.ParserPool : error on line 54, column 133, message: attribute 'NameFormat' is not declared for element 'Attribute'
2013-07-02 16:30:52 ERROR XMLTooling.ParserPool : error on line 54, column 133, message: missing required attribute 'name'
2013-07-02 16:30:52 ERROR Shibboleth.AttributeExtractor.XML : error while loading resource (C:/opt/shibboleth-sp/etc/shibboleth/attribute-map.xml): XML error(s) during parsing, check log for specifics
2013-07-02 16:30:52 CRIT Shibboleth.Application : error building AttributeExtractor: XML error(s) during parsing, check log for specifics
2013-07-02 16:30:52 INFO Shibboleth.Application : building AttributeFilter of type XML...
2013-07-02 16:30:52 DEBUG Shibboleth.AttributeFilter : using local resource (C:/opt/shibboleth-sp/etc/shibboleth/attribute-policy.xml), will monitor for changes
2013-07-02 16:30:52 DEBUG Shibboleth.AttributeFilter : loading configuration from external resource...
2013-07-02 16:30:52 INFO Shibboleth.AttributeFilter : loaded XML resource (C:/opt/shibboleth-sp/etc/shibboleth/attribute-policy.xml)
2013-07-02 16:30:52 INFO Shibboleth.Application : building AttributeResolver of type Query...
2013-07-02 16:30:52 INFO Shibboleth.Application : building CredentialResolver of type File...
________________________________
From: Nate Klingenstein <ndk at internet2.edu>
To: Shib Users <users at shibboleth.net>
Sent: Tuesday, July 2, 2013 4:25 PM
Subject: Re: adding attributes to attribute map
Justin,
Try checking the log during startup. It's probably failing to parse your attribute map file unless you have made some improbable configuration mistakes.
Thanks,
Nate.
On Jul 2, 2013, at 20:20 , Justin Russo wrote:
> 2013-07-02 16:15:24 WARN Shibboleth.SSO.SAML2 [1]: no AttributeExtractor plugin installed, check log during startup
> 2013-07-02 16:15:24 DEBUG Shibboleth.SSO.SAML2 [1]: resolving attributes...
>
> so i need to install something to see the attribute extraction that youve mentioned.
>
--
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20130702/e16eb412/attachment.html
More information about the users
mailing list