All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.mule.module.acegi.i18n.AcegiMessages Maven / Gradle / Ivy

Go to download

Mule Acegi Support exposes Acegi Authentication providers and Method interceptors to authentication event traffic via endpoints and method level authorisation on components.

There is a newer version: 3.1.2
Show newest version
/*
 * $Id: AcegiMessages.java 19191 2010-08-25 21:05:23Z tcarlson $
 * --------------------------------------------------------------------------------------
 * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 *
 * The software in this package is published under the terms of the CPAL v1.0
 * license, a copy of which has been included with this distribution in the
 * LICENSE.txt file.
 */

package org.mule.module.acegi.i18n;

import org.mule.config.i18n.Message;
import org.mule.config.i18n.MessageFactory;

public class AcegiMessages extends MessageFactory
{
    private static final AcegiMessages factory = new AcegiMessages();
    
    private static final String BUNDLE_PATH = getBundlePath("acegi");

    public static Message basicFilterCannotHandleHeader(String header)
    {
        return factory.createMessage(BUNDLE_PATH, 1, header);
    }

    public static Message authRealmMustBeSetOnFilter()
    {
        return factory.createMessage(BUNDLE_PATH, 2);
    }
}






© 2015 - 2024 Weber Informatics LLC | Privacy Policy