Package be.c4j.ee.security.config

Examples of be.c4j.ee.security.config.OctopusConfig


        if (unauthorized instanceof OctopusUnauthorizedException) {

            externalContext.getFlash().putNow("interceptionInfo", ((OctopusUnauthorizedException) unauthorized ) .getExceptionPointInfo());
        }
        try {
            OctopusConfig config = CodiUtils.getContextualReferenceByClass(OctopusConfig.class);
            externalContext.redirect(externalContext.getRequestContextPath() + config.getUnauthorizedExceptionPage());

        } catch (IOException e) {
            LOGGER.error("Redirect to unauthorized page failed", e);
        }
        facesContext.renderResponse();
View Full Code Here

TOP

Related Classes of be.c4j.ee.security.config.OctopusConfig

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.