commit | 40cc58ea520a06343525f676f475b5f47c367520 | [log] [tgz] |
---|---|---|
author | Travis Estell <travis.estell@citrix.com> | Wed Jun 17 01:19:15 2020 -0400 |
committer | Robert Munteanu <robert.munteanu@gmail.com> | Thu Jun 18 10:37:08 2020 +0200 |
tree | 7ff07a43f8a505176c67d1b6830d9a700cdcf4c5 | |
parent | 83f19de59922ad13f49884ddb6ef2a2e9ddb8da0 [diff] |
SLING-7731 - Call to addService is no longer needed for modification events in SlingAuthenticatorServiceListener
diff --git a/src/main/java/org/apache/sling/auth/core/impl/SlingAuthenticatorServiceListener.java b/src/main/java/org/apache/sling/auth/core/impl/SlingAuthenticatorServiceListener.java index 53f591f..45a0bba 100644 --- a/src/main/java/org/apache/sling/auth/core/impl/SlingAuthenticatorServiceListener.java +++ b/src/main/java/org/apache/sling/auth/core/impl/SlingAuthenticatorServiceListener.java
@@ -82,7 +82,7 @@ // add requirements for newly registered services and for // updated services - if ((event.getType() & (ServiceEvent.REGISTERED | ServiceEvent.MODIFIED)) != 0) { + if ((event.getType() & ServiceEvent.REGISTERED ) != 0) { addService(event.getServiceReference()); } }