[java-shib-attribute] 01/02: JSATTR-6: SAML AttributeQuery DataConnector
Brent Putman
putmanb at georgetown.edu
Fri Nov 7 01:40:13 UTC 2025
This is an automated email from the git hooks/post-receive script.
putmanb pushed a commit to branch main
in repository java-shib-attribute.
View the commit online:
https://git.shibboleth.net/view/?p=java-shib-attribute.git;a=commit;h=b18140030e497fe6adb8b72080cee4781fbc2abf
commit b18140030e497fe6adb8b72080cee4781fbc2abf
Author: Brent Putman <putmanb at georgetown.edu>
AuthorDate: Thu Nov 6 18:25:48 2025 -0500
JSATTR-6: SAML AttributeQuery DataConnector
Checkstyle fix missed earlier.
---
.../attribute/resolver/dc/saml/impl/SAMLDataConnector.java | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/shib-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/saml/impl/SAMLDataConnector.java b/shib-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/saml/impl/SAMLDataConnector.java
index 3c0da5324..e6a2a7a73 100644
--- a/shib-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/saml/impl/SAMLDataConnector.java
+++ b/shib-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/saml/impl/SAMLDataConnector.java
@@ -228,11 +228,11 @@ public class SAMLDataConnector extends AbstractSearchDataConnector<ExecutableQue
// Encryption on an AttributeQuery response probably isn't that common, so be efficient.
// Goal is to only build the Decrypter if/when needed, and only do it once
// for both Assertions and Assertion content.
- final DecryptionProcessor decryptProcessor = getDecryptionProcessor();
+ final DecryptionProcessor decryptionProcessor = getDecryptionProcessor();
Decrypter decrypter = null;
- if (decryptProcessor.haveEncryptedAssertions(response)) {
- decrypter = decryptProcessor.buildDecrypter(responseData);
- decryptProcessor.decryptAssertions(response, decrypter);
+ if (decryptionProcessor.haveEncryptedAssertions(response)) {
+ decrypter = decryptionProcessor.buildDecrypter(responseData);
+ decryptionProcessor.decryptAssertions(response, decrypter);
}
getAssertionValidationProcessor().validateAssertions(response, responseData.getSOAPClientContext());
@@ -241,11 +241,11 @@ public class SAMLDataConnector extends AbstractSearchDataConnector<ExecutableQue
throw new ResolutionException("SAML Response contained no valid Assertions");
}
- if (decryptProcessor.haveEncryptedContent(response)) {
+ if (decryptionProcessor.haveEncryptedContent(response)) {
if (decrypter == null) {
- decrypter = decryptProcessor.buildDecrypter(responseData);
+ decrypter = decryptionProcessor.buildDecrypter(responseData);
}
- decryptProcessor.decryptAssertionContent(response, decrypter);
+ decryptionProcessor.decryptAssertionContent(response, decrypter);
}
if (isSubjectMatch()) {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list