Package org.exist.security.internal

Examples of org.exist.security.internal.GroupImpl


                    public void execute(final Map<String, Group> principalDb) throws ConfigurationException {
                       
                        if(name != null && !principalDb.containsKey(name)) {

                            //Group group = instantiateGroup(this, conf);
                            final GroupImpl group = new GroupImpl(r, conf);

                            getSecurityManager().addGroup(group.getId(), group);
                            principalDb.put(group.getName(), group);

                            //set collection
                            if(group.getId() > 0) {
                                ((AbstractPrincipal)group).setCollection(broker, collectionGroups);
                            }
                        }
                    }
                });
View Full Code Here


                final Integer id = conf.getPropertyInteger("id");
               
                if (id != null && !getSecurityManager().hasGroup(id)) {
                   
                    //G group = instantiateGroup(this, conf, true);
                    final GroupImpl group = new GroupImpl(this, conf);
                    group.removed = true;
                   
                    getSecurityManager().addGroup(group.getId(), group);
                }
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.exist.security.internal.GroupImpl

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.