[java-oidc-common] 03/03: Removed deprecated security parameter handling classes.

Henri Mikkonen henri.mikkonen at iki.fi
Fri Sep 8 10:56:59 UTC 2023


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

hjmikkon pushed a commit to branch main
in repository java-oidc-common.

View the commit online:
http://git.shibboleth.net/view/?p=java-oidc-common.git;a=commit;h=0399f4aa7bec180f28f809e8ef00876d19545cfe

commit 0399f4aa7bec180f28f809e8ef00876d19545cfe
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Fri Sep 8 13:55:32 2023 +0300

    Removed deprecated security parameter handling classes.
---
 .../security/impl/OIDCDecryptionParameters.java    | 38 ------------------
 .../impl/OIDCSignatureValidationParameters.java    | 46 ----------------------
 2 files changed, 84 deletions(-)

diff --git a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/OIDCDecryptionParameters.java b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/OIDCDecryptionParameters.java
deleted file mode 100644
index 1f6d384..0000000
--- a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/OIDCDecryptionParameters.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package net.shibboleth.oidc.security.impl;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.opensaml.security.credential.Credential;
-import org.opensaml.xmlsec.EncryptionParameters;
-
-/** OIDC Decryption Parameters. Steals a bit EncryptionParameters as extending it for decryption purposes. */
- at Deprecated(since="2.2.0", forRemoval=true)
-public class OIDCDecryptionParameters extends EncryptionParameters {
-
-    /** The list of decryption credentials. */
-    private final List<Credential> keyTransportDecryptionCredentials = new ArrayList<>();
-
-    /**
-     * Get the list of decryption credentials.
-     * 
-     * @return he list of decryption credentials
-     */
-    public List<Credential> getKeyTransportDecryptionCredentials() {
-        return keyTransportDecryptionCredentials;
-    }
-}
diff --git a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/OIDCSignatureValidationParameters.java b/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/OIDCSignatureValidationParameters.java
deleted file mode 100644
index 5aba1a0..0000000
--- a/oidc-common-crypto-impl/src/main/java/net/shibboleth/oidc/security/impl/OIDCSignatureValidationParameters.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *    http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package net.shibboleth.oidc.security.impl;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import javax.annotation.Nonnull;
-
-import org.opensaml.xmlsec.SignatureSigningParameters;
-
-import net.shibboleth.oidc.security.credential.JWKCredential;
-
-/**
- * OIDC Signature Validation Parameters. Steals a bit SignatureSigningParameters as extending it also for validation
- * purposes.
- */
- at Deprecated(since="2.2.0", forRemoval=true)
-public class OIDCSignatureValidationParameters extends SignatureSigningParameters {
-
-    /** The list of validation credentials. */
-    @Nonnull
-    private final List<JWKCredential> validationCredentials = new ArrayList<>();
-
-    /**
-     * Get the list of validation credentials.
-     * 
-     * @return the list of validation credentials
-     */
-    @Nonnull
-    public List<JWKCredential> getValidationCredentials() {
-        return validationCredentials;
-    }
-}

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


More information about the commits mailing list