Skip to content

Commit a74e8af

Browse files
author
Andreas Winter
committed
Change order
1 parent 8569fd3 commit a74e8af

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

spring-ws-security/src/main/java/org/springframework/ws/soap/security/wss4j2/Wss4jSecurityInterceptor.java

+13-13
Original file line numberDiff line numberDiff line change
@@ -219,19 +219,6 @@ public Wss4jSecurityInterceptor(WSSecurityEngine securityEngine) {
219219
this.securityEngine = securityEngine;
220220
}
221221

222-
/**
223-
* Certificate constraints which will be applied to the subject DN of the certificate used for
224-
* signature validation, after trust verification of the certificate chain associated with the
225-
* certificate.
226-
*
227-
* @param patterns A list of regex patterns which will be applied to the subject DN.
228-
*
229-
* @see <a href="https://ws.apache.org/wss4j/config.html">WSS4J configuration: SIG_SUBJECT_CERT_CONSTRAINTS</a>
230-
*/
231-
public void setValidationSubjectDnConstraints(List<Pattern> patterns) {
232-
signatureSubjectDnPatterns = patterns;
233-
}
234-
235222
public void setSecurementActions(String securementActions) {
236223
this.securementActions = securementActions;
237224
}
@@ -516,6 +503,19 @@ public void setValidationSignatureCrypto(Crypto signatureCrypto) {
516503
this.validationSignatureCrypto = signatureCrypto;
517504
}
518505

506+
/**
507+
* Certificate constraints which will be applied to the subject DN of the certificate used for
508+
* signature validation, after trust verification of the certificate chain associated with the
509+
* certificate.
510+
*
511+
* @param patterns A list of regex patterns which will be applied to the subject DN.
512+
*
513+
* @see <a href="https://ws.apache.org/wss4j/config.html">WSS4J configuration: SIG_SUBJECT_CERT_CONSTRAINTS</a>
514+
*/
515+
public void setValidationSubjectDnConstraints(List<Pattern> patterns) {
516+
signatureSubjectDnPatterns = patterns;
517+
}
518+
519519
/** Whether to enable signatureConfirmation or not. By default signatureConfirmation is enabled */
520520
public void setEnableSignatureConfirmation(boolean enableSignatureConfirmation) {
521521

0 commit comments

Comments
 (0)