Using SP Entity ID in RelationalDatabase Dataconnector
Jeff Chapin
jeff.chapin at uni.edu
Fri Mar 22 13:06:08 EDT 2019
We are trying to implement Duo, and would like to add a 'useDuo' attribute.
If this is set to 'yes', that user should use Duo, and if not, not.
I have tried to set up a DataConnector with a RelationalDatabase to run the
following:
select VARIABLE useDuo from dual;
when Variable is something like '$requestContext.getPrincipalName()' or
'resolutionContext.principal()' we successfully get the principal back, but
I cannot seem to figure out how to get the SP Entity ID. I have tried
things like:
$requestContext.getRelyingPartyId() and
$resolutionContext.attributeRecipientID()
which results in those stirngs *literally* being returned.
Ultimately, we want to query a DB and see if a given user is forced to use
Duo or nor, based on business logic that is implemented and maintained in
the database.
Thanks,
Jeff
--
Jeff Chapin,
Panther eSports Adviser
Assistant Systems/Applications Administrator
ITS-IS, University of Northern Iowa
Phone: 319-273-3162 Email: Jeff.Chapin at uni.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20190322/f700ca6a/attachment.html>
More information about the users
mailing list