mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-09 15:02:05 -03:30
Removed dead local stores
Closes #39698 Signed-off-by: Anchels <mishtitov@gmail.com>
This commit is contained in:
parent
5a04f4a07a
commit
d91688198c
@ -426,7 +426,7 @@ public class BaseSAML2BindingBuilder<T extends BaseSAML2BindingBuilder> {
|
||||
rawQuery = rawQuery.substring(pos + 1);
|
||||
}
|
||||
Signature signature = signatureAlgorithm.createSignature();
|
||||
byte[] sig = new byte[0];
|
||||
byte[] sig = null;
|
||||
try {
|
||||
signature.initSign(signingKeyPair.getPrivate());
|
||||
signature.update(rawQuery.getBytes(GeneralConstants.SAML_CHARSET));
|
||||
|
||||
@ -545,7 +545,7 @@ public class SAML11ParserUtil {
|
||||
if (xmlEvent instanceof EndElement) {
|
||||
tag = StaxParserUtil.getElementName((EndElement) xmlEvent);
|
||||
if (tag.equals(WSTrustConstants.XMLDSig.KEYINFO)) {
|
||||
xmlEvent = StaxParserUtil.getNextEndElement(xmlEventReader);
|
||||
StaxParserUtil.getNextEndElement(xmlEventReader);
|
||||
break;
|
||||
} else
|
||||
throw logger.parserUnknownEndElement(tag, xmlEvent.getLocation());
|
||||
@ -606,7 +606,7 @@ public class SAML11ParserUtil {
|
||||
if (xmlEvent instanceof EndElement) {
|
||||
tag = StaxParserUtil.getElementName((EndElement) xmlEvent);
|
||||
if (tag.equals(WSTrustConstants.XMLDSig.RSA_KEYVALUE)) {
|
||||
xmlEvent = StaxParserUtil.getNextEndElement(xmlEventReader);
|
||||
StaxParserUtil.getNextEndElement(xmlEventReader);
|
||||
break;
|
||||
} else
|
||||
throw logger.parserUnknownEndElement(tag, xmlEvent.getLocation());
|
||||
@ -805,4 +805,4 @@ public class SAML11ParserUtil {
|
||||
}
|
||||
return query;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -163,7 +163,7 @@ public class UriValidator extends AbstractSimpleValidator implements ConfiguredP
|
||||
// This cannot be moved higher because it acts on differently based on environment (e.g. sometimes it checks
|
||||
// scheme, sometimes it doesn't).
|
||||
if (requireValidUrl && valid) {
|
||||
URL ignored = uri.toURL(); // throws an exception
|
||||
uri.toURL(); // throws an exception
|
||||
}
|
||||
|
||||
return valid;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user