use of org.springframework.context.support.MessageSourceAccessor in project spring-security by spring-projects.
the class ExceptionTranslationFilter method setMessageSource.
/**
* @since 5.5
*/
@Override
public void setMessageSource(MessageSource messageSource) {
Assert.notNull(messageSource, "messageSource cannot be null");
this.messages = new MessageSourceAccessor(messageSource);
}
use of org.springframework.context.support.MessageSourceAccessor in project spring-security by spring-projects.
the class ConcurrentSessionControlAuthenticationStrategy method setMessageSource.
/**
* Sets the {@link MessageSource} used for reporting errors back to the user when the
* user has exceeded the maximum number of authentications.
*/
@Override
public void setMessageSource(MessageSource messageSource) {
Assert.notNull(messageSource, "messageSource cannot be null");
this.messages = new MessageSourceAccessor(messageSource);
}
use of org.springframework.context.support.MessageSourceAccessor in project spring-security by spring-projects.
the class AbstractRememberMeServices method setMessageSource.
/**
* @since 5.5
*/
@Override
public void setMessageSource(MessageSource messageSource) {
Assert.notNull(messageSource, "messageSource cannot be null");
this.messages = new MessageSourceAccessor(messageSource);
}
Aggregations