Package org.apache.isis.security.dflt.authentication

Examples of org.apache.isis.security.dflt.authentication.NoopAuthenticationManagerInstaller


    public AuthenticationManagerInstaller addAuthenticatorAnnotatedOn(final Class<?> javaClass) throws InstantiationException, IllegalAccessException {
        final Authenticator authenticatorAnnotation = javaClass.getAnnotation(Authenticator.class);
        if (authenticatorAnnotation != null) {
            return addAuthenticatorRepresentedBy(authenticatorAnnotation);
        } else {
            return new NoopAuthenticationManagerInstaller();
        }

    }
View Full Code Here


        final InstallerLookup installerLookup, final TestClass testClass) {
        super(deploymentType, installerLookup);
        this.testClass = testClass;

        setAuthenticationInstaller(getInstallerLookup()
            .injectDependenciesInto(new NoopAuthenticationManagerInstaller()));
        setAuthorizationInstaller(getInstallerLookup().injectDependenciesInto(new NoopAuthorizationManagerInstaller()));
        setPersistenceMechanismInstaller(getInstallerLookup().injectDependenciesInto(
            new InMemoryPersistenceMechanismInstallerWithinJunit()));
        setUserProfileStoreInstaller(getInstallerLookup().injectDependenciesInto(
            new InMemoryUserProfileStoreInstaller()));
View Full Code Here

TOP

Related Classes of org.apache.isis.security.dflt.authentication.NoopAuthenticationManagerInstaller

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.