P getParameters(Key key, Class<
} else if (key instanceof RSAKey && paramSpecClass.isAssignableFrom(RSAParameterSpec.class)) {
return paramSpecClass.cast(new RSAParameterSpec((RSAKey) key));
} else if (key instanceof DSAKey && paramSpecClass.isAssignableFrom(DSAParams.class)) {
- return paramSpecClass.cast(((DSAKey) key).getParams());
+ final DSAKey dsaKey = (DSAKey) key;
+ final DSAParams dsaParams = dsaKey.getParams();
+ return paramSpecClass.cast(new DSAParameterSpec(dsaParams.getP(), dsaParams.getQ(), dsaParams.getG()));
} else if (key instanceof ECKey && paramSpecClass.isAssignableFrom(ECParameterSpec.class)) {
return paramSpecClass.cast(((ECKey) key).getParams());
} else if (key instanceof DHKey && paramSpecClass.isAssignableFrom(DHParameterSpec.class)) {
diff --git a/credential/source/deprecated/pom.xml b/credential/source/deprecated/pom.xml
index 8f6938ab3fa..2c91de751de 100644
--- a/credential/source/deprecated/pom.xml
+++ b/credential/source/deprecated/pom.xml
@@ -24,7 +24,7 @@
The single sign-one capabilities provided by this factory is based on a HTTP Cookie to track SSO sessions and also an {@link IdentityCache} providing
* a storage (eg.: using a shared or distributable cache/map) for these sessions and related data.
*
+ * @deprecated Only inner class SingleSignOnConfiguration is deprecated.
* @author Pedro Igor
* @author Paul Ferraro
*/
diff --git a/http/stateful-basic/pom.xml b/http/stateful-basic/pom.xml
index 7844474a2cf..ff8fd8a810b 100644
--- a/http/stateful-basic/pom.xml
+++ b/http/stateful-basic/pom.xml
@@ -24,7 +24,7 @@