Package org.apache.myfaces.extensions.cdi.core.api.security

Examples of org.apache.myfaces.extensions.cdi.core.api.security.AccessDecisionVoterContext


    /**
     * {@inheritDoc}
     */
    public Object execute(InvocationContext invocationContext) throws Exception
    {
        AccessDecisionVoterContext voterContext =
                CodiUtils.getContextualReferenceByClass(beanManager, AccessDecisionVoterContext.class, true);

        Secured secured = null;

        List<Annotation> annotatedTypeMetadata = extractMetadata(invocationContext);
View Full Code Here


            if(entry != null)
            {
                lazyInit();

                AccessDecisionVoterContext voterContext =
                        CodiUtils.getContextualReferenceByClass(beanManager, AccessDecisionVoterContext.class, true);

                Class<? extends ViewConfig> errorView = null;

                if(entry instanceof EditableViewConfigDescriptor)
View Full Code Here

        try
        {
            Class<? extends ViewConfig> errorView = null;

            AccessDecisionVoterContext voterContext =
                    CodiUtils.getContextualReferenceByClass(beanManager, AccessDecisionVoterContext.class, true);

            if(entry instanceof EditableViewConfigDescriptor)
            {
                errorView = ((EditableViewConfigDescriptor)entry).getErrorView();
View Full Code Here

        return processCreatedConversation(conversation, configuration.isStartConversationEventEnabled());
    }

    private ViewAccessConversationExpirationEvaluator createAndRegisterViewAccessConversationEvaluator()
    {
        AccessDecisionVoterContext accessDecisionVoterContext =
                CodiUtils.getContextualReferenceByClass(beanManager, AccessDecisionVoterContext.class, true);

        ViewAccessConversationExpirationEvaluator evaluator =
                new ViewAccessConversationExpirationEvaluator(accessDecisionVoterContext);
View Full Code Here

        if(accessDecisionVoters == null)
        {
            return;
        }

        AccessDecisionVoterContext voterContext =
                CodiUtils.getContextualReferenceByClass(beanManager, AccessDecisionVoterContext.class, true);

        AccessDecisionState voterState = AccessDecisionState.VOTE_IN_PROGRESS;
        try
        {
View Full Code Here

        if(accessDecisionVoters == null)
        {
            return;
        }

        AccessDecisionVoterContext voterContext =
                CodiUtils.getContextualReferenceByClass(beanManager, AccessDecisionVoterContext.class, true);

        AccessDecisionState voterState = AccessDecisionState.VOTE_IN_PROGRESS;
        try
        {
View Full Code Here

        return processCreatedConversation(conversation, configuration.isStartConversationEventEnabled());
    }

    private ViewAccessConversationExpirationEvaluator createAndRegisterViewAccessConversationEvaluator()
    {
        AccessDecisionVoterContext accessDecisionVoterContext =
                CodiUtils.getContextualReferenceByClass(beanManager, AccessDecisionVoterContext.class, true);

        ViewAccessConversationExpirationEvaluator evaluator =
                new ViewAccessConversationExpirationEvaluator(accessDecisionVoterContext);
View Full Code Here

        return evaluator;
    }

    private RestConversationExpirationEvaluator createAndRegisterRestConversationEvaluator()
    {
        AccessDecisionVoterContext accessDecisionVoterContext =
                CodiUtils.getContextualReferenceByClass(beanManager, AccessDecisionVoterContext.class, true);

        RestConversationExpirationEvaluator evaluator =
                new RestConversationExpirationEvaluator(beanManager, accessDecisionVoterContext);
View Full Code Here

            if(entry != null)
            {
                lazyInit();

                AccessDecisionVoterContext voterContext =
                        CodiUtils.getContextualReferenceByClass(beanManager, AccessDecisionVoterContext.class, true);

                Class<? extends ViewConfig> errorView = null;

                if(entry instanceof EditableViewConfigDescriptor)
View Full Code Here

TOP

Related Classes of org.apache.myfaces.extensions.cdi.core.api.security.AccessDecisionVoterContext

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.