Package org.apache.jackrabbit.oak.security.user

Examples of org.apache.jackrabbit.oak.security.user.UserConfigurationImpl


        return new PrivilegeConfigurationImpl();
    }

    @Nonnull
    private UserConfiguration getUserConfiguration() {
        return new UserConfigurationImpl(this);
    }
View Full Code Here


            };
        }

        public <T> T getConfiguration(Class<T> configClass) {
            if (UserConfiguration.class == configClass) {
                return (T) new UserConfigurationImpl(this) {
                    @Nonnull
                    @Override
                    public ConfigurationParameters getParameters() {
                        Map<String, AuthorizableActionProvider> m = Collections.singletonMap(UserConstants.PARAM_AUTHORIZABLE_ACTION_PROVIDER, actionProvider);
                        return ConfigurationParameters.newInstance(super.getParameters(), new ConfigurationParameters(m));
View Full Code Here

        return new PrivilegeConfigurationImpl();
    }

    @Nonnull
    private UserConfiguration getUserConfiguration() {
        return new UserConfigurationImpl(this);
    }
View Full Code Here

        checkNotNull(configuration);
        this.configuration = configuration;

        authenticationConfiguration = new AuthenticationConfigurationImpl(this);
        authorizationConfiguration = new AuthorizationConfigurationImpl(this);
        userConfiguration = new UserConfigurationImpl(this);
        principalConfiguration = new PrincipalConfigurationImpl(this);
        privilegeConfiguration = new PrivilegeConfigurationImpl();
        tokenConfiguration = new TokenConfigurationImpl(this);
    }
View Full Code Here

        return new PrivilegeConfigurationImpl();
    }

    @Nonnull
    private UserConfiguration getUserConfiguration() {
        return new UserConfigurationImpl(this);
    }
View Full Code Here

            this.actions = new AuthorizableAction[]{pwAction, testAction};
        }

        public <T> T getConfiguration(Class<T> configClass) {
            if (UserConfiguration.class == configClass) {
                return (T) new UserConfigurationImpl(this) {
                    @Nonnull
                    @Override
                    public AuthorizableActionProvider getAuthorizableActionProvider() {
                        return new AuthorizableActionProvider() {
                            @Override
View Full Code Here

    public SecurityProviderImpl(ConfigurationParameters configuration) {
        this.configuration = configuration;

        authenticationConfiguration = new AuthenticationConfigurationImpl(this);
        authorizationConfiguration = new AuthorizationConfigurationImpl(this);
        userConfiguration = new UserConfigurationImpl(this);
        principalConfiguration = new PrincipalConfigurationImpl(this);
        privilegeConfiguration = new PrivilegeConfigurationImpl();
        tokenConfiguration = new TokenConfigurationImpl(this);
    }
View Full Code Here

        checkNotNull(configuration);
        this.configuration = configuration;

        authenticationConfiguration = new AuthenticationConfigurationImpl(this);
        authorizationConfiguration = new AuthorizationConfigurationImpl(this);
        userConfiguration = new UserConfigurationImpl(this);
        compositePrincipalConfiguration.addConfiguration(new PrincipalConfigurationImpl(this));
        privilegeConfiguration = new PrivilegeConfigurationImpl();
        compositeTokenConfiguration.addConfiguration(new TokenConfigurationImpl(this));
    }
View Full Code Here

        checkNotNull(configuration);
        this.configuration = configuration;

        authenticationConfiguration = new AuthenticationConfigurationImpl(this);
        authorizationConfiguration = new AuthorizationConfigurationImpl(this);
        userConfiguration = new UserConfigurationImpl(this);
        privilegeConfiguration = new PrivilegeConfigurationImpl();

        principalConfiguration.setDefaultConfig(new PrincipalConfigurationImpl(this));
        tokenConfiguration.setDefaultConfig(new TokenConfigurationImpl(this));
    }
View Full Code Here

        checkNotNull(configuration);
        this.configuration = configuration;

        authenticationConfiguration = new AuthenticationConfigurationImpl(this);
        authorizationConfiguration = new AuthorizationConfigurationImpl(this);
        userConfiguration = new UserConfigurationImpl(this);
        privilegeConfiguration = new PrivilegeConfigurationImpl();

        principalConfiguration.setDefaultConfig(new PrincipalConfigurationImpl(this));
        tokenConfiguration.setDefaultConfig(new TokenConfigurationImpl(this));
    }
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.oak.security.user.UserConfigurationImpl

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.