Package org.openengsb.core.services.internal.security.model

Examples of org.openengsb.core.services.internal.security.model.ShiroContext


        ruleManager = mock(RuleManager.class);
        context.putBean("ruleManager", ruleManager);
    }

    protected void mockAuthentication() throws UserNotFoundException, UserExistsException {
        context.putBean("authenticationContext", new ShiroContext());
        authConnector = new UsernamePasswordServiceImpl();
        authConnector.setUserManager(userManager);
        context.putBean("authenticator", authConnector);

        WicketAclServiceImpl wicketAclServiceImpl = new WicketAclServiceImpl();
View Full Code Here


        factory.setFilters(Arrays.asList(
            EncryptedJsonMessageMarshaller.class,
            cipherFactory,
            JsonSecureRequestMarshallerFilter.class,
            MessageVerifierFilter.class,
            new MessageAuthenticatorFilterFactory(new DefaultOsgiUtilsService(bundleContext), new ShiroContext()),
            new RequestMapperFilter(handler)));
        FilterChain secureChain = factory.create();
        return secureChain;
    }
View Full Code Here

            new FilterChainFactory<MethodCallMessage, MethodResultMessage>(MethodCallMessage.class,
                MethodResultMessage.class);
        List<Object> filterFactories = new LinkedList<Object>();
        filterFactories.add(MessageVerifierFilter.class);
        filterFactories.add(new MessageAuthenticatorFilterFactory(new DefaultOsgiUtilsService(bundleContext),
                new ShiroContext()));
        filterFactories.add(new RequestMapperFilter(requestHandler));
        factory.setFilters(filterFactories);
        factory.create();

        filterTop = factory;
View Full Code Here

TOP

Related Classes of org.openengsb.core.services.internal.security.model.ShiroContext

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.