Package org.apache.felix.useradmin

Examples of org.apache.felix.useradmin.RoleRepositoryStore


    public RoleRepositoryStoreHelper(BundleContext context) {
        super(context, RoleRepositoryStore.class.getName(), null /* customizer */);
    }

    public Role addRole(String roleName, int type) throws Exception {
        RoleRepositoryStore store = getStore();
        if (store != null) {
            return store.addRole(roleName, type);
        }

        return null;
    }
View Full Code Here


        return null;
    }

    public Role[] getRoles(String filter) throws Exception {
        RoleRepositoryStore store = getStore();
        if (store != null) {
            return store.getRoles(filter);
        }

        return new Role[0];
    }
View Full Code Here

        return new Role[0];
    }

    public Role getRoleByName(String roleName) throws Exception {
        RoleRepositoryStore store = getStore();
        if (store != null) {
            return store.getRoleByName(roleName);
        }

        return null;
    }
View Full Code Here

        return null;
    }

    public Role removeRole(String roleName) throws Exception {
        // and possibly also from our tracked store...
        RoleRepositoryStore store = getStore();
        if (store != null) {
            return store.removeRole(roleName);
        }

        return null;
    }
View Full Code Here

TOP

Related Classes of org.apache.felix.useradmin.RoleRepositoryStore

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.