Examples of ExplorationSession


Examples of org.apache.isis.core.runtime.authentication.exploration.ExplorationSession

        final IsisSessionFactoryDefault sessionFactory = new IsisSessionFactoryDefault(DeploymentType.EXPLORATION, configuration, mockSpecificationLoader, mockTemplateImageLoader, mockAuthenticationManager, mockAuthorizationManager, mockUserProfileLoader, mockPersistenceSessionFactory, mockContainer, servicesList, oidMarshaller);

        IsisContext.setConfiguration(sessionFactory.getConfiguration());
        IsisContextStatic.createRelaxedInstance(sessionFactory);
        IsisContextStatic.openSession(new ExplorationSession());

        builder = new ActionFieldBuilder(subviewSpec);

    }
View Full Code Here

Examples of org.apache.isis.runtime.authentication.standard.ExplorationSession

             logonFixture != null) {
            return new SimpleSession(logonFixture.getUsername(), logonFixture.getRoles());
        }

        if (deploymentType.isExploring()) {
            return new ExplorationSession();
        }

        return authenticationManager.authenticate(passwordAuthenticationRequest);
    }
View Full Code Here

Examples of org.apache.isis.runtimes.dflt.runtime.authentication.exploration.ExplorationSession

        final IsisSessionFactoryDefault sessionFactory = new IsisSessionFactoryDefault(DeploymentType.EXPLORATION, configuration, mockTemplateImageLoader, mockSpecificationLoader, mockAuthenticationManager, mockAuthorizationManager, mockUserProfileLoader, mockPersistenceSessionFactory, servicesList);

        IsisContext.setConfiguration(sessionFactory.getConfiguration());
        IsisContextStatic.createRelaxedInstance(sessionFactory);
        IsisContextStatic.openSession(new ExplorationSession());

        builder = new ActionFieldBuilder(subviewSpec);

    }
View Full Code Here

Examples of org.apache.isis.runtimes.dflt.runtime.authentication.exploration.ExplorationSession

        final IsisSessionFactory sessionFactory = new IsisSessionFactoryDefault(DeploymentType.EXPLORATION, new IsisConfigurationDefault(), mockTemplateImageLoader, mockSpecificationLoader, mockAuthenticationManager, mockAuthorizationManager, mockUserProfileLoader, mockPersistenceSessionFactory,
                servicesList);
        sessionFactory.init();
        IsisContextStatic.createRelaxedInstance(sessionFactory);

        IsisContext.openSession(new ExplorationSession());

        notifier = new ExposedViewUpdateNotifier();

        object = new TestProxyAdapter();
    }
View Full Code Here

Examples of org.apache.isis.runtimes.dflt.runtime.authentication.exploration.ExplorationSession

                mockTemplateImageLoader, mockSpecificationLoader, mockAuthenticationManager, mockAuthorizationManager,
                mockUserProfileLoader, mockPersistenceSessionFactory, servicesList);
        sessionFactory.init();
        IsisContextStatic.createRelaxedInstance(sessionFactory);

        IsisContext.openSession(new ExplorationSession());

        notifier = new ExposedViewUpdateNotifier();

        object = new TestProxyAdapter();
    }
View Full Code Here

Examples of org.apache.isis.runtimes.dflt.runtime.authentication.exploration.ExplorationSession

                mockSpecificationLoader, mockAuthenticationManager, mockAuthorizationManager, mockUserProfileLoader,
                mockPersistenceSessionFactory, servicesList);

        IsisContext.setConfiguration(sessionFactory.getConfiguration());
        IsisContextStatic.createRelaxedInstance(sessionFactory);
        IsisContextStatic.openSession(new ExplorationSession());

        builder = new ActionFieldBuilder(subviewSpec);

    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.