[java-plugin-shibd] branch dev/StateMgmtWIP updated: Remove old code that shortens the state token in the cookie case.
Codeberg
noreply at shibboleth.net
Thu Apr 30 14:48:58 UTC 2026
This is an automated email from the git hooks/post-receive script.
codeberg pushed a commit to branch dev/StateMgmtWIP
in repository java-plugin-shibd.
View the commit online:
https://codeberg.org/Shibboleth/java-plugin-shibd/commit/4be13a264ead6a25ba9ba0c68ecd3e73158faf65
The following commit(s) were added to refs/heads/dev/StateMgmtWIP by this push:
new 4be13a2 Remove old code that shortens the state token in the cookie case.
4be13a2 is described below
commit 4be13a264ead6a25ba9ba0c68ecd3e73158faf65
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Thu Apr 30 10:48:44 2026 -0400
Remove old code that shortens the state token in the cookie case.
---
.../java/net/shibboleth/sp/state/impl/CookieStateManager.java | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/sp-server-impl/src/main/java/net/shibboleth/sp/state/impl/CookieStateManager.java b/sp-server-impl/src/main/java/net/shibboleth/sp/state/impl/CookieStateManager.java
index 3735c75..5f22f61 100644
--- a/sp-server-impl/src/main/java/net/shibboleth/sp/state/impl/CookieStateManager.java
+++ b/sp-server-impl/src/main/java/net/shibboleth/sp/state/impl/CookieStateManager.java
@@ -94,16 +94,6 @@ public class CookieStateManager extends AbstractStateManager {
/** {@inheritDoc} */
@Override
protected void doInitialize() throws ComponentInitializationException {
-
- if (getIdentifierGenerationStrategy() == null) {
- final RandomIdentifierParameterSpec spec = new RandomIdentifierParameterSpec(null, 6, null);
- try {
- setIdentifierGenerationStrategy(IdentifierGenerationStrategy.getInstance(ProviderType.SECURE, spec));
- } catch (final InvalidAlgorithmParameterException | NoSuchAlgorithmException e) {
- throw new ComponentInitializationException(e);
- }
- }
-
super.doInitialize();
if (cookieManager == null) {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list