public class SubjectDNConstraintsInterceptor
extends org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
Constructor and Description |
---|
SubjectDNConstraintsInterceptor() |
Modifier and Type | Method and Description |
---|---|
void |
handleMessage(org.apache.cxf.message.Message message)
Checks if the provided certificate matches the regular expression defined in the Subject DN
Certificate Constraints.
|
protected boolean |
matches(X509Certificate cert,
Collection<Pattern> subjectDNPatterns)
Checks the certificate against the list of regular expressions given.
|
public void handleMessage(org.apache.cxf.message.Message message) throws org.apache.cxf.interceptor.Fault
message
- org.apache.cxf.interceptor.Fault
protected boolean matches(X509Certificate cert, Collection<Pattern> subjectDNPatterns)
cert
- subjectDNPatterns
- This work is licensed under a Creative Commons Attribution 4.0 International License.