Package de.innovationgate.webgate.api

Examples of de.innovationgate.webgate.api.WGACLEntryFlags$Flag


            if (aclEntry == null) {
                acl.createUserEntry(domain.getDefaultManager(), WGDatabase.ACCESSLEVEL_MANAGER);
            }
           
            // Modify flags to include role and store
            WGACLEntryFlags flags = acl.parseFlags(aclEntry);
            if (!flags.getRoles().contains(role.getName())) {
                flags.getRoles().add(role.getName());
            }
            aclEntry.setFlags(flags.toString());
            acl.save(aclEntry);
           
        }
        catch (WGAPIException e) {
           _log.error("Error assigning role '" + role.getName() + "' to default manager for database '" + db.getDbReference() + "'", e);
View Full Code Here

TOP

Related Classes of de.innovationgate.webgate.api.WGACLEntryFlags$Flag

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.