The ISecurityObjectManager interface provides all necessary methods. You must manage the security objects in the system with the ISecurityObjectManager interface. Refer to its Java™ document for details about this interface.
BasicElementFactory factory = new //using xml DAO BasicElementFactory("jar:///file/test/branch001.xml"); //using database DAO //BasicElementFactory("jar:///config/branch001_db.xml"); ISecurityObjectManager securityObjectManager = ((BTTSecurityManager)securitymanager).getSecurityObjectManager(); // use securityObjectManager … securityObjectManager.addRight(“right01”); securityObjectManager.addService(“service01”); securityObjectManager.getAllUsers();
You can also use this interface on the client side on BTT Service Connector. Using the interface on the client side is the same as using it on the server side.