[JIRA] Commented: (SSPCPP-383) Tag entityID not usable in error templates
Scott Cantor (JIRA)
noreply at shibboleth.net
Thu Jun 14 17:06:03 BST 2012
[ https://issues.shibboleth.net/jira/browse/SSPCPP-383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14161#comment-14161 ]
Scott Cantor commented on SSPCPP-383:
-------------------------------------
A few points:
- the entityID should be set any time it can be
- the RequestMapper never directly sends anybody to an error template
- accessError never gets used by default, it's only used if you override the behavior of the system when access control plugins fail to go there instead of just returning a Forbidden status
What you're trying to do is what the new post SSO hook feature and AttributeChecker handler is designed for, and that uses a real session and always has entityID set per normal. Or should anyway, I'll check it.
With 2.5, you also have full control over the extraction of the entityID into a custom attribute, so you can treat it in that fashion to get around any limitations as well.
I'll check on a couple of things, but I don't think whatever you're seeing is something I could reproduce. Once a session exists, entityID should be set.
I'd suggest you take any issues with the alpha not behaving as you expect to the dev list and I can figure out if it's working or not or you can file new issues.
> Tag entityID not usable in error templates
> ------------------------------------------
>
> Key: SSPCPP-383
> URL: https://issues.shibboleth.net/jira/browse/SSPCPP-383
> Project: Shibboleth SP - C++
> Issue Type: Bug
> Affects Versions: 2.3.1
> Reporter: Lukas Haemmerle
> Assignee: Scott Cantor
> Priority: Trivial
> Fix For: 2.5
>
> Original Estimate: 1 hour
> Time Spent: 30 minutes
> Remaining Estimate: 0 minutes
>
> Wanted to customize an error template that outputs the entityID of an IdP as described in:
> https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPErrors
> While <shibmlp supportContact/> works as expected, <shibmlp entityID/> as well as <shibmlp entityId/> remained empty.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the commits
mailing list