authnContextTranslationStrategyEx: passing through the authenticationContextClassRef unmodified?
kwessel at illinois.edu
Thu Oct 14 16:22:32 UTC 2021
Ah. Didn't notice the difference between the authnContextClassRef object that I'm getting back and the principal that I need to put in the collection to return. I get it now.
According to the docs, the AuthnContextClassRef interface doesn't have a getURL method. It has a getAuthnContextClassRef method that returns a string, and I believe that's what I want. But the method is marked as deprecated. Is there another way to get the URL out?
I don't see any other methods that will give me this string.
From: users <users-bounces at shibboleth.net> On Behalf Of Cantor, Scott
Sent: Thursday, October 14, 2021 10:11 AM
To: Shib Users <users at shibboleth.net>
Subject: Re: authnContextTranslationStrategyEx: passing through the authenticationContextClassRef unmodified?
(Meaning wrap the underlying string value which you have to get via getURL.) An AuthnContextClassRef in the API is an XMLObject, not a string, and the return value of the function is Collection<Principal> so there's translation involved.
On 10/14/21, 11:09 AM, "users on behalf of Cantor, Scott" <users-bounces at shibboleth.net on behalf of cantor.2 at osu.edu> wrote:
You can't just return it, you still have to wrap it in a Principal of the right type.
For Consortium Member technical support, see https://urldefense.com/v3/__https://shibboleth.atlassian.net/wiki/x/ZYEpPw__;!!DZ3fjg!sIXzrG7YVn788I4Ugyb1Fxp8uM75qxUKL0DjYSvVHxZoGLJQuoz8QULy_I6YW9jiEQ$
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
More information about the users