Package org.apache.jackrabbit.oak.security.authorization

Examples of org.apache.jackrabbit.oak.security.authorization.AccessControlContextImpl


        LoginContext loginContext = loginContextProvider.getLoginContext(credentials, workspaceName);
        loginContext.login();

        // TODO make configurable
        AccessControlContext acContext = new AccessControlContextImpl();

        return new ContentSessionImpl(loginContext, workspaceName, nodeStore, queryEngine, acContext);
    }
View Full Code Here


            purgePendingChanges();
        }
    }

    CompiledPermissions getPermissions() {
        AccessControlContext context = new AccessControlContextImpl();
        context.initialize(subject.getPrincipals());
        return context.getPermissions();
    }
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.oak.security.authorization.AccessControlContextImpl

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.