code: public List<SecurityPermission<Resourceadapter<T>>> getAllSecurityPermission()
     {
        List<SecurityPermission<Resourceadapter<T>>> list = new ArrayList<SecurityPermission<Resourceadapter<T>>>();
        List<Node> nodeList = childNode.get("security-permission");
        for(Node node: nodeList)
        {
           SecurityPermission<Resourceadapter<T>>  type = new SecurityPermissionImpl<Resourceadapter<T>>(this, "security-permission", childNode, node);
           list.add(type);
        }
        return list;
     }
docs: Returns all <code>security-permission</code> elements
  @return list of <code>security-permission</code>