idpv3.x user password as attribute
Rod Widdowson
rdw at steadingsoftware.com
Wed Mar 18 13:20:37 EDT 2015
> with
> the scripted attribute only, I get the following error:
[edu.internet2.middleware.shibboleth.common.attribute.provider.V2SAMLProfile
RequestContext:911]
AttributeDefinition: 'password' called unsupported method getUserSession
> But there is a compatibility v2 description for requestContext which
> says "requestContext" does include all v2 methods (including
> getUserSession?)
>
(https://wiki.shibboleth.net/confluence/display/IDP30/ScriptedAttributeDefin
iti
> on#ScriptedAttributeDefinition-V2Compatibility)
What that page says is
"A variable name requestContext which implements all the methods
implemented by the class
edu.internet2.middleware.shibboleth.common.profile.provider.BaseSAMLProfileR
equestContext in V2. However all but three of them will log an error and
(where required) return a null pointer"
Which is what is happening.
The method getUserSession *is* implemented (otherwise you would have got a
javascript error), but all the implementation does is log an error and
returns a null.
I'll try to clean up the prose to make it obvious that using anything but
the three provided functions will not work.
Rod
More information about the users
mailing list