Polish HPKP
* Javadoc polish * Whitespace cleanup Issue gh-3706
This commit is contained in:
parent
a7b0f74803
commit
db81977a1a
|
@ -166,7 +166,6 @@ public final class SecurityNamespaceHandler implements NamespaceHandler {
|
|||
loadParsers();
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
private void loadParsers() {
|
||||
// Parsers
|
||||
parsers.put(Elements.LDAP_PROVIDER, new LdapProviderBeanDefinitionParser());
|
||||
|
|
|
@ -199,9 +199,11 @@ public final class HpkpHeaderWriter implements HeaderWriter {
|
|||
*
|
||||
* Use
|
||||
*
|
||||
* Map<String, String> pins = new HashMap<String, String>();
|
||||
* <code>
|
||||
* Map<String, String> pins = new HashMap<String, String>();
|
||||
* pins.put("d6qzRu9zOECb90Uez27xWltNsj0e1Md7GkYYkVoZWmM=", "sha256");
|
||||
* pins.put("E9CZ9INDbd+2eRQozYqqbQ2yXLVKB9+xcprMF+44U1g=", "sha256");
|
||||
* </code>
|
||||
* </p>
|
||||
*
|
||||
* @param pins the map of base64-encoded SPKI fingerprint & cryptographic hash algorithm pairs.
|
||||
|
|
Loading…
Reference in New Issue