SEC-1880: Corrected error message when using both logout-success-url and success-handler-ref

This commit is contained in:
Rob Winch 2011-12-30 11:31:24 -06:00
parent ea56a98883
commit 448a42916d
1 changed files with 1 additions and 1 deletions

View File

@ -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);