public static List < Entry > globalPermissionSetStructure ( String permissionSet ) { Entry permissionSetEntry = namedObject ( permissionSet , SchemaConstants . ouGlobalPermissionSets ( ) ) ; Entry ouDirect = organizationalUnit ( "direct" , permissionSetEntry . getDn ( ) ) ; Entry ouChildrenSets = organizationalUnit ( "childrenSets" , permissionSetEntry . getDn ( ) ) ; Entry ouAttributes = organizationalUnit ( "attributes" , permissionSetEntry . getDn ( ) ) ; return Arrays . asList ( permissionSetEntry , ouAttributes , ouDirect , ouChildrenSets ) ; }
Returns a list of entries representing a permissionSet . The list should not be reordered since its order follows the tree structure of the DIT . It can be inserted into the DIT right away .