authnContextTranslationStrategyEx: passing through the authenticationContextClassRef unmodified?

Wessel, Keith kwessel at
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.


-----Original Message-----
From: users <users-bounces at> On Behalf Of Cantor, Scott
Sent: Thursday, October 14, 2021 10:11 AM
To: Shib Users <users at>
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.

-- Scott

On 10/14/21, 11:09 AM, "users on behalf of Cantor, Scott" <users-bounces at on behalf of cantor.2 at> wrote:

    You can't just return it, you still have to wrap it in a Principal of the right type.

    -- Scott

For Consortium Member technical support, see;!!DZ3fjg!sIXzrG7YVn788I4Ugyb1Fxp8uM75qxUKL0DjYSvVHxZoGLJQuoz8QULy_I6YW9jiEQ$ 
To unsubscribe from this list send an email to users-unsubscribe at

More information about the users mailing list