[java-identity-provider] branch main updated: IDP-995 - Administrative logout features

Scott Cantor cantor.2 at osu.edu
Wed Jan 4 20:36:58 UTC 2023


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch main
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=b0c47cc1e5c64cf53f79054386f7c9b70d27577e

The following commit(s) were added to refs/heads/main by this push:
     new b0c47cc1e IDP-995 - Administrative logout features
b0c47cc1e is described below

commit b0c47cc1e5c64cf53f79054386f7c9b70d27577e
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Jan 4 15:35:09 2023 -0500

    IDP-995 - Administrative logout features
    
    https://shibboleth.atlassian.net/browse/IDP-995
    
    Optimize out building resolution context when using cached result.
---
 .../idp/authn/revocation/impl/AttributeRevocationCondition.java       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/revocation/impl/AttributeRevocationCondition.java b/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/revocation/impl/AttributeRevocationCondition.java
index eb180cedf..d288529d6 100644
--- a/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/revocation/impl/AttributeRevocationCondition.java
+++ b/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/revocation/impl/AttributeRevocationCondition.java
@@ -173,10 +173,10 @@ public class AttributeRevocationCondition extends AbstractInitializableComponent
         
         final ScratchContext context = input.getSubcontext(ScratchContext.class, true);
         
-        final AttributeResolutionContext resolutionContext = buildResolutionContext(input, principal);
-
         if (!context.getMap().containsKey(getClass())) {
+            final AttributeResolutionContext resolutionContext = buildResolutionContext(input, principal);
             resolutionContext.resolveAttributes(attributeResolver);
+            
             final Collection<Instant> records = new ArrayList<>();
             if (resolutionContext.getResolvedIdPAttributes().containsKey(attributeId)) {
                 for (final IdPAttributeValue value :

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list