Example usage for org.apache.shiro.web.env EnvironmentLoaderListener subclass-usage

List of usage examples for org.apache.shiro.web.env EnvironmentLoaderListener subclass-usage

Introduction

In this page you can find the example usage for org.apache.shiro.web.env EnvironmentLoaderListener subclass-usage.

Usage

From source file com.freedomotic.plugins.devices.restapiv3.auth.ShiroListener.java

@WebListener
public class ShiroListener extends EnvironmentLoaderListener implements ServletContextListener {

    @Override
    public void contextInitialized(ServletContextEvent sce) {
        sce.getServletContext().setInitParameter(ENVIRONMENT_CLASS_PARAM, FDWebEnvironment.class.getName());

From source file com.github.mizool.technology.web.shiro.AbstractEnvironmentLoaderListener.java

public abstract class AbstractEnvironmentLoaderListener extends EnvironmentLoaderListener {
    protected abstract List<Realm> getRealms();

    protected abstract Authorizer getAuthorizer();

    @Override

From source file com.josue.kingdom.security.CustomEnvironmentLoaderListener.java

public class CustomEnvironmentLoaderListener extends EnvironmentLoaderListener {

    private static final Logger LOG = Logger.getLogger(CustomEnvironmentLoaderListener.class.getName());

    @Inject
    private ApplicationlRealm apiCredentialJPARealm;

From source file com.josue.shiro.cdi.custom.CustomEnvironmentLoaderListener.java

public class CustomEnvironmentLoaderListener extends EnvironmentLoaderListener {

    @Inject
    private CDIAwareJPARealm jpaRealm;

    //http://stackoverflow.com/questions/15605038/unable-to-inject-my-dao-in-a-custom-apache-shiro-authorizingrealm

From source file com.stormpath.shiro.servlet.env.StormpathShiroEnvironmentLoaderListener.java

/**
 * Bootstrap listener to startup and shutdown the web application's Shiro
 * {@link WebEnvironment} at ServletContext startup and shutdown respectively.  This class exists only to
 * implement the {@link ServletContextListener} interface. All 'real' logic is done in the parent
 * {@link EnvironmentLoader} class.
 * <h2>Usage</h2>

From source file de.fatalix.app.bl.authentication.CDIAwareShiroEnvironmentLoader.java

/**
 *
 * @author felix.husse
 */
public class CDIAwareShiroEnvironmentLoader extends EnvironmentLoaderListener {
    private final static String HASHING_ALGORITHM = "SHA-512";

From source file de.fatalix.bookery.bl.authentication.CDIAwareShiroEnvironmentLoader.java

/**
 *
 * @author felix.husse
 */
public class CDIAwareShiroEnvironmentLoader extends EnvironmentLoaderListener {
    private final static String HASHING_ALGORITHM = "SHA-512";

From source file edu.usu.sdl.openstorefront.web.init.ShiroLoader.java

/**
 * Allows for the config to init before it's loaded.
 *
 * @author dshurtleff
 */
public class ShiroLoader extends EnvironmentLoaderListener {

From source file myStuff.rest.shiro.ShiroListener.java

@WebListener
public class ShiroListener extends EnvironmentLoaderListener implements ServletContextListener {

    @Override
    public void contextInitialized(ServletContextEvent sce) {
        sce.getServletContext().setInitParameter(ENVIRONMENT_CLASS_PARAM, ShiroEnvironment.class.getName());

From source file org.pepstock.jem.gwt.server.listeners.StartUp.java

/**
 * Context listener which starts up JEM web application, initializing Log4j,
 * SharedObject and Hazelcast.<br>
 * Extends SHIRO startup, reading the context attribute
 * <code>hazelcast.config</code> which contains the configuration file to start
 * Hazelcast.