Example usage for org.springframework.context MessageSourceAware interface-usage

List of usage examples for org.springframework.context MessageSourceAware interface-usage

Introduction

In this page you can find the example usage for org.springframework.context MessageSourceAware interface-usage.

Usage

From source file org.acegisecurity.ui.switchuser.SwitchUserProcessingFilter.java

/**
 * Switch User processing filter responsible for user context switching.<p>This filter is similar to Unix 'su'
 * however for Acegi-managed web applications.  A common use-case for this feature is the ability to allow
 * higher-authority users (i.e. ROLE_ADMIN) to switch to a regular user (i.e. ROLE_USER).</p>
 *  <p>This filter assumes that the user performing the switch will be required to be logged in as normal (i.e.
 * ROLE_ADMIN user). The user will then access a page/controller that enables the administrator to specify who they

From source file org.apereo.portal.security.xslt.XalanMessageHelperBean.java

@Service
public class XalanMessageHelperBean implements IXalanMessageHelper, MessageSourceAware {
    private MessageSource messageSource;

    @Override
    public void setMessageSource(MessageSource messageSource) {

From source file org.artifactory.security.ldap.ArtifactoryLdapAuthenticationProvider.java

/**
 * Custom LDAP authentication provider just for creating local users for newly ldap authenticated users.
 *
 * @author Yossi Shaul
 */
public class ArtifactoryLdapAuthenticationProvider implements RealmAwareAuthenticationProvider, MessageSourceAware {

From source file org.broadleafcommerce.core.web.api.BroadleafRestExceptionMapper.java

/**
 * This is a generic JAX-RS ExceptionMapper.  This can be registered as a Spring Bean to catch exceptions, log them, 
 * and return reasonable responses to the client.  Alternatively, you can extend this or implement your own, more granular, mapper(s). 
 * This class does not return internationalized messages. But for convenience, this class provides a protected 
 * Spring MessageSource to allow for internationalization if one chose to go that route.
 * 

From source file org.broadleafcommerce.core.web.api.jaxrs.JaxrsRestExceptionMapper.java

/**
 * JAXRS-compatible exception mapper
 *
 * @author Phillip Verheyden (phillipuniverse)
 * @deprecated along with the other JAXRS components, this is deprecated in favor of using Spring MVC for REST services
 */

From source file org.fao.geonet.kernel.security.ecas.ECasAuthenticationProvider.java

/**
 * An {@link AuthenticationProvider} implementation that integrates with JA-SIG
 * Central Authentication Service (CAS).
 * <p>
 * This <code>AuthenticationProvider</code> is capable of validating
 * {@link UsernamePasswordAuthenticationToken} requests which contain a

From source file org.mifos.application.importexport.xls.XlsClientsImporter.java

public class XlsClientsImporter implements MessageSourceAware {

    private static final Short CLIENT_NAME_TYPE = 3;
    private static final Short SPOUSE_NAME_TYPE = 1;
    private static final Short FATHER_NAME_TYPE = 2;

From source file org.mifos.application.master.MessageLookup.java

/**
 * This class looks up messages from tables like {@link LookUpValueEntity}, {@link LookUpValueLocaleEntity} and the
 * like.
 * <p>
 * The idea is that we'll be able to come up with a simpler mechanism than the rather convoluted one in
 * {@link LegacyMasterDao}, {@link MasterDataEntity}, etc. Or at least we can centralize where we call the convoluted

From source file org.sipfoundry.sipxconfig.security.DigestProcessingFilter.java

/**
 * Processes a HTTP request's Digest authorization headers, putting the result into the
 * <code>SecurityContextHolder</code>.<p>For a detailed background on what this filter is designed to process,
 * refer to <a href="http://www.ietf.org/rfc/rfc2617.txt">RFC 2617</a> (which superseded RFC 2069, although this
 * filter support clients that implement either RFC 2617 or RFC 2069).</p>
 * <p>This filter can be used to provide Digest authentication services to both remoting protocol clients (such as

From source file org.sparkcommerce.core.web.api.SparkRestExceptionMapper.java

/**
 * This is a generic JAX-RS ExceptionMapper.  This can be registered as a Spring Bean to catch exceptions, log them, 
 * and return reasonable responses to the client.  Alternatively, you can extend this or implement your own, more granular, mapper(s). 
 * This class does not return internationalized messages. But for convenience, this class provides a protected 
 * Spring MessageSource to allow for internationalization if one chose to go that route.
 *