Administrative Logout using Attribute-Based Revocation

Lipscomb, Gary glipscomb at csu.edu.au
Tue Feb 11 00:28:08 UTC 2025


Hi Scott,

I had misconfigured the openLDAP data connector so the pwdChangedTime attribute wasn't being returned so that's why it had no value 🙁

The "revocation" attribute is now defined as

  <AttributeDefinition id="revocation"
      xsi:type="DateTime"
      epochInSeconds="true"
      formattingString="yyyyMMddHHmmssZZZZZ">
    <InputDataConnector ref="ldap" attributeNames="pwdChangedTime" />
  </AttributeDefinition>

All now working as hoped.

To close the loop
pwdChangedTime: 20250210101839Z
https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/format/DateTimeFormatter.html  explains the formatting above

regards
Gary


Gary Lipscomb

Technical Officer, Systems

IT Infrastructure & Security | Division of Information Technology



________________________________
From: Cantor, Scott <cantor.2 at osu.edu>
Sent: Tuesday, 11 February 2025 00:25
To: Shib Users <users at shibboleth.net>
Cc: Lipscomb, Gary <glipscomb at csu.edu.au>
Subject: Re: Administrative Logout using Attribute-Based Revocation

I doubt your service account has access to the value, but the connector would log exactly what's coming back from LDAP. The attribute definition has an option that will throw if the output value count doesn't match the input count, and if it's not doing that, there are no input values.

In either case, you'd need a formattingString that you're not providing (that's not a numeric value, it has to be parsed).

All of that is documented in the reference table.

Nor do you have any need for an encoder unless you're planning to send that out as a SSO attribute/claim.

-- Scott



[Charles Sturt]<https://www.csu.edu.au>

________________________________

LEGAL NOTICE

This email (including correspondence comprising an email chain and any attachment) is confidential and is intended for the use of the addressee(s) only. If you are not the intended recipient of this email, you must not copy, distribute, take any action in reliance on it or disclose it to anyone.
Any confidentiality is not waived or lost by reason of mistaken delivery. Any email should be checked for viruses and defects before opening. Charles Sturt University does not accept liability for viruses or any consequence which arise as a result of this email transmission. Email communications with Charles Sturt University may be subject to automated email filtering, which could result in the delay or deletion of a legitimate email before it is read at Charles Sturt University. The views expressed in this email are not necessarily those of Charles Sturt University.

Charles Sturt University in Australia<https://www.csu.edu.au> The Grange Chancellery, Panorama Avenue, Bathurst NSW Australia 2795 (ABN: 83 878 708 551). Charles Sturt University - TEQSA Provider Identification: PRV12018 (Australian University). CRICOS Provider: 00005F.

Consider the environment before printing this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20250211/0aaf43a0/attachment.htm>


More information about the users mailing list