SEC-1880: Corrected error message when using both logout-success-url and success-handler-ref
This commit is contained in:
parent
ea56a98883
commit
448a42916d
|
@ -63,7 +63,7 @@ class LogoutBeanDefinitionParser implements BeanDefinitionParser {
|
|||
|
||||
if (StringUtils.hasText(successHandlerRef)) {
|
||||
if (StringUtils.hasText(logoutSuccessUrl)) {
|
||||
pc.getReaderContext().error("Use " + ATT_LOGOUT_URL + " or " + ATT_LOGOUT_HANDLER + ", but not both",
|
||||
pc.getReaderContext().error("Use " + ATT_LOGOUT_SUCCESS_URL + " or " + ATT_LOGOUT_HANDLER + ", but not both",
|
||||
pc.extractSource(element));
|
||||
}
|
||||
builder.addConstructorArgReference(successHandlerRef);
|
||||
|
|
Loading…
Reference in New Issue